/[MITgcm]/MITgcm_contrib/ESMF/interface_test/esmf_top/ocn_driver/comp1.sh
ViewVC logotype

Annotation of /MITgcm_contrib/ESMF/interface_test/esmf_top/ocn_driver/comp1.sh

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


Revision 1.1 - (hide annotations) (download) (as text)
Fri Feb 27 02:05:48 2004 UTC (21 years, 5 months ago) by cnh
Branch: MAIN
CVS Tags: adoption_1_0_pre_A, HEAD
File MIME type: application/x-sh
Interface test bits and pieces

1 cnh 1.1 #!/bin/csh -fxv
2     #
3     set OPATH = ( ../../run/mmout )
4     set OINC = ( ../../run )
5    
6     source ${BUILDROOT}/mytools/comp_profile.BASE
7     source ${BUILDROOT}/mytools/comp_profile.${COMP_PROF}
8    
9     set includes = ( -I${OPATH} -I${OINC} ${compinc} )
10     set libs = ( -L${OPATH} -lmitgcm_org_ocn -lmitgcmrtl ${complibs} -lesmf )
11    
12     $comp $compopts -c ../utils/mitgcm_org_esmf_utils.F $includes $libs
13     $comp $compopts -c mitgcm_org_ocn_esmf_exports.F $includes $libs
14     $comp $compopts -c mitgcm_org_ocn_esmf_imports.F $includes $libs
15     $comp $compopts -c mitgcm_org_ocn_esmf_driver.F $includes $libs
16     \rm main.o
17    
18     ${arcommand} ${aropts} libmitgcm_org_ocn_esmf_driver.a *.o
19    
20     if ( ! -d ${APPLIB_PATH} ) then
21     mkdir -p ${APPLIB_PATH}
22     endif
23     if ( ! -d ${APPF90MOD_PATH} ) then
24     mkdir -p ${APPF90MOD_PATH}
25     endif
26     cp *.a ${APPLIB_PATH}
27     cp *.mod ${APPF90MOD_PATH}
28     \rm *.a *.mod
29    

  ViewVC Help
Powered by ViewVC 1.1.22