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/installation.rst
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,20 +7,20 @@ TorchFort can be installed in multiple ways but we highly recommend building and
7
7
Docker Installation
8
8
-------------------
9
9
10
-
We provide a ``Dockerfile`` which contains all relevant dependencies and builds using the `NVIDIA HPC SDK <https://developer.nvidia.com/hpc-sdk>`_ software libraries and compilers, which is our recommended way to build TorchFort. In order to build TorchFort using Docker, simply clone the repo and call:
10
+
We provide a `Dockerfile<https://github.com/NVIDIA/TorchFort/blob/master/docker/Dockerfile>`_ which contains all relevant dependencies and builds using the `NVIDIA HPC SDK <https://developer.nvidia.com/hpc-sdk>`_ software libraries and compilers, which is our recommended way to build TorchFort. In order to build TorchFort using Docker, simply clone the repo and call:
from the top level directory of the repo. Inside the container, TorchFort will be installed in ``/opt/torchfort``.
17
17
18
-
We provide an alternative docker file ``Dockerfile_gnu`` which can be used to build TorchFort using GNU compilers.
18
+
We provide an alternative docker file `Dockerfile_gnu<https://github.com/NVIDIA/TorchFort/blob/master/docker/Dockerfile_gnu>`_ which can be used to build TorchFort using GNU compilers. Additionally, we provide a docker file `Dockerfile_gnu_cpuonly <https://github.com/NVIDIA/TorchFort/blob/master/docker/Dockerfile_gnu_cpuonly>`_ which can be used to build TorchFort using GNU compilers without GPU support enabled.
19
19
20
20
CMake Installation
21
21
------------------
22
22
23
-
For a native installation TorchFort provides a ``CMakeList.txt`` file. Please make sure that the following required packages are installed on your system before installing TorchFort:
23
+
For a native installation TorchFort provides a `CMakeList.txt<https://github.com/NVIDIA/TorchFort/blob/master/CMakeLists.txt>`_ file. Please make sure that the following required packages are installed on your system before installing TorchFort:
24
24
25
25
* Requirements for core functionality and examples:
26
26
@@ -31,14 +31,16 @@ For a native installation TorchFort provides a ``CMakeList.txt`` file. Please ma
31
31
- MPI
32
32
- NVIDIA Collective Communication Library (``NCCL``)
33
33
- ``HDF5``
34
-
- the Python modules specified in ``requirements.txt``
34
+
- the Python modules specified in `requirements.txt<https://github.com/NVIDIA/TorchFort/blob/master/requirements.txt>`_
35
35
- GNU or `NVHPC <https://developer.nvidia.com/hpc-sdk>`_ compilers. NVHPC compilers are **required** if CUDA Fortran device array support is desired.
36
36
37
-
38
37
* Additional requirements for building this documentation:
39
38
40
39
- Doxygen
41
-
- the Python modules specified in ``docs/requirements.txt``
40
+
- the Python modules specified in `docs/requirements.txt <https://github.com/NVIDIA/TorchFort/blob/master/docs/requirements.txt>`_
41
+
42
+
For CPU-only builds, CUDA and NCCL are not required.
43
+
42
44
43
45
To build TorchFort, clone the repo then call the following from the root directory:
44
46
@@ -52,7 +54,7 @@ To build TorchFort, clone the repo then call the following from the root directo
52
54
..
53
55
make -j install
54
56
55
-
See the top level ``CMakeLists.txt`` file for additional CMake configuration options.
57
+
See the top level `CMakeList.txt <https://github.com/NVIDIA/TorchFort/blob/master/CMakeLists.txt>`_ file for additional CMake configuration options.
0 commit comments