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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22