File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ Install from Source
1313============================================
1414
1515Software 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
2121Building 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 .
You can’t perform that action at this time.
0 commit comments