Warning, /tools/build_options/linux_amd64_ifort+mpi_yellowstone is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit e1b39165 on 2014-03-28 06:43:01 UTC
e1b3916537 Patr*0001 # Provided by Michael Bates
0002 # http://mitgcm.org/pipermail/mitgcm-support/2013-September/008497.html
0003 # Tested on yellowstone using modules:
0004 #Currently Loaded Modules:
0005 # 1) ncarenv/1.0 3) intel/12.1.5 5) netcdf/4.3.0
0006 # 2) ncarbinlibs/1.0 4) ncarcompilers/1.0 6) impi/4.0.3.008
0007
0008 FC=mpif90
0009 CC=mpicc
0010 F90C=mpif90
0011
0012 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
0013 CPP='/lib/cpp -traditional -P'
0014 EXTENDED_SRC_FLAG='-132'
0015 OMPFLAG='-openmp'
0016 CFLAGS='-fPIC'
0017 LDADD='-shared-intel'
0018
0019 LIBS=$LIB_NCAR
0020 INCLUDES="$INC_NCAR -I${I_MPI_ROOT}intel64/include"
0021
0022 CPPINCLUDES=$INC_NCAR
0023
0024 NOOPTFLAGS='-O0 -fPIC'
0025
0026 FFLAGS="-fPIC -convert big_endian -assume byterecl -align -march=corei7 -axAVX"
0027 FDEBUG='-W0 -WB'
0028 FFLAGS="$FDEBUG $FFLAGS"
0029
0030 FOPTIM='-O2'
0031 FOPTIM="$FOPTIM -ip -fp-model precise -traceback -ftz"
0032