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)
/
Libaec Installation

Libaec Installation

Aug. 29, 2023

This script intends to install libaec together with HDF5. For a separate installation read more here.

Put this script in the directory, where the libaec-tar file is unpacked.

Adjust the path, (PREFIX), where to install the library.

Adjust compiler and optimisation flags.

_________________________________________________________________________


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

export COMPILER=intel.22
export CC=mpicc
export CXX=mpicpc
export F77=mpifort
export FC=mpifort
export COMPOPT="-fPIC -O3 -qopt-zmm-usage=high -march=skylake-avx512 -mcmodel=medium -fargument-noalias-global -align -fp-model precise -shared-intel"

#export I_MPI_HYDRA_TOPOLIB=ipl
#export I_MPI_HYDRA_BRANCH_COUNT=-1

export BUILDDIR=build_aec_$COMPILER
mkdir $BUILDDIR
cd $BUILDDIR

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

export PREFIX=/sw/dataformats/hdf5-parallel/ompi/$COMPILER/1.12.2/skl
echo "building for "$PREFIX
echo "Press ENTER to configure";read aaa

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

../libaec-v1.0.6/configure --prefix=$PREFIX 

echo "Press ENTER to run make";read aaa
make -j2
echo "Press ENTER to run make check";read aaa
make check > 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": 11, "requestCorrelationId": "4fe8f5bd95ac49508658f5a86b31173f"}