Warning, /tools/build_options/linux_ia64_ifort+mpi_altix_nas is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
ddf0022d33 Dimi*0001 #!/bin/bash
0002 #
b884ba000b Dimi*0003 # tested on columbia using:
0004 # module purge
7deb3eb948 Dimi*0005 # module load modules scsl.1.6.1.0 intel-comp.10.1.013 mpt.1.16.0.0 pd-netcdf.3.6.0-p1
ddf0022d33 Dimi*0006
0007 FC=ifort
808e9e0b01 Jean*0008
7b8f62ab41 Jean*0009 DEFINES='-DALLOW_USE_MPI -DWORDLENGTH=4'
808e9e0b01 Jean*0010 CPP='/lib/cpp -traditional -P'
480c36b0db Davi*0011 EXTENDED_SRC_FLAG='-132'
ddf0022d33 Dimi*0012
a1a45839e8 Patr*0013 LIBS='-L/opt/sgi/mpt/1.16.0.0/lib -lmpi -L/opt/pd/netcdf/3.6.0-p1/lib -lnetcdf'
0014 INCLUDES='-I/opt/sgi/mpt/1.16.0.0/include -I/opt/pd/netcdf/3.6.0-p1/include'
0015 INCLUDEDIRS='/opt/sgi/mpt/1.16.0.0/include'
15978f0412 Jean*0016
0017 #- used for parallel (MPI) DIVA
a1a45839e8 Patr*0018 MPIINCLUDEDIR='/opt/sgi/mpt/1.16.0.0/include'
15978f0412 Jean*0019 #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
0020
a1a45839e8 Patr*0021 #PAPIINC='-I/usr/local/include'
0022 #PAPILIB='-L/usr/local/lib -lpapi'
0f42230962 Davi*0023
0024 if test "x$IEEE" = x ; then
0025 # No need for IEEE-754
8e8ad196f3 Dimi*0026 # FFLAGS="$FFLAGS -fp-model precise -ftz -w95 -W0 -WB -convert big_endian -assume byterecl"
0027 FFLAGS="$FFLAGS -mp -w95 -W0 -WB -convert big_endian -assume byterecl"
0f42230962 Davi*0028 FOPTIM='-O3 -align'
0029 NOOPTFLAGS='-O1'
ac7b15786f Davi*0030 NOOPTFILES='calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'
0f42230962 Davi*0031 else
0032 # Try to follow IEEE-754
480c36b0db Davi*0033 FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl"
0f42230962 Davi*0034 FOPTIM='-O0 -noalign'
0035 fi
808e9e0b01 Jean*0036 #- might want to use '-r8' for fizhi pkg:
0037 #FFLAGS="$FFLAGS -r8"
0f42230962 Davi*0038