Skip to content

Commit 652d688

Browse files
authored
Merge pull request #24 from multiscale/feature/documentation-fixes
Documentation fixes
2 parents 0e6af69 + b2d72e6 commit 652d688

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/describing_models.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ like this:
287287
288288
imports:
289289
- from utils.uq import implementation uq_driver
290-
- from models.macro_micro implementation macro_micro
290+
- from models.macro_micro import implementation macro_micro
291291
292292
The first import statement would look for a file named ``uq.ymmsl`` in the ``utils/``
293293
directory, and load a model program named ``uq_driver`` from it. The second one would

docs/describing_programs.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ example. This also shows that you can pass the arguments as a list, if that make
6363
easier to read.
6464

6565
.. code-block:: yaml
66-
:caption: MPI and HPC implementations
66+
:caption: MPI and HPC programs
6767
68-
implementations:
68+
programs:
6969
mpi_implementation:
7070
executable: /home/user/models/my_model
7171
execution_model: openmpi
@@ -97,12 +97,12 @@ the MPI implementation and HPC machine you're using. When executing with MUSCLE3
9797
MUSCLE Manager will then start the component on its designated subset of the resources
9898
as required.
9999

100-
The ``on_hpc_cluster`` implementation demonstrates loading environment modules, as
100+
The ``on_hpc_cluster`` program demonstrates loading environment modules, as
101101
commonly needed on HPC machines. They're all in one line here, but if the modules have
102102
long names, then like with the arguments you can make a list to keep things readable.
103103

104104
Finally, if you need to do something complicated, you can write an inline script
105-
to start the implementation. This currently only works for non-MPI programs
105+
to start the program. This currently only works for non-MPI programs
106106
however.
107107

108108
Programs are represented by :class:`.ymmsl.v0_2.Program` in Python.

0 commit comments

Comments
 (0)