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.6 |
#setenv COMP_PROF GFDL_HPCS |
7 |
cnh |
1.4 |
#setenv COMP_PROF blackforest |
8 |
|
|
setenv COMP_PROF faulks |
9 |
cnh |
1.3 |
source mytools/comp_profile.BASE |
10 |
|
|
source mytools/comp_profile.${COMP_PROF} |
11 |
|
|
setenv TCSH_PATH `which tcsh` |
12 |
cnh |
1.4 |
setenv APPLIB_PATH ${BUILDROOT}/app/lib |
13 |
|
|
setenv APPF90MOD_PATH ${BUILDROOT}/app/f90mod |
14 |
|
|
setenv APPOBJ_PATH ${BUILDROOT}/app/obj |
15 |
|
|
setenv APPINC_PATH ${BUILDROOT}/app/inc |
16 |
|
|
setenv APPEXE_PATH ${BUILDROOT}/app/exe |
17 |
cnh |
1.1 |
|
18 |
cnh |
1.4 |
# |
19 |
cnh |
1.7 |
# Build MITgcm OCN computational code |
20 |
|
|
##./build_mitgcm_org_ocn.sh |
21 |
|
|
##cd ${BUILDROOT} |
22 |
|
|
|
23 |
|
|
# |
24 |
|
|
# Build combined CAM stub computational and ESMF component interface layer |
25 |
|
|
cd esmf_top/cam_stub |
26 |
|
|
./comp1.sh |
27 |
cnh |
1.5 |
cd ${BUILDROOT} |
28 |
|
|
|
29 |
cnh |
1.7 |
# |
30 |
|
|
# Build ESMF component interface layer for the MITgcm OCN ESMF component |
31 |
cnh |
1.5 |
cd esmf_top/ocn_driver |
32 |
|
|
./comp1.sh |
33 |
|
|
cd ${BUILDROOT} |
34 |
|
|
|
35 |
cnh |
1.7 |
# |
36 |
|
|
# Build combined CAM stub computational and ESMF component interface layer |
37 |
|
|
cd esmf_top/mitgcm_ocn2cam |
38 |
|
|
./comp1.sh |
39 |
|
|
cd ${BUILDROOT} |
40 |
|
|
|
41 |
|
|
# |
42 |
|
|
# Build the composition layer and executable for the ocean only ESMF application |
43 |
cnh |
1.5 |
cd esmf_top/ocn_only_app |
44 |
cnh |
1.7 |
./comp2.sh |
45 |
|
|
cd ${BUILDROOT} |
46 |
|
|
|
47 |
|
|
# |
48 |
|
|
# Build the composition layer and executable for the ocean+CAM ESMF application |
49 |
|
|
cd esmf_top/cam_stub-mitgcm_ocn_app |
50 |
cnh |
1.5 |
./comp2.sh |
51 |
|
|
cd ${BUILDROOT} |