/[MITgcm]/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6 by jmc, Sat Aug 8 17:00:46 2009 UTC revision 1.7 by jmc, Sun Mar 21 21:32:57 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3  #  $Header$  # $Header$
4  #  # $Name$
5    
6  # on author:  # on author:
7  # (csh,tcsh) setenv PGI /usr/local/pkg/pgi/pgi-6.1-5  # (csh,tcsh) setenv PGI /usr/local/pkg/pgi/pgi-6.1-5
8  # (sh,bash)  export PGI=/usr/local/pkg/pgi/pgi-6.1-5  # (sh,bash)  export PGI=/usr/local/pkg/pgi/pgi-6.1-5
9    
10  FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf77'  FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf77'
11  CC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgcc'  CC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgcc'
12    if test "x$ALWAYS_USE_F90" = x1 ; then
13        FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf90'
14    fi
15    
16  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
17  CPP='cpp -traditional -P'  CPP='cpp -traditional -P'
18    EXTENDED_SRC_FLAG='-Mextend'
19    
20  # INCLUDES="-I/scratch/edhill/netcdf_for_pgi/pgi_fc3/include"  # INCLUDES="-I/scratch/edhill/netcdf_for_pgi/pgi_fc3/include"
21  # LIBS="-L/scratch/edhill/netcdf_for_pgi/pgi_fc3/lib"  # LIBS="-L/scratch/edhill/netcdf_for_pgi/pgi_fc3/lib"
 if test "x$ALWAYS_USE_F90" = x1 ; then  
     FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf90'  
 fi  
22    
23  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
24      #  No need for IEEE-754      #  No need for IEEE-754
25      FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Mextend"      FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
26      FOPTIM="$FOPTIM -fastsse -Mvect=cachesize:524288,transform"      FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
27  else  else
28      #  Try to follow IEEE-754      #  Try to follow IEEE-754
29      FFLAGS="$FFLAGS -byteswapio"      FFLAGS="$FFLAGS -byteswapio"
30      FOPTIM="$FOPTIM -O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee"      FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
31  fi  fi
32    #- might want to use '-r8' for fizhi pkg:
33    #FFLAGS="$FFLAGS -r8"
34    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22