blob: c6bd0a4873435383ae6b85e01f806f060126857f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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
|