summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/unicosmp
diff options
context:
space:
mode:
authorjshalf <jshalf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-01-20 01:48:58 +0000
committerjshalf <jshalf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-01-20 01:48:58 +0000
commit0371cb5c2cbcd04fd2ba50bf5cadca1988c1a91e (patch)
tree4cc1a3825756ae6524a1fec7a3e99dda8655b262 /lib/make/known-architectures/unicosmp
parent99a93c3ddde01a2c3d14c8ad3086c043dd9d54fe (diff)
unicosmp is the os for the Cray X1.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3538 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/unicosmp')
-rw-r--r--lib/make/known-architectures/unicosmp65
1 files changed, 65 insertions, 0 deletions
diff --git a/lib/make/known-architectures/unicosmp b/lib/make/known-architectures/unicosmp
new file mode 100644
index 00000000..c6bd0a48
--- /dev/null
+++ b/lib/make/known-architectures/unicosmp
@@ -0,0 +1,65 @@
+#! /bin/sh
+# /*@@
+# @file unicos
+# @date Thu Feb 25 09:53:22 1999
+# @author Tom Goodale
+# @desc
+#
+# @enddesc
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/unicosmp,v 1.1 2004-01-20 01:48:58 jshalf Exp $
+# @@*/
+
+if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then
+
+:
+
+else
+
+ F90="ftn"
+ F77="ftn"
+ CFLAGS=""
+ CXXFLAGS=""
+ C_OPTIMISE_FLAGS="-O3"
+ CXX_OPTIMISE_FLAGS="-O3"
+ F90_OPTIMISE_FLAGS="-O 3"
+ F77_OPTIMISE_FLAGS="-O 3"
+ C_DEBUG_FLAGS="-g"
+ CXX_DEBUG_FLAGS="-g"
+ F77_DEBUG_FLAGS="-g"
+ F90_DEBUG_FLAGS="-g"
+# C_WARN_FLAGS="-h msglevel_0"
+# CXX_WARN_FLAGS="-h msglevel_0"
+ F77_WARN_FLAGS=" "
+ F90_WARN_FLAGS=" "
+
+ # The T3E F90 compiler uses -b if you want to supply a name for a .o file.
+ # : ${FCOMPILEONLY="-b"}
+
+ # The T3E fortran compiler puts module info in .o files by default.
+ # : ${F90FLAGS="-dp -em"}
+
+ # CCTK_WriteLine cctk_Archdefs.h '/* T3E stuff */'
+ # CCTK_WriteLine cctk_Archdefs.h "#define T3E 1"
+
+# Cache stuff
+ if test -z "$CACHELINE_BYTES" ; then
+ CACHELINE_BYTES=16
+ echo "Setting CACHELINE_BYTES to $CACHELINE_BYTES"
+ fi
+
+ if test -z "$CACHE_SIZE" ; then
+ CACHE_SIZE="512*1024"
+ echo "Setting CACHE_SIZE to $CACHE_SIZE bytes"
+ fi
+
+# MPI stuff
+
+ if test -n "$MPI" ; then
+# Don't need to set anything for compiling with native MPI on the T3E
+# We just set NATIVE_MPI_LIBS to non-null so that it passes the
+# check in lib/make/extras/MPI/NATIVE.
+ NATIVE_MPI_LIBS=" "
+ fi
+
+fi
+