From d5f407d1d436b2193033a0a80c0493e54f42d1ca Mon Sep 17 00:00:00 2001 From: Stuart Lacy Date: Wed, 24 Jan 2024 13:49:12 +0000 Subject: [PATCH] Updated CVODELIB to CVODELIBDIR This was updated in AtChem2 in https://github.com/AtChem/AtChem2/pull/501 --- docs/source/applications/atchem2.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/applications/atchem2.rst b/docs/source/applications/atchem2.rst index e9acfab..89248cc 100644 --- a/docs/source/applications/atchem2.rst +++ b/docs/source/applications/atchem2.rst @@ -42,13 +42,13 @@ 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 `_), 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 `_), 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: @@ -56,8 +56,8 @@ 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 `_ mechanism with which to build your model (for this example, we are using the test mechanism supplied with AtChem2):