/[MITgcm]/MITgcm/tools/genmake
ViewVC logotype

Diff of /MITgcm/tools/genmake

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

revision 1.56.4.8 by heimbach, Wed Jun 25 15:23:02 2003 UTC revision 1.56.4.9 by heimbach, Mon Aug 18 09:41:04 2003 UTC
# Line 92  while ($#allargs) Line 92  while ($#allargs)
92     set include_jam_libs     set include_jam_libs
93     echo "Including paths to JAM libraries"     echo "Including paths to JAM libraries"
94     breaksw     breaksw
95     case -arpack:
96       echo "Enabling ARPACK libraries"
97       set USEARPACK
98       breaksw
99   case -help:   case -help:
100     echo "usage: $0 [-help] [-makefile[=...]] [-platform=...] [-mpi] [-jam] [-disable=pkg1[,pkg2,...]] [-enable=pkg1[,pkg2,...]] [-mods=dir1[,dir2,...]] [-rootdir=dir]"     echo "usage: $0 [-help] [-makefile[=...]] [-platform=...] [-mpi] [-jam] [-disable=pkg1[,pkg2,...]] [-enable=pkg1[,pkg2,...]] [-mods=dir1[,dir2,...]] [-rootdir=dir]"
101  cat << EOF  cat << EOF
# Line 313  else Line 317  else
317  # set DEFINES = ( ${DEFINES} '-UALLOW_USE_MPI -UALWAYS_USE_MPI' )  # set DEFINES = ( ${DEFINES} '-UALLOW_USE_MPI -UALWAYS_USE_MPI' )
318  endif  endif
319    
320    if ($?USEARPACK) then
321      set USEARPACK  = ( '+arpack' )
322      set LIBS       = ( '-L/usr/lib -larpack -llapack' )
323    else
324      set USEARPACK
325    endif
326    
327  # Platform specific options  # Platform specific options
328  switch ($platform$USEMPI)  switch ($platform$USEMPI$USEARPACK)
329    case OSF1+mpi:    case OSF1+mpi:
330      echo "Configuring for DEC Alpha with MPI"      echo "Configuring for DEC Alpha with MPI"
331      set LIBS       = ( '-lfmpi -lmpi -lkmp_osfp10 -pthread' )      set LIBS       = ( '-lfmpi -lmpi -lkmp_osfp10 -pthread' )
# Line 598  switch ($platform$USEMPI) Line 609  switch ($platform$USEMPI)
609      set LIBS       = ( '-L/usr/local/mpich/mpich-1.2.1..7b_gnu/lib/ -lfmpich -lmpich' )      set LIBS       = ( '-L/usr/local/mpich/mpich-1.2.1..7b_gnu/lib/ -lfmpich -lmpich' )
610      set INCLUDES   = ( '-I/usr/local/mpich/mpich-1.2.1..7b_gnu/include/' )      set INCLUDES   = ( '-I/usr/local/mpich/mpich-1.2.1..7b_gnu/include/' )
611      breaksw      breaksw
612      case gfdl-sgi-o3k
613        echo "Configuring for " $platform
614        set DEFINES    = ( ${DEFINES} '-DTARGET_SGI -DWORDLENGTH=4' )
615        set FFLAGS     = ( '-extend_source -mp -mpio -bytereclen -mips4 -r8 -static' )
616        set FOPTIM     = ( '-O3' )
617        set LIBS       = ( '-L/opt/mpt/1510/usr/lib64 -lmpi' )
618        set INCLUDES   = ( '-I/opt/mpt/1510/usr/include' )
619        breaksw
620    default:    default:
621      echo "Error: platform not recognized: uname -p = " $platform$USEMPI      echo "Error: platform not recognized: uname -p = " $platform$USEMPI
622      exit      exit

Legend:
Removed from v.1.56.4.8  
changed lines
  Added in v.1.56.4.9

  ViewVC Help
Powered by ViewVC 1.1.22