Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/linux_amd64_ifort+impi_stampede2_skx is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit c26ad343 on 2023-02-14 14:29:40 UTC
3512573755 Timo*0001 #!/bin/bash
                0002 #
                0003 # For running on TACC's Stampede 2, skylake nodes
                0004 #
                0005 # Make sure the following modules are loaded:
                0006 #   intel/18.0.2 impi/18.0.2 netcdf/4.3.3.1
                0007 
                0008 CC=icc
                0009 FC=ifort
                0010 F90C=ifort
                0011 LINK="$F90C -no-ipo"
                0012 
                0013 DEFINES='-DALLOW_USE_MPI -DWORDLENGTH=4'
                0014 CPP='cpp -traditional -P'
                0015 F90FIXEDFORMAT='-fixed -Tf'
                0016 EXTENDED_SRC_FLAG='-132'
                0017 GET_FC_VERSION="--version"
c26ad343d2 Jean*0018 OMPFLAG='-qopenmp'
3512573755 Timo*0019 
                0020 NOOPTFLAGS='-O1 -fp-model precise'
                0021 
                0022 FFLAGS="$FFLAGS -W0 -WB -convert big_endian -assume byterecl"
                0023 FFLAGS="$FFLAGS -fPIC"
                0024 
                0025 if test "x$IEEE" = x ; then
                0026     FOPTIM="-align -traceback -xCORE-AVX512 -O3 -ip -ftz -fp-model precise"
                0027     NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'
                0028 else
                0029     if test "x$DEVEL" = x ; then
                0030         FOPTIM='-O0 -noalign -traceback -xCORE-AVX512 -ip -mp'
                0031     else
                0032         FFLAGS="$FFLAGS -warn all -warn nounused"
                0033         FOPTIM="-fpe0 -fpstkchk -fpmodel except -check all -ftrapuv"
                0034         FOPTIM="-O0 -noalign -g -traceback"
                0035     fi
                0036 fi
                0037 
                0038 F90FLAGS=$FFLAGS
                0039 F90OPTIM=$FOPTIM
                0040 CFLAGS="-O3 -ip -fPIC"
                0041 
                0042 INCLUDEDIRS="${TACC_IMPI_INC} ${TACC_NETCDF_INC}"
                0043 INCLUDES="-I${TACC_IMPI_INC} -I${TACC_NETCDF_INC}"
                0044 LIBS="-L${TACC_IMPI_LIB} -lmpi -lmpifort -L${TACC_NETCDF_LIB} -lnetcdf -lnetcdff"
                0045 MPIINCLUDEDIR="${TACC_IMPI_INC}"
                0046