@@ -31,11 +31,11 @@ These files use standard CMake commands. CMake ``set()`` commands need to specif
31
31
set(CMAKE_VARIABLE_NAME {VALUE} CACHE PATH "")
32
32
33
33
Here is a snippet from a host-config file that specifies compiler details for
34
- using specific gcc (version 4.9.3 in this case) on the LLNL Pascal cluster.
34
+ using specific gcc (version 10.3.1 in this case) on the LLNL Pascal cluster:
35
35
36
- .. literalinclude :: ../../host-configs/llnl/toss_3_x86_64_ib /gcc@4.9.3_nvcc .cmake
37
- :start-after: _blt_tutorial_compiler_config_start
38
- :end-before: _blt_tutorial_compiler_config_end
36
+ .. literalinclude :: ../../host-configs/llnl/toss_4_x86_64_ib /gcc@10.3.1_nvcc .cmake
37
+ :start-after: _blt_pascal_compiler_config_start
38
+ :end-before: _blt_pascal_compiler_config_end
39
39
:language: cmake
40
40
41
41
@@ -52,7 +52,7 @@ MPI and CUDA enabled on Pascal:
52
52
mkdir build
53
53
cd build
54
54
# configure using host-config
55
- cmake -C ../../host-configs/llnl/toss_3_x86_64_ib /gcc@4.9.3_nvcc .cmake ..
55
+ cmake -C ../../host-configs/llnl/toss_4_x86_64_ib /gcc@10.3.1_nvcc .cmake ..
56
56
57
57
After building (``make ``), you can run ``make test `` on a batch node (where the GPUs reside)
58
58
to run the unit tests that are using MPI and CUDA:
@@ -90,16 +90,16 @@ to run the unit tests that are using MPI and CUDA:
90
90
Building and Testing on Ray
91
91
---------------------------
92
92
93
- Here is how you can use the host-config file to configure a build of the `` calc_pi `` project with MPI and CUDA
94
- enabled on the LLNL BlueOS Ray cluster:
93
+ Here is how you can use the host-config file to configure a build of the
94
+ `` calc_pi `` project with MPI and CUDA enabled on the LLNL BlueOS Lassen cluster:
95
95
96
96
.. code-block :: bash
97
97
98
98
# create build dir
99
99
mkdir build
100
100
cd build
101
101
# configure using host-config
102
- cmake -C ../../host-configs/llnl/blueos_3_ppc64le_ib_p9/clang@upstream_nvcc_xlf .cmake ..
102
+ cmake -C ../../host-configs/llnl/blueos_3_ppc64le_ib_p9/clang@10.0.1_nvcc_c++17 .cmake ..
103
103
104
104
And here is how to build and test the code on Ray:
105
105
@@ -134,8 +134,8 @@ And here is how to build and test the code on Ray:
134
134
Building and Testing on Summit
135
135
-------------------------------
136
136
137
- Here is how you can use the host-config file to configure a build of the `` calc_pi `` project with MPI and CUDA
138
- enabled on the OLCF Summit cluster:
137
+ Here is how you can use the host-config file to configure a build of the
138
+ `` calc_pi `` project with MPI and CUDA enabled on the OLCF Summit cluster:
139
139
140
140
.. code-block :: bash
141
141
@@ -198,20 +198,20 @@ Basic TOSS3 (for example: Quartz) host-config that has C, C++, and Fortran Compi
198
198
199
199
200
200
201
- .. literalinclude :: ../../host-configs/llnl/toss_3_x86_64_ib /gcc@8 .3.1.cmake
201
+ .. literalinclude :: ../../host-configs/llnl/toss_4_x86_64_ib /gcc@10 .3.1.cmake
202
202
:language: cmake
203
203
:linenos:
204
204
205
- Here are the full example host-config files for LLNL's Pascal, Ray, and Quartz Clusters that uses
206
- the default compilers on the system:
205
+ Here are the full example host-config files for LLNL's Pascal, Lassen,
206
+ and Quartz Clusters that uses the default compilers on the system:
207
207
208
208
.. container :: toggle
209
209
210
210
.. container :: label
211
211
212
- ``gcc@4.9.3 host-config ``
212
+ ``gcc@10.3.1 host-config ``
213
213
214
- .. literalinclude :: ../../host-configs/llnl/toss_3_x86_64_ib /gcc@4.9.3_nvcc .cmake
214
+ .. literalinclude :: ../../host-configs/llnl/toss_4_x86_64_ib /gcc@10.3.1_nvcc .cmake
215
215
:language: cmake
216
216
:linenos:
217
217
@@ -223,7 +223,7 @@ More complicated BlueOS host-config that has C, C++, MPI, and CUDA support:
223
223
224
224
``clang@upstream C++17 host-config ``
225
225
226
- .. literalinclude :: ../../host-configs/llnl/blueos_3_ppc64le_ib_p9/clang@upstream_nvcc_c ++17_no_separable.cmake
226
+ .. literalinclude :: ../../host-configs/llnl/blueos_3_ppc64le_ib_p9/clang@10.0.1_nvcc_c ++17_no_separable.cmake
227
227
:language: cmake
228
228
:linenos:
229
229
0 commit comments