-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filled some pages from README; added some more empty todo pages
- Loading branch information
1 parent
dbfe9f0
commit 0a87004
Showing
8 changed files
with
234 additions
and
3 deletions.
There are no files selected for viewing
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
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,6 @@ | ||
|
||
|
||
Plotting GCHP output | ||
==================== | ||
|
||
todo |
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,6 @@ | ||
|
||
|
||
Stretched-grid simulations | ||
========================== | ||
|
||
todo |
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
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
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
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 |
---|---|---|
@@ -1,3 +1,46 @@ | ||
|
||
Creating a run directory | ||
======================== | ||
|
||
First, make a high-level directory to contain all the run directories associated with this version | ||
of GCHP. This should be somewhere with plenty of space, as all run output will be in subdirectories | ||
of this directory. You can optionally create one or more build directories here for storage and easy | ||
access to GCHP builds specific to a certain version (see previous section on building GCHP). | ||
|
||
.. code-block:: console | ||
$ mkdir /scratch/testruns/GCHP/13.0.0 | ||
Next, enter the :file:`run/` subdirectory in :file:`Code.GCHP`. Do not edit this directory - this is the template for | ||
all other run directories! Instead, use the script there to create a new run directory, following | ||
the instructions printed to the screen. | ||
|
||
|
||
.. code-block:: console | ||
$ cd Code.GCHP | ||
$ cd run | ||
$ ./createRunDir.sh | ||
For example, to create a standard (full-chemistry) run directory, choose (actual responses in brackets): | ||
|
||
* Standard simulation (2) | ||
* MERRA2 meteorology (2) | ||
* The directory you just created in step 1 (:file:`/scratch/rundirs/GCHP/13.0.0`) | ||
* A distinctive run directory name (fullchem_first_test) | ||
* Use git to track run directory changes (y) | ||
|
||
This will create and set up a full-chemistry, MERRA-2, GCHP run directory in | ||
:file:`/scratch/testruns/GCHP/13.0.0/fullchem_first_test`. Note that these options only affect the run | ||
directory contents, and NOT the build process - the same GCHP executable is usable for almost all | ||
simulation types and supported met data options. | ||
|
||
Navigate to your new run directory, and set it up for the first run: | ||
|
||
.. code-block:: console | ||
$ cd /scratch/testruns/GCHP/13.0.0/fullchem_first_test | ||
$ ./setEnvironment /home/envs/gchpctm_ifort18.0.5_openmpi4.0.1.env # This sets up the gchp.env symlink | ||
$ source gchp.env # Set up build environment, if not already done | ||
$ cp runScriptSamples/gchp.run . # Set up run script - your system is likely to be different! See also gchp.local.run. | ||
$ cp CodeDir/build/bin/geos . # Get the compiled executable |
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,10 @@ | ||
|
||
|
||
Running GCHP | ||
============ | ||
|
||
.. code-block:: console | ||
$ sbatch gchp.run | ||
For more information about GCHP, see the following resources: GCHP wiki. GCHP issues on GitHub |