File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 9191 - name : Test PnetCDF-Python
9292 run : |
9393 export PATH=${OPENMPI_DIR}/bin:${PATH}
94+ export LD_LIBRARY_PATH="${PNETCDF_DIR}/lib:${OPENMPI_DIR}/lib:${LD_LIBRARY_PATH}"
9495 make ptests TESTMPIRUN="${OPENMPI_DIR}/bin/mpiexec --oversubscribe"
9596
9697 - name : Re-install PnetCDF-Python from source distribution
@@ -104,6 +105,7 @@ jobs:
104105 - name : Test PnetCDF-Python
105106 run : |
106107 export PATH=${OPENMPI_DIR}/bin:${PATH}
108+ export LD_LIBRARY_PATH="${PNETCDF_DIR}/lib:${OPENMPI_DIR}/lib:${LD_LIBRARY_PATH}"
107109 make ptests TESTMPIRUN="${OPENMPI_DIR}/bin/mpiexec --oversubscribe"
108110
109111# - name: Tarball
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ jobs:
146146 - name : Test PnetCDF-Python
147147 run : |
148148 export PATH=${MPICH_DIR}/bin:${PATH}
149+ export LD_LIBRARY_PATH="${PNETCDF_DIR}/lib:${MPICH_DIR}/lib:${LD_LIBRARY_PATH}"
149150 make ptests TESTMPIRUN="${MPICH_DIR}/bin/mpiexec"
150151
151152 - name : Re-install PnetCDF-Python from source distribution
@@ -159,6 +160,7 @@ jobs:
159160 - name : Test PnetCDF-Python
160161 run : |
161162 export PATH=${MPICH_DIR}/bin:${PATH}
163+ export LD_LIBRARY_PATH="${PNETCDF_DIR}/lib:${MPICH_DIR}/lib:${LD_LIBRARY_PATH}"
162164 make ptests TESTMPIRUN="${MPICH_DIR}/bin/mpiexec"
163165# - name: Tarball
164166# run: |
Original file line number Diff line number Diff line change 9191 - name : Test PnetCDF-Python
9292 run : |
9393 export PATH=${MPICH_DIR}/bin:${PATH}
94+ export LD_LIBRARY_PATH="${PNETCDF_DIR}/lib:${MPICH_DIR}/lib:${LD_LIBRARY_PATH}"
9495 make ptests TESTMPIRUN="${MPICH_DIR}/bin/mpiexec"
9596
9697 - name : Re-install PnetCDF-Python from source distribution
@@ -104,6 +105,7 @@ jobs:
104105 - name : Test PnetCDF-Python
105106 run : |
106107 export PATH=${MPICH_DIR}/bin:${PATH}
108+ export LD_LIBRARY_PATH="${PNETCDF_DIR}/lib:${MPICH_DIR}/lib:${LD_LIBRARY_PATH}"
107109 make ptests TESTMPIRUN="${MPICH_DIR}/bin/mpiexec"
108110
109111# - name: Tarball
Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ scalable I/O performance.
4141 pip install --no-build-isolation -e .
4242 ```
4343* Testing
44+ + Additional packages are required: ` torch ` and ` torchvision `
45+ + Add the PnetCDF and MPI installation paths to the environment variable
46+ ` LD_LIBRARY_PATH ` , for example by running command:
47+ ```
48+ export LD_LIBRARY_PATH="${PNETCDF_DIR}/lib:${MPI_DIR}/lib:${LD_LIBRARY_PATH}"
49+ ```
4450 + Command `"make check"` tests all the programs available in folders
4551 ["test/"](./test) and ["examples/"](./examples) by running one MPI process.
4652 + Command `"make ptests"` tests all the programs by running more than one MPI
You can’t perform that action at this time.
0 commit comments