Installing HDF5
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to decompress the HDF5 installation package:
tar zxvf hdf5-1.10.5.tar.gz
- Run the following command to switch to the directory generated after the package is decompressed:
cd hdf5-1.10.5
- Run the following command to perform configuration:
CC=mpicc ./configure --prefix=/path/to/HDF5/ --enable-parallel
- Run the following commands to perform compilation and installation:
make -j 16 make install
- Run the following command to configure the compilation environment:
export HDF5_ROOT=/path/to/HDF5/
Parent topic: Configuring the Compilation Environment