Installing HDF5
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the HDF5 installation package:
tar -zxvf hdf5-1.10.3.tar.gz
- Run the following command to switch to the directory generated after decompression:
cd hdf5-1.10.3
- Run the following command to configure HDF5:
./configure --prefix=/path/to/HDF5 --build=aarch64-unknown-linux-gnu --enable-fortran --enable-static=yes --enable-parallel --enable-shared
- Run the following commands to compile and install HDF5:
make -j make install
- Run the following commands to set the HDF5 environment variables:
export PATH=/path/to/HDF5/bin:$PATH export LD_LIBRARY_PATH=/path/to/HDF5/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment