5 |
# |
# |
6 |
# jmc: copied from linux_ia32_ifort+authors_v9 |
# jmc: copied from linux_ia32_ifort+authors_v9 |
7 |
# and added openmp stuff to run multi-threaded |
# and added openmp stuff to run multi-threaded |
8 |
# ( generally, need to increase the stack-size: > export KMP_STACKSIZE=400m ) |
# to run, needs to set environment var. OMP_NUM_THREADS |
9 |
|
# and generally, needs to increase the stack-size: |
10 |
|
# - sh,bash: |
11 |
|
# > export OMP_NUM_THREADS=2 |
12 |
|
# > export KMP_STACKSIZE=400m |
13 |
|
# - csh,tcsh: |
14 |
|
# > setenv OMP_NUM_THREADS 2 |
15 |
|
# > setenv KMP_STACKSIZE 400m |
16 |
|
#------- |
17 |
# |
# |
18 |
# tested on hugo (FC.4), eddy (FC.5): 20060713 |
# tested on hugo (FC.4), eddy (FC.5): 20060713 |
19 |
# |
# |
37 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
38 |
F90FLAGS='-r8 -i4 -w95 -W0 -WB -openmp -convert big_endian -assume byterecl' |
F90FLAGS='-r8 -i4 -w95 -W0 -WB -openmp -convert big_endian -assume byterecl' |
39 |
else |
else |
40 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0 -noalign -check all' |
41 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -xN -pc64 -convert big_endian -assume byterecl' |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -xN -pc64 -convert big_endian -assume byterecl' |
42 |
#FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
#FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
43 |
fi |
fi |