tar -xvf hdf5-1.10.1.tar.gz
cd hdf5-1.10.1
export MPICC=mpicc export MPICXX=mpicxx export MPIFC=mpifort
./configure --prefix=/path/to/HDF5 --build=aarch64-unknown-linux-gnu --enable-fortran --enable-static=yes --enable-parallel --enable-shared CC=$MPICC CXX=$MPICXX FC=$MPIFC F77=$MPIFC
make -j 16 make install