Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
HDF5 1.12.2 parallel (ompi) installation

HDF5 1.12.2 parallel (ompi) installation

Aug. 29, 2023

module load intel/2022.2
module load openmpi/intel/4.1.4

export VER=1.12.2

export COMPILER=intel.22
export CC=mpicc
export CXX=mpicxx
export F77=mpifort
export FC=mpifort
export SLURM_CPU_BIND=none   
#export I_MPI_HYDRA_TOPOLIB=ipl
#export I_MPI_HYDRA_BRANCH_COUNT=-1
#export I_MPI_FABRICS=ofi
#export I_MPI_SHM_CELL_BWD_SIZE=2048000
 
export COMPOPT="-fPIC -O3 -qopt-zmm-usage=high -march=skylake-avx512 -xskylake-avx512 -mtune=skylake-avx512 -mcmodel=medium -fargument-noalias-global -fp-model precise -shared-intel"

export BUILDDIR=build_hdf5_ompi_$COMPILER
mkdir $BUILDDIR
cd $BUILDDIR

parentdir="$(dirname "$(pwd)")"
echo "building in "$BUILDDIR

export PREFIX=/sw/dataformats/hdf5-parallel/ompi/$COMPILER/$VER/skl
echo "building for "$PREFIX
echo "Press ENTER to configure";read aaa
export SZIP=$PREFIX
export LD_RUN_PATH=$PREFIX/lib:$LIBRARY_PATH

export CFLAGS="  $COMPOPT -align -Wl,-rpath=$LD_RUN_PATH"
export CXXFLAGS="$COMPOPT -align -Wl,-rpath=$LD_RUN_PATH"
export FCFLAGS=" $COMPOPT -align array64byte -Wl,-rpath=$LD_RUN_PATH"
#export LDLAGS="-O3 -fPIC"

#Set to true to make sure that it is really switched off
export HDF5_USE_FILE_LOCKING="FALSE"

../hdf5-$VER/configure --prefix=$PREFIX --with-szlib=$SZIP --with-pic \
         --enable-build-mode=production \
         --enable-optimization=high \
         --enable-parallel \
         --enable-threadsafe --enable-unsupported \
         --enable-direct-vfd --enable-mirror-vfd \
         --enable-fortran --enable-cxx \
         --disable-file-locking

#         --enable-file-locking --enable-recursive-rw-locks \

echo "Press ENTER to run make";read aaa
make -j8 | tee comp.out
echo "Press ENTER to run make check";read aaa
make check | tee check.out 2>&1  
echo "Press ENTER to run make install";read aaa
make install
echo "Do not forget to run make clean!"

, multiple selections available,
User Manual

User Manual
Results will update as you type.
  • Application Guide
  • Status of System
  • Usage Guide
  • Compute partitions
  • Software
    • AI Frameworks and Tools
    • Bring your own license
    • Chemistry
    • Data Manipulation
      • AEC library
      • CDO
      • ECCODES
      • HDF5 libraries / binaries
        • HDF5 installation
          • Enable autotools
          • HDF5 1.12.2 configuration
          • HDF5 1.12.2 parallel (impi) installation
          • HDF5 1.12.2 parallel (ompi) installation
          • Libaec Installation
      • libtiff
      • libz
      • NCO
      • netCDF
      • pigz
      • PROJ
      • R
      • Szip
      • UDUNITS2
    • Engineering
    • Environment Modules
    • Miscellaneous
    • Numerics
    • Virtualization
    • Devtools Compiler Debugger
    • Visualisation Tools
  • FAQ
  • NHR Community
  • Contact

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 9, "requestCorrelationId": "3350b4a5b3264a98a2bddf4ba7e0bac5"}