Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/linux_ia64_ifort+mpi_swell 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
d0de5823fe Patr*0001 #!/bin/bash
                0002 #
bbc46cc2fb Jean*0003 # Build options for Harvard cluster "swell"
d0de5823fe Patr*0004 
16a9b5e356 Patr*0005 FC=mpif90
                0006 F90C=mpif90
c2097f5f90 Patr*0007 CC=mpicc
                0008 LINK='mpif90'
bbc46cc2fb Jean*0009 
7b8f62ab41 Jean*0010 DEFINES='-DWORDLENGTH=4 -DALLOW_USE_MPI'
d0de5823fe Patr*0011 CPP='cpp  -traditional -P'
bbc46cc2fb Jean*0012 EXTENDED_SRC_FLAG='-132'
d0de5823fe Patr*0013 
bbc46cc2fb Jean*0014 #INCLUDES='-I/usr/include/netcdf'
6a67bc04f6 Patr*0015 INCLUDES='-I/opt/netcdf-3.6.0-p1/include -I/usr/local/topspin/mpi/mpich/include'
bbc46cc2fb Jean*0016 LIBS='-L/opt/netcdf-3.6.0-p1/lib -L/usr/local/topspin/mpi/mpich/lib64 -lmpich_i -lpthread'
d0de5823fe Patr*0017 
                0018 #  Note that the -mp switch is for ieee "maintain precision" and is
                0019 #  roughly equivalent to -ieee
                0020 if test "x$IEEE" = x ; then
bbc46cc2fb Jean*0021     FFLAGS="$FFLAGS -w95 -g -convert big_endian -assume byterecl"
                0022     FOPTIM='-O3 -align'
d0de5823fe Patr*0023 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
                0024 #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
                0025 else
                0026     FOPTIM='-O0 -noalign'
bbc46cc2fb Jean*0027     FFLAGS="$FFLAGS -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl"
                0028    #FFLAGS="$FFLAGS -mp -w95 -W0 -WB"
d0de5823fe Patr*0029 fi
bbc46cc2fb Jean*0030 #- might want to use '-r8' for fizhi pkg:
                0031 #FFLAGS="$FFLAGS -r8"
c2097f5f90 Patr*0032