527 |
*only* works if it is supported by the OPTFILE that |
*only* works if it is supported by the OPTFILE that |
528 |
is being used. |
is being used. |
529 |
|
|
530 |
|
-ts | --ts |
531 |
|
Produce timing information per timestep |
532 |
|
|
533 |
-mpi | --mpi |
-mpi | --mpi |
534 |
Include MPI header files and link to MPI libraries |
Include MPI header files and link to MPI libraries |
535 |
-mpi=PATH | --mpi=PATH |
-mpi=PATH | --mpi=PATH |
837 |
NOOPTFLAGS= |
NOOPTFLAGS= |
838 |
MPI= |
MPI= |
839 |
MPIPATH= |
MPIPATH= |
840 |
|
TS= |
841 |
|
|
842 |
# DEFINES checked by test compilation or command-line |
# DEFINES checked by test compilation or command-line |
843 |
HAVE_SYSTEM= |
HAVE_SYSTEM= |
893 |
|
|
894 |
# The following state can be set directly by command-line switches |
# The following state can be set directly by command-line switches |
895 |
gm_s1="OPTFILE PDEPEND PDEFAULT MAKEFILE PLATFORM ROOTDIR MODS DISABLE ENABLE" |
gm_s1="OPTFILE PDEPEND PDEFAULT MAKEFILE PLATFORM ROOTDIR MODS DISABLE ENABLE" |
896 |
gm_s2="FC CPP IEEE MPI JAM DUMPSTATE STANDARDDIRS" |
gm_s2="FC CPP IEEE TS MPI JAM DUMPSTATE STANDARDDIRS" |
897 |
|
|
898 |
# The following state is not directly set by command-line switches |
# The following state is not directly set by command-line switches |
899 |
gm_s3="LN S64 KPP LINK PACKAGES MAKEDEPEND PDEPEND PDEFAULT INCLUDES FFLAGS FOPTIM " |
gm_s3="LN S64 KPP LINK PACKAGES MAKEDEPEND PDEPEND PDEFAULT INCLUDES FFLAGS FOPTIM " |
1073 |
-noieee | --noieee) |
-noieee | --noieee) |
1074 |
IEEE= ;; |
IEEE= ;; |
1075 |
|
|
1076 |
|
-ts | --ts) |
1077 |
|
TS=true ;; |
1078 |
|
|
1079 |
-mpi | --mpi) |
-mpi | --mpi) |
1080 |
MPI=true ;; |
MPI=true ;; |
1081 |
-mpi=* | --mpi=*) |
-mpi=* | --mpi=*) |
1311 |
DEFINES="$DEFINES -DALLOW_USE_MPI -DALWAYS_USE_MPI" |
DEFINES="$DEFINES -DALLOW_USE_MPI -DALWAYS_USE_MPI" |
1312 |
fi |
fi |
1313 |
|
|
1314 |
|
if test ! "x$TS" = x ; then |
1315 |
|
echo " Turning on timing per timestep" |
1316 |
|
DEFINES="$DEFINES -DTIME_PER_TIMESTEP" |
1317 |
|
fi |
1318 |
|
|
1319 |
printf "\n=== Checking system libraries ===\n" |
printf "\n=== Checking system libraries ===\n" |
1320 |
printf " Do we have the system() command using $FC... " |
printf " Do we have the system() command using $FC... " |
1321 |
cat > genmake_tcomp.$FS <<EOF |
cat > genmake_tcomp.$FS <<EOF |