| 1 |
cnh |
1.1 |
#!/bin/csh -f |
| 2 |
|
|
# |
| 3 |
cnh |
1.4 |
# Script to build ESMF driven stand alone MITgcm ocean 15L. |
| 4 |
cnh |
1.1 |
# |
| 5 |
|
|
setenv BUILDROOT `pwd` |
| 6 |
cnh |
1.4 |
#setenv COMP_PROF blackforest |
| 7 |
|
|
setenv COMP_PROF faulks |
| 8 |
cnh |
1.3 |
source mytools/comp_profile.BASE |
| 9 |
|
|
source mytools/comp_profile.${COMP_PROF} |
| 10 |
|
|
setenv TCSH_PATH `which tcsh` |
| 11 |
cnh |
1.4 |
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 |
cnh |
1.1 |
|
| 17 |
cnh |
1.4 |
# |
| 18 |
cnh |
1.5 |
# Build MITgcm ocean component core code |
| 19 |
cnh |
1.4 |
./build_mitgcm_org_ocn.sh |
| 20 |
cnh |
1.5 |
cd ${BUILDROOT} |
| 21 |
|
|
|
| 22 |
|
|
# Build ESMF component driver |
| 23 |
|
|
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} |