/[MITgcm]/MITgcm_contrib/ESMF/global_ocean.128x64x15/esmf_top/ocn_driver/comp1.sh
ViewVC logotype

Annotation of /MITgcm_contrib/ESMF/global_ocean.128x64x15/esmf_top/ocn_driver/comp1.sh

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


Revision 1.2 - (hide annotations) (download) (as text)
Mon Mar 29 16:23:51 2004 UTC (21 years, 4 months ago) by cnh
Branch: MAIN
CVS Tags: adoption_1_0_pre_A, HEAD
Changes since 1.1: +9 -12 lines
File MIME type: application/x-sh
This does build for different proc counts

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

  ViewVC Help
Powered by ViewVC 1.1.22