Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/linux_ia32_ifort+oad+mpi 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
61d282ca83 Jean*0001 #!/bin/bash
                0002 #
808e9e0b01 Jean*0003 # These are the build options used with the Intel compiler together with OpenAD and MPI
61d282ca83 Jean*0004 
                0005 CC='mpicc'
8d11e6ffb2 Jean*0006 FC='mpif77'
61d282ca83 Jean*0007 F90C='mpif90'
                0008 LINK='mpif90'
                0009 
8d11e6ffb2 Jean*0010 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
                0011 CPP='cpp -traditional -P'
                0012 F90FIXEDFORMAT='-fixed -Tf'
61d282ca83 Jean*0013 
                0014 NOOPTFLAGS='-O0'
                0015 NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
                0016 
8d11e6ffb2 Jean*0017 FFLAGS="$FFLAGS -132 -w95 -W0 -WB -convert big_endian -assume byterecl"
61d282ca83 Jean*0018 if test "x$IEEE" = x ; then
8d11e6ffb2 Jean*0019     FOPTIM='-O3 -align'
61d282ca83 Jean*0020 else
8d11e6ffb2 Jean*0021     FOPTIM='-O0 -g -noalign'
                0022     FFLAGS="$FFLAGS -xW -pc64"
61d282ca83 Jean*0023 fi
                0024 
8d11e6ffb2 Jean*0025 NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
                0026 NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'
                0027 
61d282ca83 Jean*0028 F90FLAGS=$FFLAGS
                0029 F90OPTIM=$FOPTIM
                0030 
8d11e6ffb2 Jean*0031 INCLUDES='-I${MPIROOT}/include'
                0032 LIBS=''