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

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

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


Revision 1.2 - (hide annotations) (download) (as text)
Tue Mar 30 05:18:41 2004 UTC (21 years, 4 months ago) by cnh
Branch: MAIN
CVS Tags: adoption_1_0_pre_A, HEAD
Changes since 1.1: +10 -6 lines
File MIME type: application/x-sh
Build with differ pe count option

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 ${complibs} -lesmf )
13 cnh 1.1
14     $comp $compopts -c cam_stub_esmf_driver.F $includes $libs
15    
16     ${arcommand} ${aropts} libcam_stub_driver.a *.o
17    
18 cnh 1.2 cp *.a ${APPLIB_PATH}/${PE}pe
19     cp *.mod ${APPF90MOD_PATH}/${PE}pe
20 cnh 1.1 \rm *.a *.mod
21 cnh 1.2
22     end
23 cnh 1.1

  ViewVC Help
Powered by ViewVC 1.1.22