Warning, /tools/build_options/linux_amd64_pgf77+mpi_xd1 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
063fca499c Mart*0001 #!/bin/bash
0002 #
0003 #
0004 # tested on xd1.awi-bremerhaven.de
0005 # Linux xd1-420-6 2.4.21_H_01_01 #6 SMP Wed Nov 3 15:30:06 PST 2004 x86_64 unknownx
0006 # pgf77 5.2-4
0007 # Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
0008 # Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
0009
0010 #FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
0011
0012 FC='mpif77'
0013 CC='mpicc'
0014 LINK='mpif77'
0015
0016 MPI='true'
d568843b75 Jean*0017
7a8d0b199d Jean*0018 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
d568843b75 Jean*0019 CPP='/usr/bin/cpp -P -traditional'
0020 EXTENDED_SRC_FLAG='-Mextend'
7a8d0b199d Jean*0021 GET_FC_VERSION="-V"
d568843b75 Jean*0022
0023 INCLUDES='-I/usr/mpich/mpich-1.2.6-pgi524/include -I/opt/awi/netcdf-3.6.0-p1/include'
d4fc653c92 Mart*0024 LIBS='-L/usr/mpich/mpich-1.2.6-pgi524/lib -Mmpi -L/opt/awi/netcdf-3.6.0-p1/lib -lnetcdf'
063fca499c Mart*0025
0026 if test "x$IEEE" = x ; then
0027 # No need for IEEE-754
d568843b75 Jean*0028 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
4c96093275 Mart*0029 FOPTIM='-O2 -Munroll'
063fca499c Mart*0030 else
0031 # Try to follow IEEE-754
d568843b75 Jean*0032 FFLAGS="$FFLAGS -byteswapio"
063fca499c Mart*0033 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
0034 fi
d4fc653c92 Mart*0035 #FFLAGS=$FFLAGS' -mcmodel=medium'
d568843b75 Jean*0036 #- might want to use '-r8' for fizhi pkg:
0037 #FFLAGS="$FFLAGS -r8"