Skip to content

Commit

Permalink
Updated CVODELIB to CVODELIBDIR
Browse files Browse the repository at this point in the history
This was updated in AtChem2 in AtChem/AtChem2#501
  • Loading branch information
stulacy committed Jan 24, 2024
1 parent 0bc0a37 commit d5f407d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/source/applications/atchem2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ Make a copy of the AtChem2 Makefile template - this will be used by the model bu
$ cp tools/install/Makefile.skel ./Makefile
Open the Makefile in a text editor (if you're not sure how to do this, see `this tutorial <https://swcarpentry.github.io/shell-novice/03-create/index.html#create-a-text-file>`_), and change the values of ``CVODELIB`` and ``OPENLIBMDIR`` to correspond with the Viking module environment, i.e:
Open the Makefile in a text editor (if you're not sure how to do this, see `this tutorial <https://swcarpentry.github.io/shell-novice/03-create/index.html#create-a-text-file>`_), and change the values of ``CVODELIBDIR`` and ``OPENLIBMDIR`` to correspond with the Viking module environment, i.e:

.. code-block:: bash
:caption: Default Makefile parameters
CVODELIB = cvode/lib
OPENLIBMDIR = openlibm-0.4.1
CVODELIBDIR = cvode/lib
OPENLIBMDIR = openlibm-0.4.1
becomes:


.. code-block:: bash
:caption: Makefile parameters after changing
CVODELIB = /opt/apps/eb/software/SUNDIALS/2.7.0-foss-2021b/lib
OPENLIBMDIR = /opt/apps/eb/software/OpenLibm/0.8.1-GCC-11.2.0/lib
CVODELIBDIR = /opt/apps/eb/software/SUNDIALS/2.7.0-foss-2021b/lib
OPENLIBMDIR = /opt/apps/eb/software/OpenLibm/0.8.1-GCC-11.2.0/lib
Run the AtChem2 build script, giving it the location of a `FACSIMILE format <https://www.mcpa-software.com/>`_ mechanism with which to build your model (for this example, we are using the test mechanism supplied with AtChem2):
Expand Down

0 comments on commit d5f407d

Please sign in to comment.