Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/linux_ia32_pgf77+mpi_aer 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
2ff82eb834 Ed H*0001 #!/bin/bash
                0002 #
6aec5d9846 Ed H*0003 FC='/opt/mpich/bin/mpif77'
0f6386062b Cons*0004 CC='/opt/mpich/bin/mpicc'
6aec5d9846 Ed H*0005 LINK='/opt/mpich/bin/mpif77'
d568843b75 Jean*0006 
7a8d0b199d Jean*0007 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
f8aa876f2e Ed H*0008 CPP='cpp  -traditional -P'
d568843b75 Jean*0009 EXTENDED_SRC_FLAG='-Mextend'
7a8d0b199d Jean*0010 GET_FC_VERSION="-V"
d568843b75 Jean*0011 
                0012 INCLUDES='-I/opt/mpich/include'
                0013 LIBS='-L/opt/mpich/lib/ -lfmpich -lmpich'
f8aa876f2e Ed H*0014 
                0015 if test "x$IEEE" = x ; then
                0016     #  No need for IEEE-754
d568843b75 Jean*0017     FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
0f6386062b Cons*0018     FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
f8aa876f2e Ed H*0019 else
                0020     #  Try to follow IEEE-754
d568843b75 Jean*0021     FFLAGS="$FFLAGS -byteswapio"
0f6386062b Cons*0022     FOPTIM='-O0 -Mvect=sse -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
f8aa876f2e Ed H*0023 fi
d568843b75 Jean*0024 #- might want to use '-r8' for fizhi pkg:
                0025 #FFLAGS="$FFLAGS -r8"