Warning, /tools/build_options/unsupported/linux_ia32_pgf77+mpi 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 #
f10e3a8bdd Ed H*0003 FC='pgf77'
d568843b75 Jean*0004
7a8d0b199d Jean*0005 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
d568843b75 Jean*0006 #CPP='cpp -traditional -P'
0007 EXTENDED_SRC_FLAG='-Mextend'
7a8d0b199d Jean*0008 GET_FC_VERSION="-V"
d568843b75 Jean*0009
6aec5d9846 Ed H*0010 INCLUDES='-I/usr/local/mpich-1.2.1/pgi_fortran_binding/include'
0011 LIBS='-L/usr/local/mpich-1.2.1/pgi_fortran_binding/lib/ -lfmpich -lmpich'
f8aa876f2e Ed H*0012 #INCLUDES='-I/usr/local/mpich-1.2.1/pgi_fortran_binding/include'
0013 INCLUDES='$INCLUDES -I/usr/local/include'
0014
d568843b75 Jean*0015 #LIBS='-L/usr/local/mpich-1.2.1/pgi_fortran_binding/lib/ -lfmpich -lmpich'
0016 LIBS='-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich'
0017
f8aa876f2e Ed H*0018 if test "x$IEEE" = x ; then
0019 # No need for IEEE-754
d568843b75 Jean*0020 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
b98c4b6dfd Patr*0021 FOPTIM='-tp p6 -v -O2 -Munroll'
0022 # -Mvect=cachesize:512000,transform
f8aa876f2e Ed H*0023 else
0024 # Try to follow IEEE-754
d568843b75 Jean*0025 FFLAGS="$FFLAGS -byteswapio"
7a8d0b199d Jean*0026 FOPTIM='-tp p6 -v -O0 -Munroll -Kieee'
b98c4b6dfd Patr*0027 # -Mvect=cachesize:512000,transform
f8aa876f2e Ed H*0028 fi
d568843b75 Jean*0029 #- might want to use '-r8' for fizhi pkg:
0030 #FFLAGS="$FFLAGS -r8"
f8aa876f2e Ed H*0031