Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/linux_ia32_pgf77+authors_fc5 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
72a1ebc623 Ed H*0001 #!/bin/bash
                0002 #
e5ebe2c17e Jean*0003 # on author:
69781e4c4d Jean*0004 # (csh,tcsh) setenv PGI /usr/local/pkg/pgi/pgi-6.1-5
                0005 # (sh,bash)  export PGI=/usr/local/pkg/pgi/pgi-6.1-5
                0006 
7a8d0b199d Jean*0007 DEFINES='-DWORDLENGTH=4'
                0008 CPP='cpp -traditional -P'
                0009 
72a1ebc623 Ed H*0010 FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf77'
                0011 CC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgcc'
e5ebe2c17e Jean*0012 if test "x$ALWAYS_USE_F90" = x1 ; then
                0013     FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf90'
7a8d0b199d Jean*0014 else
                0015     DEFINES="$DEFINES -DNML_EXTENDED_F77"
e5ebe2c17e Jean*0016 fi
                0017 
                0018 EXTENDED_SRC_FLAG='-Mextend'
7a8d0b199d Jean*0019 GET_FC_VERSION="-V"
e5ebe2c17e Jean*0020 
72a1ebc623 Ed H*0021 # INCLUDES="-I/scratch/edhill/netcdf_for_pgi/pgi_fc3/include"
                0022 # LIBS="-L/scratch/edhill/netcdf_for_pgi/pgi_fc3/lib"
                0023 
                0024 if test "x$IEEE" = x ; then
                0025     #  No need for IEEE-754
e5ebe2c17e Jean*0026     FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
                0027     FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
72a1ebc623 Ed H*0028 else
                0029     #  Try to follow IEEE-754
ee4d76ddd1 Jean*0030     FFLAGS="$FFLAGS -byteswapio"
e5ebe2c17e Jean*0031     FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
72a1ebc623 Ed H*0032 fi
e5ebe2c17e Jean*0033 #- might want to use '-r8' for fizhi pkg:
                0034 #FFLAGS="$FFLAGS -r8"
72a1ebc623 Ed H*0035