Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/bgl_gnu_ncar 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
8bcf09c736 Cons*0001 #!/bin/bash
                0002 #
                0003 #  tested on frost, ce107 Aug 5 2005, will work when IBM/NCAR provides an MPI library for g77
                0004 #  using the following invocation:
                0005 #    ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/bgl_gnu_ncar
                0006 
                0007 
                0008 S64='$(TOOLSDIR)/set64bitConst.sh'
                0009 MAKEDEPEND=makedepend
                0010 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DTARGET_BGL'
                0011 
                0012 INCLUDES='-I/bgl/BlueLight/ppcfloor/bglsys/include'
                0013 CPP='/lib/cpp -traditional -P'
                0014 FC='/bgl/BlueLight/DRV100_2005-050311PM/ppc/toolchain/gnu/build-powerpc-bgl-blrts-gnu/gcc-3.2-build/gcc/g77'
                0015 CC='/bgl/BlueLight/DRV202_2005-050606-SLES8/ppc/blrts-gnu/powerpc-bgl-blrts-gnu/bin/gcc'
                0016 LINK='/bgl/BlueLight/DRV100_2005-050311PM/ppc/toolchain/gnu/build-powerpc-bgl-blrts-gnu/gcc-3.2-build/gcc/g77'
                0017 LIBS='-L/bgl/BlueLight/ppcfloor/bglsys/lib -lmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts'
                0018 FFLAGS='-Wimplicit -Wunused -Wuninitialized'
                0019 if test "x$IEEE" = x ; then
                0020     #  No need for IEEE-754
                0021 FOPTIM='-O3 -funroll-loops -ffast-math'
                0022 CFLAGS='-O3 -funroll-loops -ffast-math'
                0023 else
                0024 FOPTIM='-g -O0'
                0025 CFLAGS='-g -O0'
                0026 fi
                0027 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X # __"