Warning, /tools/build_options/unsupported/linux_amd64_pgf77+mpi_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
c9626b1411 Ed H*0001 #!/bin/bash
0002 #
78fc4ef7d5 Mart*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.
c9626b1411 Ed H*0008
78fc4ef7d5 Mart*0009 FC='pgf77'
c9626b1411 Ed H*0010 CC='pgcc'
78fc4ef7d5 Mart*0011 LINK='pgf77'
0012
c9626b1411 Ed H*0013 MPI='true'
d568843b75 Jean*0014
7a8d0b199d Jean*0015 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
d568843b75 Jean*0016 CPP='/usr/bin/cpp -P -traditional'
0017 EXTENDED_SRC_FLAG='-Mextend'
7a8d0b199d Jean*0018 GET_FC_VERSION="-V"
d568843b75 Jean*0019
78fc4ef7d5 Mart*0020 INCLUDES='-I/opt/scali/include -I/var/tmp.shared/netcdf-64/include'
0021 LIBS='-L/opt/scali/lib64 -L/var/tmp.shared/netcdf-64/lib -lfmpi -lmpi -lnetcdf'
c9626b1411 Ed H*0022
0023 if test "x$IEEE" = x ; then
0024 # No need for IEEE-754
d568843b75 Jean*0025 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
c9626b1411 Ed H*0026 FOPTIM='-tp amd64 -O2 -Munroll'
0027 else
0028 # Try to follow IEEE-754
d568843b75 Jean*0029 FFLAGS="$FFLAGS -byteswapio"
78fc4ef7d5 Mart*0030 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
c9626b1411 Ed H*0031 fi
d568843b75 Jean*0032 #- might want to use '-r8' for fizhi pkg:
0033 #FFLAGS="$FFLAGS -r8"