--- MITgcm_contrib/ESMF/mytools/comp_profile.BASE 2004/02/22 01:10:49 1.1 +++ MITgcm_contrib/ESMF/mytools/comp_profile.BASE 2004/02/29 17:04:40 1.5 @@ -1,14 +1,17 @@ -# $Id: comp_profile.BASE,v 1.1 2004/02/22 01:10:49 cnh Exp $ +# $Id: comp_profile.BASE,v 1.5 2004/02/29 17:04:40 cnh Exp $ # $Name: $ # # Compiler and linker options for faulks.lcs.mit.edu # # genmake2 options -set gm2command = "../../../tools/genmake2" +set gm2command = "${BUILDROOT}/../../tools/genmake2" set gm2mods = "-mods=../code" set gm2optfile = " " -set gm2adoptfile = "-adoptfile=../../../tools/adjoint_options/adjoint_default" +set gm2adoptfile = "-adoptfile=${BUILDROOT}/../../tools/adjoint_options/adjoint_default" set gm2standarddirs = '-standarddirs=" "' +# Command used to go from file name to module name (module names are CAPS on +# ( SGI +set mkmodname = cat # archive building command set arcommand = ar set aropts = "-rsc" @@ -17,8 +20,17 @@ set ccopts = "-c" # fortran compiler set comp = "/usr/local/pkg/mpi/mpich-1.2.5..10/lahey/bin/mpif90" -set compopts = ( --o2 --tp4 ) +set compopts = ( --o2 --tp4 -DE_1_0_4 ) # link paths set complibs = ( -L/usr/local/pkg/ESMF/ESMF_1_0_4/mpich-1.2.5..10/lahey/lib/libO/Linux.lahey.32.default -lesmf ) set compinc = ( -I/usr//local/pkg/ESMF/ESMF_1_0_4/mpich-1.2.5..10/lahey/mod/modO/Linux.lahey.32.default ) set compinc = ( ${compinc} -I${BUILDROOT}/esmf_top ) + +setenv TCSH_PATH `which tcsh` +setenv APPLIB_PATH ${BUILDROOT}/app/lib +setenv APPF90MOD_PATH ${BUILDROOT}/app/f90mod +setenv APPOBJ_PATH ${BUILDROOT}/app/obj +setenv APPINC_PATH ${BUILDROOT}/app/inc +setenv APPEXE_PATH ${BUILDROOT}/app/exe + +