1 |
#!/bin/bash |
#!/bin/bash |
2 |
# |
# |
3 |
|
# $Header$ |
4 |
|
# $Name$ |
5 |
|
|
6 |
# fimm.bccs.uib.no |
# fimm.bccs.uib.no |
7 |
# http://www.parallab.uib.no/resources/cluster/nodemem |
# http://www.parallab.uib.no/resources/cluster/nodemem |
8 |
|
|
9 |
|
FC=ifort |
10 |
|
|
11 |
|
DEFINES='-DWORDLENGTH=4' |
12 |
CPP='/lib/cpp -traditional -P' |
CPP='/lib/cpp -traditional -P' |
13 |
|
EXTENDED_SRC_FLAG='-132' |
14 |
|
|
15 |
|
INCLUDEDIRS='/opt/mpich/intel/include' |
16 |
|
INCLUDES='-I/opt/mpich/intel/include -I/local/netcdf-3.6.0-p1/include' |
17 |
|
LIBS='-L/opt/mpich/intel/lib -L/local/netcdf-3.6.0-p1/lib -lnetcdf' |
18 |
|
|
19 |
# Note that the -mp switch is for ieee "maintain precision" and is |
# Note that the -mp switch is for ieee "maintain precision" and is |
20 |
# roughly equivalent to -ieee |
# roughly equivalent to -ieee |
21 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
FFLAGS="$FFLAGS -mp -w95 -W0 -WB -convert big_endian -assume byterecl" |
22 |
|
#- might want to use '-r8' for fizhi pkg: |
23 |
|
#FFLAGS="$FFLAGS -r8" |
24 |
|
|
25 |
FOPTIM='-O3 -align' |
FOPTIM='-O3 -align' |
|
LIBS='-L/opt/mpich/intel/lib -L/local/netcdf-3.6.0-p1/lib -lnetcdf' |
|
|
|
|
|
FC=ifort |
|
26 |
|
|
|
DEFINES='-DWORDLENGTH=4' |
|
|
|
|
|
INCLUDES='-I/opt/mpich/intel/include -I/local/netcdf-3.6.0-p1/include' |
|
|
INCLUDEDIRS='/opt/mpich/intel/include' |
|