Skip to content

Commit

Permalink
Updated formatting, wording, and moved Tutorial to Tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
jprestop committed Jul 8, 2024
1 parent 55ce9a8 commit 8be1a79
Show file tree
Hide file tree
Showing 39 changed files with 18 additions and 18 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Should be changed to replace the references to *4* with *1* as follows:
#PBS -l select=1:ncpus=1:mpiprocs=1:ngpus=1:mem=100GB
And, any values of *4* in the last line of the script (the *mpirun* line for Casper and the *mpiexec* line for Derecho) should be changed to *1*.
And, any values of *4* in the last line of the script (the :code:`mpirun` line for Casper and the :code:`mpiexec` line for Derecho) should be changed to *1*.


Visualize the output
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Run FastEddy using the input parameters file **/tutorials/examples/Example06_OFF
* Change :code:`Nt` from 360000 to 1
* Change :code:`NtBatch` from 7500 to 1

Then, run the Jupyter notebook to modify the initial condition as described. Then, run FastEddy for the :math:`4` h of the simulation by changing :code:`frqOutput`, :code:`Nt`, and :code:`NtBatch` back to their original values.
Then, run the Jupyter notebook to modify the initial condition as described in the first paragraph. Then, run FastEddy for the :math:`4` h of the simulation by changing :code:`frqOutput`, :code:`Nt`, and :code:`NtBatch` back to their original values.

See :ref:`run_fasteddy` for instructions on how to build and run FastEddy on NSF NCAR's High Performance Computing machines.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions docs/Tutorial/index.rst → docs/Tutorials/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
########
Tutorial
########
#########
Tutorials
#########

.. toctree::
:titlesonly:
Expand Down
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = os.path.join('_static','fasteddy_logo.png')
html_logo = os.path.join('_static','fasteddy_logo_large_vertical_2024_06.png')

# -- Intersphinx control -----------------------------------------------------
intersphinx_mapping = {'numpy':("https://docs.scipy.org/doc/numpy/", None)}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ This DOI represents all versions and will always resolve to the latest one.
release_notes.rst
run_ncar_hpcs.rst
downloads.rst
Tutorial/index
Tutorials/index
publications.rst
22 changes: 11 additions & 11 deletions docs/run_ncar_hpcs.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.. _run_fasteddy:

*********************************
Running FastEddy on NSF NCAR HPCs
*********************************
*************************
Running under NSF NCAR HPC
**************************

These instructions will help users get started using FastEddy on
These instructions will help users get started running FastEddy on
`NSF NCAR's High Performance Computing (HPC) machines <https://ncar-hpc-docs.readthedocs.io/en/latest/>`_,
`Derecho <https://arc.ucar.edu/knowledge_base/74317833>`_ and
`Casper <https://arc.ucar.edu/knowledge_base/70549550>`_.
Expand All @@ -14,14 +14,14 @@ Compilation

The Makefile-based build system included here assumes deployment on the NSF
NCAR HPCs. FastEddy requires a C-compiler, MPI, and CUDA. Currently, the
default modules loaded at login suffice on Casper, however the `cuda` module
will need to be loaded on Derecho by running `module load cuda`.
default modules loaded at login suffice on Casper, however the :code:`cuda` module
will need to be loaded on Derecho by running :code:`module load cuda`.

1. Download the source code from the `Releases <https://github.com/NCAR/FastEddy-model/releases>`_ page and unpack the release in the desired location or clone the `repository <https://github.com/NCAR/FastEddy-model>`_ in the desired location.
3. Navigate to the **SRC/FEMAIN** directory.
4. To build the FastEddy executable run `make` (optionally run `make clean` first if appropriate).
4. To build the FastEddy executable run :code:`make` (optionally run :code:`make clean` first if appropriate).

The `FastEddy` executable will be located in the **SRC/FEMAIN** directory. To
The :code:`FastEddy` executable will be located in the **SRC/FEMAIN** directory. To
build on other HPC systems with NVIDIA GPUs, check for availability of the aformentioned
modules/dependencies. Successful compilation may require modifications to shell environment
variable include or library paths, or alternatively minor adjustments to the include or library
Expand All @@ -31,7 +31,7 @@ Example PBS job script for Casper
=================================

Below is bash-based PBS job submission script for running the model on NSF NCAR's Casper machine.
The FastEddy code will write its output to an `output` directory. Please create an output
The FastEddy code will write its output to an **output** directory. Please create an output
directory, if one does not already exist, in the same location as this script.

Sample Script
Expand All @@ -40,8 +40,8 @@ Sample Script
.. note::

* Replace "<ProjectAccount>" below with a valid Project Account.
* Replace "<path to code location>" below with the location that contains the `FastEddy-model` directory from unpacking the release.
* Replace "<example .in filename>" below with the name of the example .in filename. For example, Example01_NBL.in, Example02_CBL.in, etc.
* Replace "<path to code location>" below with the location that contains the **FastEddy-model** directory from unpacking the release.
* Replace "<example .in filename>" below with the name of the example .in filename. For example, *Example01_NBL.in*, *Example02_CBL.in*, etc.

.. code-block:: bash
Expand Down

0 comments on commit 8be1a79

Please sign in to comment.