Skip to content

Commit

Permalink
MPICH 4.2.2 is required when using mpi4py 4.0
Browse files Browse the repository at this point in the history
This is because MPI 4.0's large-count feature is only properly supported
by MPICH starting from 4.2.2.
  • Loading branch information
wkliao committed Nov 13, 2024
1 parent c2f9d1e commit 0ea8f79
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ scalable I/O performance.
### Software Dependencies
* Python 3.9 or later.
* [numpy](http://www.numpy.org/) Python package.
* MPI C library and Python package, [mpi4py](https://mpi4py.readthedocs.io/en/stable/install.html).
* [PnetCDF C library](https://github.com/Parallel-netCDF/PnetCDF), built with shared libraries.
* MPI C library and Python package,
[mpi4py](https://mpi4py.readthedocs.io/en/stable/install.html).
+ Note when using mpi4py 4.0 and MPICH, MPICH version 4.2.2 and later is
required.
* [PnetCDF C library](https://github.com/Parallel-netCDF/PnetCDF), built with
shared libraries.

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

0 comments on commit 0ea8f79

Please sign in to comment.