Installing HDF5
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the HDF5 installation package.
tar -xvf hdf5-1.10.1.tar.gz
- Switch to the folder generated after decompression.
cd hdf5-1.10.1
- Run the following command to perform the configuration:
./configure --prefix=/path/to/HDF5 --build=aarch64-linux --enable-parallel --enable-shared --enable-fortran
- Run the following commands to compile and install HDF5:
make -j make install
- Configure HDF5 environment variables.
export LD_LIBRARY_PATH=/path/to/HDF5/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment