Skip to content

Commit 0ea8f79

Browse files
committed
MPICH 4.2.2 is required when using mpi4py 4.0
This is because MPI 4.0's large-count feature is only properly supported by MPICH starting from 4.2.2.
1 parent c2f9d1e commit 0ea8f79

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ scalable I/O performance.
1212
### Software Dependencies
1313
* Python 3.9 or later.
1414
* [numpy](http://www.numpy.org/) Python package.
15-
* MPI C library and Python package, [mpi4py](https://mpi4py.readthedocs.io/en/stable/install.html).
16-
* [PnetCDF C library](https://github.com/Parallel-netCDF/PnetCDF), built with shared libraries.
15+
* MPI C library and Python package,
16+
[mpi4py](https://mpi4py.readthedocs.io/en/stable/install.html).
17+
+ Note when using mpi4py 4.0 and MPICH, MPICH version 4.2.2 and later is
18+
required.
19+
* [PnetCDF C library](https://github.com/Parallel-netCDF/PnetCDF), built with
20+
shared libraries.
1721

1822
### Quick Installation
19-
* Make sure you have a working MPI and pnetcdf-C software and then use pip to install pnetcdf-Python library from PyPI
23+
* Make sure you have a working MPI and PnetCDF-C software installed.
24+
* Run pip command below to install PnetCDF-Python library from PyPI:
2025
```
2126
CC=/path/to/mpicc PNETCDF_DIR=/path/to/pnetcdf/dir/ pip install pnetcdf
2227
```

0 commit comments

Comments
 (0)