Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/darwin_ia32_pgf95+mpich2-mx_trane 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
561abb14fc Mart*0001 #!/bin/bash
6144427bd2 Jean*0002 #
561abb14fc Mart*0003 # build options files for trane with MPI
                0004 # remove MPI='true' to get non-mpi executables
                0005 # uname -a
                0006 # Darwin trane.evsc.virginia.edu 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
                0007 #
                0008 
                0009 FC='mpif90'
                0010 CC='mpicc'
                0011 LINK='mpif90'
                0012 
                0013 DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR'
                0014 
                0015 MPI='true'
                0016 MPI_INC_DIR="/common/mpich2-mx-1.1.1p1..5/src/include"
                0017 INCLUDES="$INCLUDES -I$MPI_INC_DIR"
                0018 
                0019 NETCDF_INCDIR="/common/usr/local/include"
                0020 INCLUDES="$INCLUDES -I$NETCDF_INCDIR"
                0021 LIBS="-L/common/usr/local/lib"
                0022 
                0023 CPP='/usr/bin/cpp -traditional -P'
                0024 CFLAGS='-fast -Mipa=fast,inline,safe'
                0025 
                0026 if test "x$IEEE" = x ; then
                0027    #  No need for IEEE-754
                0028    FFLAGS='-byteswapio -Mextend'
                0029    FOPTIM='-fast -Mipa=fast,inline,safe'
                0030 else
                0031    #  Try to follow IEEE-754
                0032    FFLAGS='-byteswapio -Mnodclchk -Mextend -Ktrap=fp -Kieee'
                0033    FOPTIM=
                0034 fi
                0035 # make clean removes also these files
                0036 RMFILES='*.oo'