Skip to content

Commit f15023f

Browse files
authored
.
1 parent 9c94ae6 commit f15023f

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

docs/Installation/Requirements/index.rst

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,26 @@ Xmipp requires **CMake >= 3.18 and < 4**.
3838
CUDA (optional)
3939
^^^^^^^^^^^^^^^
4040

41-
CUDA is optional but highly recommended. By default, Xmipp will search for your CUDA installation, but you can assign the nvcc exe file in the configuration file with the variable CMAKE_CUDA_COMPILER, is also possible setting the variable XMIPP_CUDA_BIN in the scipion `configuration file <https://scipion-em.github.io/docs/release-3.0.0/docs/scipion-modes/scipion-configuration.html>`_. To assign a specific compiler for CUDA set the variable CMAKE_CUDA_HOST_COMPILER in the configuration file. For more details visit the `configuration page <https://i2pc.github.io/docs/Utils/ConfigurationF/index.html#configuration-file>`_
41+
By default, Xmipp attempts to automatically detect a CUDA installation. Manual configuration is possible if needed.
42+
43+
To activate/deactivate CUDA compilation:
44+
- XMIPP_USE_CUDA (xmipp.conf)
45+
- XMIPP3_XMIPP_USE_CUDA (environment)
46+
47+
To specify the CUDA compiler (nvcc):
48+
- CMAKE_CUDA_COMPILER (xmipp.conf)
49+
- XMIPP_CUDA_BIN (`Scipion configuration file <https://scipion-em.github.io/docs/release-3.0.0/docs/scipion-modes/scipion-configuration.html>`_)
50+
- XMIPP3_CMAKE_CUDA_COMPILER (environment)
51+
52+
To define a specific host compiler:
53+
- CMAKE_CUDA_HOST_COMPILER (xmipp.conf)
54+
- XMIPP3_CMAKE_CUDA_HOST_COMPILER (environment)
55+
56+
To manually set CUDA libraries path:
57+
- XMIPP_CUDA_LIB (`Scipion configuration file <https://scipion-em.github.io/docs/release-3.0.0/docs/scipion-modes/scipion-configuration.html>`_)
58+
59+
Refer to the `configuration page <https://i2pc.github.io/docs/Utils/ConfigurationF/index.html#configuration-file>`_ for additional details.
60+
4261

4362
- Supported versions: **11.0 – 12.9**
4463
- We recommend using the newest version available for your operating system.

0 commit comments

Comments
 (0)