Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/linux_amd64_pathf90+redhatlam 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
93eb40a4f1 Cons*0001 #!/bin/bash
                0002 #
                0003 #
                0004 # Build options for Fedore Core 3 x86-64 Opteron with the Fedore LAM version
                0005 # tested on (Linux batsi 2.6.10-1.766_FC3smp #1 SMP Wed Feb 9 23:17:48 EST 2005 x86_64 x86_64 x86_64 GNU/Linux) system 20051802
                0006 #
                0007 
                0008 CC=pathcc
                0009 FC=pathf90
                0010 # We need to link statically to avoid the annoying _rtld_global_ro@GLIBC_PRIVATE
                0011 # error message during linking
                0012 LINK='pathf90 -static'
                0013 # We need to add the LAM (gcc/g++/g77 compiled) libraries
                0014 LIBS='-L/usr/lib64 -llammpio -llamf77mpi -lmpi -llam -lutil -lpthread -lm'
                0015 # We need to add -DTARGET_LAM as older versions of LAM did not know
                0016 # about MPI_REAL8 etc.
                0017 DEFINES='-DTARGET_LAM -D_BYTESWAPIO -DWORDLENGTH=4 -DALLOW_USE_MPI -DALWAYS_USE_MPI'
                0018 CPP='cpp -traditional -P'
                0019 NOOPTFLAGS='-O0'
                0020 MAKEDEPEND=/usr/X11R6/bin/makedepend
                0021 INCLUDES=-I/usr/include
                0022 FFLAGS='-r8 -extend_source'
                0023 if test "x$IEEE" = x ; then
                0024     #  No need for IEEE-754
                0025     FOPTIM='-Ofast -LNO:fusion=2'
                0026 else
                0027     #  Try to follow IEEE-754
                0028     FOPTIM='-Ofast -LNO:fusion=2 -OPT:roundoff=0:IEEE_arithmetic=1'
                0029 fi
                0030