Skip to content

Commit

Permalink
use auto numerated list and code-block
Browse files Browse the repository at this point in the history
  • Loading branch information
weihuang-jedi committed Nov 13, 2024
1 parent 4ce9697 commit f13082e
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions docs/source/noaa_csp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,31 +327,26 @@ Running the Global Workflow
Assume you have a AWS cluster running, after login to the cluster through `ssh` from your laptop terminal,
or access the cluster from your web terminal, one can start clone, compile, and run global-workflow.

#. clone global-workflow(assume you have setup access to githup)::
#. clone global-workflow(assume you have setup access to githup):

.. code-block:: console
cd /contrib/$USER #you should have a username, and have a directory at /contrib where we save our permanent files.

git clone --recursive [email protected]:NOAA-EMC/global-workflow.git global-workflow

#or the develop form at EPIC:

git clone --recursive [email protected]:NOAA-EPIC/global-workflow-cloud.git global-workflow-cloud
#. compile global-workflow::
#. compile global-workflow:

.. code-block:: console
cd /contrib/$USER/global-workflow

cd sorc

build_all.sh # or similar command to compile for gefs, or others.

link_workflow.sh # after build_all.sh finished successfully
#. As users may define a very small cluster as controller, one may use the script below to compile in compute node::
#. As users may define a very small cluster as controller, one may use the script below to compile in compute node.
Save the this script in a file, say, com.slurm, and submit this job with command "sbatch com.slurm":

.. code-block:: console
Expand All @@ -360,27 +355,19 @@ or access the cluster from your web terminal, one can start clone, compile, and
#SBATCH --account=$USER
#SBATCH --qos=batch
#SBATCH --partition=compute
#SBATCH -t 04:15:00
#SBATCH -t 01:15:00
#SBATCH --nodes=1
#SBATCH -o compile.%J.log
#SBATCH --exclusive
set -x

gwhome=/contrib/Wei.Huang/src/global-workflow-cloud
gwhome=/contrib/Wei.Huang/src/global-workflow-cloud # Change this toyour own "global-workflow" source dir
cd ${gwhome}/sorc
source ${gwhome}/workflow/gw_setup.sh
#build_all.sh

build_all.sh -w

link_workflow.sh
.. note::
Save the this script in a file, say, com.slurm, and submit this job with command "sbatch com.slurm".

#. run global-workflow C48 ATM test case (assume user has /lustre filesystem attached)::
#. run global-workflow C48 ATM test case (assume user has /lustre filesystem attached):

.. code-block:: console
Expand Down

0 comments on commit f13082e

Please sign in to comment.