/[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.14 by adcroft, Fri Mar 24 18:29:29 2000 UTC revision 1.17 by adcroft, Wed Jun 21 19:57:55 2000 UTC
# Line 60  echo Operating system: $mach Line 60  echo Operating system: $mach
60  #   copy everything in ../eesupp/src, ../model/src,  #   copy everything in ../eesupp/src, ../model/src,
61  #   ../eesupp/inc and ../model/inc into a directory and then  #   ../eesupp/inc and ../model/inc into a directory and then
62  #   edit the paths below to ./  #   edit the paths below to ./
63  set SOURCEDIRS  = ( ../eesupp/src/ ../model/src/ ../diags/src/)  set SOURCEDIRS  = ( ../eesupp/src/ ../model/src/ ../diags/src/ ../pkg/*/)
64  set INCLUDEDIRS = ( ../eesupp/inc/ ../model/inc/ ../diags/inc/)  set INCLUDEDIRS = ( ./ ../eesupp/inc/ ../model/inc/ ../diags/inc/ ../pkg/*/)
65  set BUILDDIR    = ( ../bin/ )  set BUILDDIR    = ( ../bin/ )
66  set EXEDIR      = ( ../exe/ )  set EXEDIR      = ( ../exe/ )
67  set EXECUTABLE  = ( mitgcmuv )  set EXECUTABLE  = ( mitgcmuv )
# Line 193  switch ($platform$USEMPI) Line 193  switch ($platform$USEMPI)
193      set LINK       = ( 'g77' )      set LINK       = ( 'g77' )
194      breaksw      breaksw
195    case Linux+pgi+mpi:    case Linux+pgi+mpi:
196      set LIBS       = ( '-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich' )      if ($?include_jam_libs) then
197      set INCLUDES   = ( '-I/usr/local/include' )       set INCLUDES   = ( '-I/usr/local//mpich-cnh-install/include' )
198         set LIBS       = ( '-L/usr/local/mpich-cnh-install/lib/LINUX/ch_p4/ -lfmpich -lmpich' )
199        else
200         set INCLUDES   = ( '-I/usr/local/include' )
201         set LIBS       = ( '-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich' )
202        endif
203    case Linux+pgi:    case Linux+pgi:
204      set LN         = ( '/bin/ln -fs' )      set LN         = ( '/bin/ln -fs' )
205      set CPP        = ( '/lib/cpp -traditional -P' )      set CPP        = ( '/lib/cpp -traditional -P' )
# Line 312  if ($?include_jam_libs) then Line 317  if ($?include_jam_libs) then
317  cat >> ${mfile} <<EOF  cat >> ${mfile} <<EOF
318  # extra stuff for Hyades ............................................  # extra stuff for Hyades ............................................
319  HYADES_DIR = /u/u0/cnh/jam-lib/software  HYADES_DIR = /u/u0/cnh/jam-lib/software
320    HYADES_DIR = /u/u0/cnh/jam-lib-twoproc
321  WORK_DIR   = \$(HYADES_DIR)  WORK_DIR   = \$(HYADES_DIR)
322  DEPOSIT_DIR = linux_bin  DEPOSIT_DIR = linux_bin
323    
# Line 365  FOPTIM = ${FOPTIM} Line 371  FOPTIM = ${FOPTIM}
371  NOOPTFILES = ${NOOPTFILES}  NOOPTFILES = ${NOOPTFILES}
372  NOOPTFLAGS = ${NOOPTFLAGS}  NOOPTFLAGS = ${NOOPTFLAGS}
373  # Flags and libraries needed for linking  # Flags and libraries needed for linking
374  LIBS = ${LIBS}  LIBS = ${LIBS} \$(XLIBS)
375    
376  EOF  EOF
377    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.22