diff options
-rw-r--r-- | lib/make/known-architectures/unicosmp | 65 | ||||
-rw-r--r-- | lib/make/known-architectures/unicosmp2.3.X | 12 |
2 files changed, 77 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 + diff --git a/lib/make/known-architectures/unicosmp2.3.X b/lib/make/known-architectures/unicosmp2.3.X new file mode 100644 index 00000000..38d2c285 --- /dev/null +++ b/lib/make/known-architectures/unicosmp2.3.X @@ -0,0 +1,12 @@ +#! /bin/sh +# /*@@ +# @file unicosmk2.0.5.X +# @date Wed Apr 12 12:38:45 2000 +# @author Tom Goodale +# @desc +# +# @enddesc +# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/unicosmp2.3.X,v 1.1 2004-01-20 01:48:58 jshalf Exp $ +# @@*/ + +. $srcdir/known-architectures/unicosmp |