File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ Install from Source
13
13
============================================
14
14
15
15
Software Requirements
16
- - PnetCDF C library
16
+ - PnetCDF C library (built with shared libraries) and MPI C library
17
17
- Python 3.9 or later
18
18
- 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)
20
20
21
21
Building PnetCDF C library
22
22
.. code-block :: bash
@@ -45,11 +45,11 @@ Building PnetCDF-python from source
45
45
46
46
# install Python libraries
47
47
$ pip install numpy Cython
48
- $ env CC=/path/to/mpicc pip install mpi4py
48
+ $ CC=/path/to/mpicc pip install mpi4py
49
49
50
50
# download PnetCDF-python source code
51
51
$ git clone git@github.com:Parallel-NetCDF/PnetCDF-Python.git
52
52
$ cd PnetCDF-Python
53
53
54
54
# 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 .
You can’t perform that action at this time.
0 commit comments