Warning, /tools/build_options/linux_amd64_pgf77_ocl 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
78fc4ef7d5 Mart*0001 #!/bin/bash
0002 #
0003 # tested on ocl00.awi-bremerhaven.de
0004 # Linux ocl00 2.4.21-261-smp #1 SMP Wed Nov 17 22:05:59 UTC 2004 x86_64 unknown
0005 # pgf77 5.2-4
0006 # Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
0007 # Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
0008
0009 CC='pgcc'
cf88e2c426 Jean*0010 FC='pgf77'
78fc4ef7d5 Mart*0011 LINK='pgf77'
0012
7a8d0b199d Jean*0013 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
d568843b75 Jean*0014 CPP='/usr/bin/cpp -P -traditional'
0015 EXTENDED_SRC_FLAG='-Mextend'
7a8d0b199d Jean*0016 GET_FC_VERSION="-V"
d568843b75 Jean*0017
78fc4ef7d5 Mart*0018 if test "x$IEEE" = x ; then
0019 # No need for IEEE-754
d568843b75 Jean*0020 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
78fc4ef7d5 Mart*0021 FOPTIM='-tp amd64 -O2 -Munroll'
0022 # -Mvect=cachesize:512000,transform
0023 else
0024 # Try to follow IEEE-754
d568843b75 Jean*0025 FFLAGS="$FFLAGS -byteswapio"
78fc4ef7d5 Mart*0026 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
0027 # -Mvect=cachesize:512000,transform
0028 fi
d568843b75 Jean*0029 #- might want to use '-r8' for fizhi pkg:
0030 #FFLAGS="$FFLAGS -r8"
cf88e2c426 Jean*0031
0032 INCLUDES='-I/var/tmp.shared/netcdf-64/include'
0033 LIBS='-L/var/tmp.shared/netcdf-64/lib -lnetcdf'
0034
0035 if test "x$MPI" = xtrue ; then
0036 INCLUDES="-I/opt/scali/include $INCLUDES"
0037 LIBS="-L/opt/scali/lib64 $LIBS -lfmpi -lmpi"
0038 fi