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 ) |
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' ) |
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 |
|
|
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 |
|
|