File tree 4 files changed +23
-6
lines changed
4 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 19
19
runs-on : ubuntu-latest
20
20
timeout-minutes : 60
21
21
env :
22
- MPICH_VERSION : 4.2.0
22
+ MPICH_VERSION : 4.2.2
23
23
MPICH_DIR : ${{ github.workspace }}/mpich-install
24
24
PNETCDF_VERSION : repo
25
25
PNETCDF_DIR : ${{ github.workspace }}/PnetCDF-install
Original file line number Diff line number Diff line change 19
19
runs-on : ubuntu-latest
20
20
timeout-minutes : 60
21
21
env :
22
- MPICH_VERSION : 4.2.0
22
+ MPICH_VERSION : 4.2.2
23
23
MPICH_DIR : ${{ github.workspace }}/mpich-install
24
24
PNETCDF_VERSION : 1.13.0
25
25
PNETCDF_DIR : ${{ github.workspace }}/PnetCDF-install
Original file line number Diff line number Diff line change @@ -12,8 +12,19 @@ scalable I/O performance.
12
12
### Software Dependencies
13
13
* Python 3.9 or later.
14
14
* [ 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.
21
+
22
+ ### Quick Installation
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:
25
+ ```
26
+ CC=/path/to/mpicc PNETCDF_DIR=/path/to/pnetcdf/dir/ pip install pnetcdf
27
+ ```
17
28
18
29
### Developer Installation
19
30
* Clone this GitHub repository
Original file line number Diff line number Diff line change @@ -6,8 +6,14 @@ Installation
6
6
Quick Install
7
7
===================================
8
8
9
- Quick installation via pip install is currently unavailable as this library has not yet been uploaded to PyPI.
10
- Please follow building from source instructions provided below to set up the library.
9
+ Software Requirements
10
+ - PnetCDF C library (built with shared libraries) and MPI C library
11
+
12
+ Install PnetCDF-python library from PyPI
13
+ .. code-block :: bash
14
+
15
+ $ CC=/path/to/mpicc PNETCDF_DIR=/path/to/pnetcdf/dir/ pip install pnetcdf
16
+
11
17
12
18
Install from Source
13
19
============================================
You can’t perform that action at this time.
0 commit comments