Skip to content

Commit bd99dba

Browse files
author
Vasileios Karakasis
committed
Remove references to mysettings.py
1 parent c558d39 commit bd99dba

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

docs/tutorial_advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Finally, to avoid specifying the tutorial configuration file each time, make sur
99

1010
.. code:: bash
1111
12-
export RFM_CONFIG_FILE=$(pwd)/tutorials/config/mysettings.py
12+
export RFM_CONFIG_FILE=$(pwd)/tutorials/config/settings.py
1313
1414
1515

docs/tutorial_basics.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ Note that you should *not* edit this configuration file in place.
218218
cp reframe/core/settings.py tutorials/config/mysettings.py
219219
220220
221+
.. note::
222+
You may also use edit directly the supplied ``tutorials/config/settings.py`` file, which is the actual configuration file against which the various tutorials have been evaluated.
223+
224+
221225
Here is how the new configuration file looks like with the needed additions highlighted:
222226

223227
.. literalinclude:: ../tutorials/config/settings.py
@@ -249,7 +253,7 @@ Let's now rerun our "Hello, World!" tests:
249253

250254
.. code-block:: console
251255
252-
./bin/reframe -C tutorials/config/mysettings.py -c tutorials/basics/hello/hello2.py -r
256+
./bin/reframe -C tutorials/config/settings.py -c tutorials/basics/hello/hello2.py -r
253257
254258
255259
.. literalinclude:: listings/hello2_catalina.txt
@@ -262,7 +266,7 @@ Since we don't want to type it throughout the tutorial, we will now set it in th
262266

263267
.. code-block:: console
264268
265-
export RFM_CONFIG_FILE=$(pwd)/tutorials/config/mysettings.py
269+
export RFM_CONFIG_FILE=$(pwd)/tutorials/config/settings.py
266270
267271
268272
A Multithreaded "Hello, World!"
@@ -646,7 +650,7 @@ We will only do so with the final versions of the tests from the previous sectio
646650

647651
.. code-block:: console
648652
649-
export RFM_CONFIG_FILE=$(pwd)/tutorials/config/mysettings.py
653+
export RFM_CONFIG_FILE=$(pwd)/tutorials/config/settings.py
650654
./bin/reframe -c tutorials/basics/ -R -n 'HelloMultiLangTest|HelloThreadedExtended2Test|StreamWithRefTest' --performance-report -r
651655
652656
.. literalinclude:: listings/alltests_daint.txt

docs/tutorial_build_automation.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ Tutorial 5: Using Build Automation Tools As a Build System
55
In this tutorial we will present how to use `Easybuild <https://easybuild.io/>`__ and `Spack <https://spack.io/>`__ as a build system for a ReFrame test.
66
The example uses the configuration file presented in :doc:`tutorial_basics`, which you can find in ``tutorials/config/settings.py``.
77
We also assume that the reader is already familiar with the concepts presented in the basic tutorial and has a working knowledge of EasyBuild and Spack.
8-
Finally, to avoid specifying the tutorial configuration file each time you run the test, make sure to export it here:
9-
10-
.. code:: bash
11-
12-
export RFM_CONFIG_FILE=$(pwd)/tutorials/config/mysettings.py
13-
148

159

1610
Using EasyBuild to Build the Test Code

0 commit comments

Comments
 (0)