Skip to content

Commit

Permalink
Fixed build recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit-Kakodkar committed Oct 18, 2024
1 parent a0e4c63 commit a142a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting_started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ SPECFEM++ inherits several architecure specific cmake configuration keywords fro
.. code-block:: bash
# cd into SPECFEM root directory
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release -D BUILD_TESTS=ON -D ENABLE_SIMD=ON -D Kokkos_ENABLE_OPENMP=ON -D Kokkos_ARCH_NATIVE=ON -D Kokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON -D Kokkos_ENABLE_ATOMICS_BYPASS=ON
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release -D BUILD_TESTS=ON -D ENABLE_SIMD=ON -D Kokkos_ENABLE_OPENMP=ON -D Kokkos_ARCH_NATIVE=ON -D Kokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON
cmake --build build
* CUDA version (needs cudatoolkit >= 11.7)
Expand All @@ -125,7 +125,7 @@ SPECFEM++ inherits several architecure specific cmake configuration keywords fro
.. note::

Specify the architecture flag ``-D Kokkos_ARCH_<architecture>`` based on the GPU architecture you are using. For example, for NVIDIA Ampere architecture, use ``-D Kokkos_ARCH_AMPERE80=ON``.
Specify the architecture flag ``-D Kokkos_ARCH_<architecture>`` based on the GPU architecture you are using. For example, for NVIDIA Ampere architecture, use ``-D Kokkos_ARCH_AMPERE80=ON``. See `Kokkos documentation <https://kokkos.org/kokkos-core-wiki/keywords.html>`_ for more information.

Adding SPECFEM to PATH
----------------------
Expand Down

0 comments on commit a142a3c

Please sign in to comment.