-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from GEOS-ESM/mitupdate
geosmit env and run scripts
- Loading branch information
Showing
6 changed files
with
4,098 additions
and
0 deletions.
There are no files selected for viewing
119 changes: 119 additions & 0 deletions
119
MIT_GEOS5PlugMod/instructions/checkout_geosmitv11.1.1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
git clone [email protected]:GEOS-ESM/GEOSgcm.git | ||
cd GEOSgcm | ||
git checkout tags/v11.1.1 | ||
|
||
# NAS load modules | ||
|
||
module use -a /nobackup/gmao_SIteam/modulefiles | ||
module load GEOSenv | ||
mepo clone | ||
source @env/g5_modules | ||
|
||
|
||
# build | ||
|
||
mkdir build | ||
cd build | ||
|
||
cmake .. -DBASEDIR=$BASEDIR/Linux -DCMAKE_INSTALL_PREFIX=../install -DBUILD_MIT_OCEAN=ON -DMIT_CONFIG_ID=c90_llc90_02 -DCMAKE_Fortran_COMPILER=ifort | ||
|
||
# add at the end for debug -DCMAKE_BUILD_TYPE=Debug | ||
|
||
make -j 12 install | ||
|
||
cd ../install/bin/ | ||
|
||
sed -i 's|setenv MASDIR /u/$LOGNAME/GEOS5.0/$expid|#setenv MASDIR /u/$LOGNAME/GEOS5.0/$expid|g' ../post/gcmpost.script | ||
|
||
sed -i '596i \ \ \ \ \ \ \ set DEFAULT_HISTORY_TEMPLATE="HISTORY.AOGCM.rc.tmpl"' gcm_setup | ||
|
||
|
||
|
||
# creating exp from install/bin/ directory | ||
|
||
./gcm_setup | ||
|
||
# example inputs | ||
|
||
Enter the Experiment ID: | ||
GEOSMIT_29test | ||
Enter a 1-line Experiment Description: | ||
test exp | ||
Do you wish to CLONE an old experiment? (Default: NO or FALSE) | ||
NO | ||
Enter the Atmospheric Horizontal Resolution code: | ||
c90 | ||
Enter the Atmospheric Model Vertical Resolution: LM (Default: 72) | ||
72 | ||
Enter Choice for Atmospheric Model Microphysics: (Default: BACM_1M) | ||
BACM_1M | ||
|
||
Use Hydrostatic Atmosphere? (Default: TRUE) | ||
TRUE | ||
Do you wish to IOSERVER? (Default: NO or FALSE) | ||
NO | ||
Enter the Processor Type you wish to run on: | ||
sky | ||
Do you wish to run the COUPLED Ocean/Sea-Ice Model? (Default: NO or FALSE) | ||
YES | ||
|
||
Choose an Ocean Model: (Default: MOM5) | ||
MIT | ||
|
||
Choose a Seaice Model: (Default: CICE4) | ||
|
||
Enter the Ocean Horizontal Resolution: | ||
llc90 | ||
|
||
Enter the Ocean Model Vertical Resolution: LM (Default: 50) | ||
50 | ||
|
||
Enter the choice of Land Surface Boundary Conditions using: 1 (Icarus), 2 (Default: Icarus-NLv3) | ||
2 | ||
|
||
Enter the choice of Land Surface Model using: 1 (Default: Catchment), 2 (CatchmentCN-CLM4.0 (CN_CLM40)), 3 (CatchmentCN-CLM4.5 (CN_CLM45)) | ||
1 | ||
|
||
Do you wish to run GOCART with Actual or Climatological Aerosols? (Enter: A (Default) or C) | ||
A | ||
|
||
Enter the GOCART Emission Files to use: AMIP (Default) or OPS: | ||
AMIP | ||
|
||
Enter HEARTBEAT_DT to use | ||
450 | ||
|
||
Enter the filename of the HISTORY template to use | ||
----------------------------------------------------------- | ||
As MIT was chosen, the default HISTORY Template is HISTORY.AOGCM.rc.tmpl | ||
1. Hit ENTER to use the default HISTORY template (HISTORY.AOGCM.rc.tmpl) | ||
Using HISTORY.AOGCM.rc.tmpl | ||
|
||
You must now copy your Initial Conditions into: | ||
----------------------------------------------- | ||
/nobackupp11/afahad/exp/GEOSMIT_29test | ||
|
||
|
||
|
||
# config exp | ||
|
||
#cd to exp dir | ||
|
||
cd /nobackupp11/afahad/exp/GEOSMIT_29test | ||
|
||
#copy GEOS restarts | ||
cp /nobackupp11/afahad/GEOSMITgcmFiles/restarts-orig/* . | ||
|
||
#copy mit input dir | ||
cp -r /nobackupp11/afahad/GEOSMITgcmFiles/mit_input_llc90_02/ mit_input | ||
|
||
# copy env script | ||
cp /nobackupp11/afahad/GEOSMITgcmFiles/geosmitenv_v11.1.1.sh . | ||
|
||
./geosmitenv_v11.1.sh | ||
|
||
#submit job | ||
|
||
qsub gcm_run.j | ||
|
||
|
115 changes: 115 additions & 0 deletions
115
MIT_GEOS5PlugMod/instructions/checkout_geosmitv11.1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
git clone [email protected]:GEOS-ESM/GEOSgcm.git | ||
cd GEOSgcm | ||
git checkout tags/v11.1.0 | ||
|
||
# NAS load modules | ||
|
||
module use -a /nobackup/gmao_SIteam/modulefiles | ||
module load GEOSenv | ||
mepo clone | ||
source @env/g5_modules | ||
|
||
|
||
# build | ||
|
||
mkdir build | ||
cd build | ||
|
||
cmake .. -DBASEDIR=$BASEDIR/Linux -DCMAKE_INSTALL_PREFIX=../install -DBUILD_MIT_OCEAN=ON -DMIT_CONFIG_ID=c90_llc90_02 -DCMAKE_Fortran_COMPILER=ifort | ||
|
||
# add at the end for debug -DCMAKE_BUILD_TYPE=Debug | ||
|
||
make -j 12 install | ||
|
||
cd ../install/bin/ | ||
|
||
sed -i '577i \ \ \ \ \ \ \ set DEFAULT_HISTORY_TEMPLATE="HISTORY.AOGCM.rc.tmpl"' gcm_setup | ||
|
||
|
||
|
||
# creating exp from install/bin/ directory | ||
|
||
./gcm_setup | ||
|
||
# example inputs | ||
|
||
Enter the Experiment ID: | ||
GEOSMIT_29test | ||
Enter a 1-line Experiment Description: | ||
test exp | ||
Do you wish to CLONE an old experiment? (Default: NO or FALSE) | ||
NO | ||
Enter the Atmospheric Horizontal Resolution code: | ||
c90 | ||
Enter the Atmospheric Model Vertical Resolution: LM (Default: 72) | ||
72 | ||
Enter Choice for Atmospheric Model Microphysics: (Default: BACM_1M) | ||
BACM_1M | ||
|
||
Use Hydrostatic Atmosphere? (Default: TRUE) | ||
TRUE | ||
Do you wish to IOSERVER? (Default: NO or FALSE) | ||
NO | ||
Enter the Processor Type you wish to run on: | ||
sky | ||
Do you wish to run the COUPLED Ocean/Sea-Ice Model? (Default: NO or FALSE) | ||
YES | ||
|
||
Choose an Ocean Model: (Default: MOM5) | ||
MIT | ||
|
||
Enter the Ocean Horizontal Resolution: | ||
llc90 | ||
|
||
Enter the Ocean Model Vertical Resolution: LM (Default: 50) | ||
50 | ||
|
||
Enter the choice of Land Surface Boundary Conditions using: 1 (Icarus), 2 (Default: Icarus-NLv3) | ||
2 | ||
|
||
Enter the choice of Land Surface Model using: 1 (Default: Catchment), 2 (CatchmentCN-CLM4.0 (CN_CLM40)), 3 (CatchmentCN-CLM4.5 (CN_CLM45)) | ||
1 | ||
|
||
Do you wish to run GOCART with Actual or Climatological Aerosols? (Enter: A (Default) or C) | ||
A | ||
|
||
Enter the GOCART Emission Files to use: AMIP (Default) or OPS: | ||
AMIP | ||
|
||
Enter HEARTBEAT_DT to use | ||
450 | ||
|
||
Enter the filename of the HISTORY template to use | ||
----------------------------------------------------------- | ||
As MIT was chosen, the default HISTORY Template is HISTORY.AOGCM.rc.tmpl | ||
1. Hit ENTER to use the default HISTORY template (HISTORY.AOGCM.rc.tmpl) | ||
Using HISTORY.AOGCM.rc.tmpl | ||
|
||
You must now copy your Initial Conditions into: | ||
----------------------------------------------- | ||
/nobackupp11/afahad/exp/GEOSMIT_29test | ||
|
||
|
||
|
||
# config exp | ||
|
||
#cd to exp dir | ||
|
||
cd /nobackupp11/afahad/exp/GEOSMIT_29test | ||
|
||
#copy GEOS restarts | ||
cp /nobackupp11/afahad/GEOSMITgcmFiles/restarts-orig/* . | ||
|
||
#copy mit input dir | ||
cp -r /nobackupp11/afahad/GEOSMITgcmFiles/mit_input_llc90_02/ mit_input | ||
|
||
# copy env script | ||
cp /nobackupp11/afahad/GEOSMITgcmFiles/geosmitenv_v11.1.sh . | ||
|
||
./geosmitenv_v11.1.sh | ||
|
||
#submit job | ||
|
||
qsub gcm_run.j | ||
|
||
|
Oops, something went wrong.