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 -xvf hdf5-1.10.1.tar.gz
- Run the following command to go to the directory generated after the decompression:
cd hdf5-1.10.1
- Run the following command to perform the configuration:
./configure --prefix=/pat/to/HDF5 --build=aarch64-linux --enable-parallel --enable-shared --enable-fortran
- Run the following commands to perform the compilation and installation:
make -j make install
- Run the following commands to set the HDF5 environment variable:
export LD_LIBRARY_PATH=/pat/to/HDF5/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment