/[MITgcm]/MITgcm_contrib/ESMF/global_ocean.128x64x15/build.sh
ViewVC logotype

Diff of /MITgcm_contrib/ESMF/global_ocean.128x64x15/build.sh

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

revision 1.2 by cnh, Mon Feb 16 15:39:22 2004 UTC revision 1.5 by cnh, Sun Feb 22 22:17:06 2004 UTC
# Line 1  Line 1 
1  #!/bin/csh -f  #!/bin/csh -f
2  #  #
3  # Script to build ESMF component libraries for MITgcm ocean 15L.  # Script to build ESMF driven stand alone MITgcm ocean 15L.
4  #  #
5  setenv BUILDROOT `pwd`  setenv BUILDROOT `pwd`
6  setenv COMP_PROF  blackforest  #setenv COMP_PROF  blackforest
7  cd run  setenv COMP_PROF  faulks
8  if ( -f Makefile ) then  source mytools/comp_profile.BASE
9   make Clean  source mytools/comp_profile.${COMP_PROF}
10  endif  setenv TCSH_PATH  `which tcsh`
11    setenv APPLIB_PATH    ${BUILDROOT}/app/lib
12    setenv APPF90MOD_PATH ${BUILDROOT}/app/f90mod
13    setenv APPOBJ_PATH    ${BUILDROOT}/app/obj
14    setenv APPINC_PATH    ${BUILDROOT}/app/inc
15    setenv APPEXE_PATH    ${BUILDROOT}/app/exe
16    
17  # ESMF component build. Creates an ESMF component that can be coupled through  #
18  # the ESMF superstructure layer.  # Build MITgcm ocean component core code
19  ../../../tools/genmake2 -mods=../code -optfile=../../../tools/build_options/sp4  ./build_mitgcm_org_ocn.sh
20  make depend  cd ${BUILDROOT}
21  make small_f  
22  ln -s ../mytools/* .  # Build ESMF component driver
23  ./mkmod.sh ocn  cd esmf_top/ocn_driver
24    ./comp1.sh
25    cd ${BUILDROOT}
26    
27    # Build ocean only ESMF application
28    cd esmf_top/ocn_only_app
29    ./comp2.sh
30    cd ${BUILDROOT}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22