Updated the parallel install docs.

This commit is contained in:
Dana Robinson 2018-12-31 05:07:30 -08:00
parent 4faca62679
commit d6c2a96ac2

View File

@ -100,9 +100,9 @@ qsub -I -q debug -l mppwidth=8
mkdir build-hdf5; cd build-hdf5/
- configure HDF5:
RUNSERIAL="aprun -q -n 1" RUNPARALLEL="aprun -q -n 6" RUNPARALLELSCRIPT="aprun -q -n 6" FC=ftn CC=cc /path/to/source/configure --enable-fortran --enable-parallel --disable-shared
RUNSERIAL="aprun -q -n 1" RUNPARALLEL="aprun -q -n 6" FC=ftn CC=cc /path/to/source/configure --enable-fortran --enable-parallel --disable-shared
RUNSERIAL, RUNPARALLEL, and RUNPARALLELSCRIPT tell the library how it should launch programs that are part of the build procedure.
RUNSERIAL and RUNPARALLEL tell the library how it should launch programs that are part of the build procedure.
- Compile HDF5:
gmake
@ -161,14 +161,9 @@ RUNPARALLEL then configure chooses `mpiexec' from the same directory as `mpicc':
The `$${NPROCS:=6}' will be substituted with the value of the NPROCS
environment variable at the time `make check' is run (or the value 6).
RUNPARALLELSCRIPT is identical to RUNPARALLEL but is used in parallel shell
scripts and lacks the environment variable protection.
RUNPARALLELSCRIPT: mpiexec -n ${NPROCS:=6}
Note that some MPI implementations (e.g. OpenMPI 4.0) disallow oversubscribing
nodes by default so you'll have to either set NPROCS equal to the number of
processors available (or fewer) or redefine RUNPARALLEL(SCRIPT) with appropriate
processors available (or fewer) or redefine RUNPARALLEL with appropriate
flag(s) (--oversubscribe in OpenMPI).
4. Parallel test suite