Skip to content

Commit 221aea4

Browse files
committedSep 11, 2024
modify installation guide
1 parent 164bfc4 commit 221aea4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎docs/source/installation/install.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Install from Source
1313
============================================
1414

1515
Software Requirements
16-
- PnetCDF C library
16+
- PnetCDF C library (built with shared libraries) and MPI C library
1717
- Python 3.9 or later
1818
- Python libraries: numpy, mpi4py
19-
- Python libraries: Cython, setuptools (optional, for building from source)
19+
- Python libraries: Cython, setuptools, packaging, wheel (for building from source)
2020

2121
Building PnetCDF C library
2222
.. code-block:: bash
@@ -45,11 +45,11 @@ Building PnetCDF-python from source
4545
4646
# install Python libraries
4747
$ pip install numpy Cython
48-
$ env CC=/path/to/mpicc pip install mpi4py
48+
$ CC=/path/to/mpicc pip install mpi4py
4949
5050
# download PnetCDF-python source code
5151
$ git clone git@github.com:Parallel-NetCDF/PnetCDF-Python.git
5252
$ cd PnetCDF-Python
5353
5454
# install PnetCDF-python
55-
env CC=/path/to/mpicc PNETCDF_DIR=/path/to/pnetcdf/dir/ pip install --no-build-isolation -e .
55+
CC=/path/to/mpicc PNETCDF_DIR=/path/to/pnetcdf/dir/ pip install --no-build-isolation -e .

0 commit comments

Comments
 (0)