mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
update mpi options
This commit is contained in:
parent
3bcc45c9bd
commit
3ba511c056
1 changed files with 6 additions and 11 deletions
|
|
@ -352,8 +352,12 @@ OPENMC_ENABLE_COVERAGE
|
|||
Compile and link code instrumented for coverage analysis. This is typically
|
||||
used in conjunction with gcov_. (Default: off)
|
||||
|
||||
OPENMC_USE_MPI
|
||||
Turns on compiling with MPI (default: off). For further information on MPI options,
|
||||
please see the `FindMPI.cmake documentation <https://cmake.org/cmake/help/latest/module/FindMPI.html>`_.
|
||||
|
||||
To set any of these options (e.g., turning on profiling), the following form
|
||||
should be used:
|
||||
should be used:ß
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
|
|
@ -382,16 +386,7 @@ Example of configuring for Debug mode:
|
|||
|
||||
.. code-block:: sh
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug /path/to/openmc
|
||||
|
||||
Compiling with MPI
|
||||
++++++++++++++++++
|
||||
|
||||
To compile with MPI, use the `-DOPENMC_USE_MPI=on` cmake option. For example, in a bash shell:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
cmake -DOPENMC_USE_MPI=on /path/to/openmc
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug /path/to/openmcß
|
||||
|
||||
Selecting HDF5 Installation
|
||||
+++++++++++++++++++++++++++
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue