/[MITgcm]/MITgcm_contrib/ESMF/interface_test/build.sh
ViewVC logotype

Diff of /MITgcm_contrib/ESMF/interface_test/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 18:57:51 2004 UTC revision 1.3 by cnh, Fri Feb 20 16:21:41 2004 UTC
# Line 4  Line 4 
4  #  #
5  setenv BUILDROOT `pwd`  setenv BUILDROOT `pwd`
6  setenv COMP_PROF  blackforest  setenv COMP_PROF  blackforest
7    setenv TCSH_PATH  `which tcsh`
8  cd run  cd run
9  if ( -f Makefile ) then  if ( -f Makefile ) then
10   make Clean   make Clean
# Line 11  endif Line 12  endif
12    
13  # ESMF component build. Creates an ESMF component that can be coupled through  # ESMF component build. Creates an ESMF component that can be coupled through
14  # the ESMF superstructure layer.  # the ESMF superstructure layer.
15  ../../../tools/genmake2 -mods=../code -optfile=../../../tools/build_options/sp4 \  ../../../tools/genmake2 -mods=../code                        \
16       -adoptfile=../../../tools/adjoint_options/adjoint_default -standarddirs=" "     -optfile=../../../tools/build_options/sp4                 \
17       -adoptfile=../../../tools/adjoint_options/adjoint_default \
18       -standarddirs=" "
19  make depend  make depend
20  make small_f  make small_f
21  ln -s ../mytools/* .  
22    # Copy the scripts from the downloa directory making platform specific mods
23    # along the way.
24    foreach f ( ../mytools/* )
25     if ( -f $f ) then
26      cp $f .
27      cat $f | sed s'|<TCSH_PATH>|'${TCSH_PATH}'|g' > temp.$$
28      mv temp.$$ ${f:t}
29      chmod +x ${f:t}
30     endif
31    end
32  ./mkmod.sh ocn  ./mkmod.sh ocn

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

  ViewVC Help
Powered by ViewVC 1.1.22