You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This folder provides scripts, that can be utilized for analyzing model results.
3
-
Please contact the code manager Yi-Cheng Teng (Contact: yi-cheng.teng@noaa.gov) if you have any queations.
3
+
Please contact us at oar.gfdl.cefi-support AT noaa DOT gov if you have any queations.
4
4
5
5
## Prerequisite
6
6
The majority of the scripts are written in Python. One can follow the instructions (README.md under tools folder) to create a Python virtual environment on NOAA R&D HPCs or GFDL Analysis.
7
7
8
-
The Python scripts that read model data are written to take advantage of the `hsmget` command for faster reading and caching of data from the archive filesystem. When using GFDL Analysis, it is recommended to load the hsm module (`module load hsm/1.3.0`) before running any of the diagnostic scripts.
8
+
The Python scripts that read model data are written to take advantage of the `hsmget` command for faster reading and caching of data from the archive filesystem. When using GFDL Analysis, it is recommended to load the hsm module (`module load hsm/1.3.0`) before running any of the diagnostic scripts.
@@ -40,7 +40,7 @@ Users on any sufficiently up-to-date machine with a UNIX-based operating system
40
40
41
41
For **Windows users**, we recommend installing `WSL <https://learn.microsoft.com/en-us/windows/wsl/install>`__ (Windows Subsystem for Ubuntu and Linux), and following the above steps to install the prerequisite software. Alternatively users can opt for the Docker container approach. See :ref:`Container-Based Quick Start Guide <QuickstartC>` for more details.
42
42
43
-
After completing installation, continue to the :ref:`next section <DownloadMOM6>` to download the CEFI-regional-MOM6.
43
+
After completing installation, continue to the :ref:`next section <DownloadMOM6>` to download the CEFI-regional-MOM6.
44
44
45
45
.. _DownloadMOM6:
46
46
@@ -50,9 +50,9 @@ The CEFI-regional-MOM6 source code is publicly available on GitHub. To download
Once the two files are created, use the following command to build the model (Make sure to use correct names that are consistent with both your machine folder and your mk/env files):
115
+
Once the two files are created, use the following command to build the model (Make sure to use correct names that are consistent with both your machine folder and your mk/env files):
If the build completes successfully, you should be able to find the executable here: ``builds/build/YOUR_MACHINE_DIRECTORY-NAME_OF_YOUR_mk_FILE/ocean_ice/repro/MOM6SIS2``
122
+
If the build completes successfully, you should be able to find the executable here: ``builds/build/YOUR_MACHINE_DIRECTORY-NAME_OF_YOUR_mk_FILE/ocean_ice/repro/MOM6SIS2``
123
123
124
124
Run an Experiment
125
125
=====================
126
126
127
-
To test your ``MOM6SIS2``, first navigate to the ``exps`` folder:
127
+
To test your ``MOM6SIS2``, first navigate to the ``exps`` folder:
128
128
129
129
.. code-block:: console
130
130
@@ -134,16 +134,16 @@ Download the model input files:
134
134
135
135
.. code-block:: console
136
136
137
-
wget ftp.gfdl.noaa.gov:/pub/Yi-cheng.Teng/1d_ci_datasets.tar.gz && tar -zxvf 1d_ci_datasets.tar.gz && rm -rf 1d_ci_datasets.tar.gz
137
+
wget ftp://nomads.gfdl.noaa.gov/1/users/cefi/OM4.single_column.COBALT/data/1d_ci_datasets.tar.gz && tar -zxvf 1d_ci_datasets.tar.gz && rm -rf 1d_ci_datasets.tar.gz
Copy file name to clipboardExpand all lines: docs/source/ContainerQuickstart.rst
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,18 +4,18 @@
4
4
Container-Based Quick Start Guide
5
5
====================================
6
6
7
-
This Container-Based Quick Start Guide will help users build and run the 1D case for the MOM6-SIS2-COBALT System using a `Singularity/Apptainer <https://apptainer.org/docs/user/1.2/introduction.html>`__ container. The :term:`container` approach provides a uniform enviroment in which to build and run the MOM6-SIS2-COBALT. Normally, the details of building and running the MOM6-COBALT vary from system to system due to the many possible combinations of operating systems, compilers, :term:`MPIs <MPI>`, and package versions available. Installation via container reduces this variability and allows for a smoother MOM6-SIS2-COBALT build experience.
7
+
This Container-Based Quick Start Guide will help users build and run the 1D case for the MOM6-SIS2-COBALT System using a `Singularity/Apptainer <https://apptainer.org/docs/user/1.2/introduction.html>`__ container. The :term:`container` approach provides a uniform enviroment in which to build and run the MOM6-SIS2-COBALT. Normally, the details of building and running the MOM6-COBALT vary from system to system due to the many possible combinations of operating systems, compilers, :term:`MPIs <MPI>`, and package versions available. Installation via container reduces this variability and allows for a smoother MOM6-SIS2-COBALT build experience.
8
8
9
9
The basic "1D" case described here builds a MOM6-COBALT for the Bermuda Atlantic Time-series Study (BATS) with OM4 single column configuration as well as COBALTV3.0.
10
10
11
-
Prerequisites
11
+
Prerequisites
12
12
-------------------
13
13
14
14
Users must have either Docker (recommended for personal Windows/macOS systems) or Singularity/Apptainer (recommended for users working on Linux, NOAA Cloud, or HPC systems).
15
15
16
16
Install Docker on Windows/macOS
17
17
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
-
To build and run the MOM6-SIS2-COBALT using a Docker container, first install the software according to the `Docker Installation Guide for Windows <https://docs.docker.com/desktop/install/windows-install/>`__ or `Docker Installation Guide for macOS <https://docs.docker.com/desktop/install/mac-install/>`__.
18
+
To build and run the MOM6-SIS2-COBALT using a Docker container, first install the software according to the `Docker Installation Guide for Windows <https://docs.docker.com/desktop/install/windows-install/>`__ or `Docker Installation Guide for macOS <https://docs.docker.com/desktop/install/mac-install/>`__.
19
19
20
20
Install Singularity/Apptainer
21
21
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -26,17 +26,17 @@ Install Singularity/Apptainer
26
26
27
27
To build and run the MOM6-COBALT using a Singularity/Apptainer container, first install the software according to the `Apptainer Installation Guide <https://apptainer.org/docs/admin/1.2/installation.html>`__. This will include the installation of all dependencies.
28
28
29
-
Build and run 1-D example using Docker
29
+
Build and run 1-D example using Docker
30
30
-----------------------------------------
31
31
User can follow the following steps to build and run MOM6-SIS2-COBALT 1-D case within a Docker container.
32
32
33
33
.. code-block::
34
34
35
-
#Assume user is under $HOME
35
+
#Assume user is under $HOME
36
36
docker pull clouden90/1d_mom6_cobalt:base #This will pull docker image to your local machine
wget ftp.gfdl.noaa.gov:/pub/Yi-cheng.Teng/1d_ci_datasets.tar.gz && tar -zxvf 1d_ci_datasets.tar.gz && rm -rf 1d_ci_datasets.tar.gz
39
+
wget ftp://nomads.gfdl.noaa.gov/1/users/cefi/OM4.single_column.COBALT/data/1d_ci_datasets.tar.gz && tar -zxvf 1d_ci_datasets.tar.gz && rm -rf 1d_ci_datasets.tar.gz
40
40
cd $HOME
41
41
docker run --rm -v $HOME:/work -it clouden90/1d_mom6_cobalt:v0.1 bash --login # run docker container interactively
42
42
cd /work/CEFI-regional-MOM6/builds
@@ -50,7 +50,7 @@ Build and run 1-D example using Singularity/Apptainer container
50
50
-----------------------------------------
51
51
For users working on systems with limited disk space in their ``/home`` directory, it is recommended to set the ``SINGULARITY_CACHEDIR`` and ``SINGULARITY_TMPDIR`` environment variables to point to a location with adequate disk space. For example:
This dataset contains all the necessary model input files (e.g. grid files, ICs, BCs, atmospheric forcings, river dischages, BGC fluxes from atmosphere). Most of these input files can be generated using the tools under ``CEFI-regional/MOM6/tools``. Please be aware that this dataset is quite large (51 GB), so please be patient while downloading it.
31
32
32
33
Users interested in the model inputs, outputs, and configurations should refer to :ref:`Data: Input, Model Configuration, and Output Files <InputsOutputs>`.
33
34
34
-
After downloading the dataset, continue to the :ref:`next section <RunNWA12EXP>` to run the NWA12 example.
35
+
After downloading the dataset, continue to the :ref:`next section <RunNWA12EXP>` to run the NWA12 example.
35
36
36
37
.. _RunNWA12EXP:
37
38
38
39
Run NWA12 Experiment
39
40
=====================
40
41
41
-
To run the NWA12 example, first navigate to the ``exps/NWA12.COBALT`` folder:
42
+
To run the NWA12 example, first navigate to the ``exps/NWA12.COBALT`` folder:
Use the following command to run the NWA-12 example on Gaea using SLURM:
49
+
Use the following command to run the NWA-12 example on Gaea using SLURM:
49
50
50
51
.. code-block:: console
51
52
52
53
sbatch run.sub
53
54
54
-
Users may need to modify the run script according to their HPC machine configurations. The default configuration uses 1646 CPU cores to run the NWA12 example. If users want to change it to their desired number of CPU cores (e.g., 20x20 = 400 cores), they can modify both ``MOM_layout`` and ``SIS_layout`` by removing the mask_table and editing the LAYOUT:
55
+
Users may need to modify the run script according to their HPC machine configurations. The default configuration uses 1646 CPU cores to run the NWA12 example. If users want to change it to their desired number of CPU cores (e.g., 20x20 = 400 cores), they can modify both ``MOM_layout`` and ``SIS_layout`` by removing the mask_table and editing the LAYOUT:
Copy file name to clipboardExpand all lines: docs/source/index.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@
6
6
==============================================
7
7
Welcome to CEFI-regional-MOM6's documentation!
8
8
==============================================
9
-
**CEFI-regional-MOM6** contains essential tools, XML files, and source codes for collaborators of the Climate, Ecosystems, and Fisheries Initiative (CEFI) to conduct ocean physical-biogeochemical simulations for climate-scale applications, including seasonal predictions (12 months), decadal predictions (10 years), and multi-decadal projections (to the end of the 21st century).
9
+
**CEFI-regional-MOM6** contains essential tools, XML files, and source codes for collaborators of the Climate, Ecosystems, and Fisheries Initiative (CEFI) to conduct ocean physical-biogeochemical simulations for climate-scale applications, including seasonal predictions (12 months), decadal predictions (10 years), and multi-decadal projections (to the end of the 21st century).
10
10
11
11
=============
12
-
Code managers
12
+
Contact Info
13
13
=============
14
14
15
-
* Yi-Cheng Teng - @yichengt900 / yi-cheng.teng@noaa.gov
Copy file name to clipboardExpand all lines: tools/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This folder contains tools (mainly written in Python) that can be used to generate initial conditions (ICs), boundary conditions (BCs), and other required inputs for regional MOM6 model runs.
4
4
5
-
Below we provide instruction for creating a Python virtual environment on NOAA R&D HPCs, specifically configured for the Gaea system. The process outlined here can generally be applied to other clusters within NOAA RDHPCs. The guide has been provided by Yi-Cheng Teng (Contact: yi-cheng.teng@noaa.gov).
5
+
Below we provide instruction for creating a Python virtual environment on NOAA R&D HPCs, specifically configured for the Gaea system. The process outlined here can generally be applied to other clusters within NOAA RDHPCs. If you have any questions, please contact us at oar.gfdl.cefi-support AT noaa DOT gov
0 commit comments