1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: $ |
4 |
# $Name: $ |
5 |
|
6 |
# optifile for fimm.bccs.uib.no |
7 |
# http://www.parallab.uib.no/resources/cluster/nodemem |
8 |
# |
9 |
# uses mpif90 wrapper for ifort |
10 |
# issues: |
11 |
# * -save option needed for GISS atmosphere |
12 |
# * cannot use ifort options -assume, -convert |
13 |
# * needs low optimization level |
14 |
|
15 |
FC=mpif90 |
16 |
F90C=mpif90 |
17 |
DEFINES='-DWORDLENGTH=1 -D_BYTESWAPIO' |
18 |
LINK='mpif90' |
19 |
CPP='/lib/cpp -traditional -P' |
20 |
FFLAGS='-132 -r8 -i4 -save -g -traceback' |
21 |
F90FLAGS='-132 -r8 -i4 -save -g -traceback' |
22 |
FOPTIM='' |
23 |
LIBS='-L/opt/mpich/intel/lib' |
24 |
INCLUDES='$INCLUDES -I/opt/mpich/intel/include' |
25 |
INCLUDEDIRS='/opt/mpich/intel/include' |