You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorial_advanced.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ Let's inspect the build script generated by ReFrame:
161
161
162
162
trap _onerror ERR
163
163
164
-
make -j 1 CPPFLAGS="-DELEM_TYPE=float" CC=cc CXX=CC
164
+
make -j 1 CC="cc" CXX="CC" FC="ftn" NVCC="nvcc" CPPFLAGS="-DELEM_TYPE=float"
165
165
166
166
167
167
The compiler variables (``CC``, ``CXX`` etc.) are set based on the corresponding values specified in the `configuration <config_reference.html#environment-configuration>`__ of the current environment.
@@ -175,7 +175,7 @@ In this case, ``make`` will be invoked as follows:
175
175
176
176
.. code::
177
177
178
-
make -j 1 CPPFLAGS="-DELEM_TYPE=float" CC=cc CXX=CC
178
+
make -j 1 CPPFLAGS="-DELEM_TYPE=float"
179
179
180
180
Notice that the ``-j 1`` option is always generated.
181
181
We can increase the build concurrency by setting the :attr:`~reframe.core.buildsystems.Make.max_concurrency` attribute.
@@ -682,7 +682,7 @@ The test will verify that all the nodes print the expected host name:
682
682
683
683
The first thing to notice in this test is that :attr:`~reframe.core.pipeline.RegressionTest.num_tasks` is set to zero as default, which is a requirement for flexible tests.
684
684
However, with flexible tests, this value is updated right after the job completes to the actual number of tasks that were used.
685
-
Consequenly, this allows the sanity function of the tests to assert that the number host names printed matches :attr:`~reframe.core.pipeline.RegressionTest.num_tasks`.
685
+
Consequently, this allows the sanity function of the test to assert that the number host names printed matches :attr:`~reframe.core.pipeline.RegressionTest.num_tasks`.
0 commit comments