MPTRAC Dependencies

June 9, 2026 ยท View on GitHub

This file lists the software dependencies required to build and run MPTRAC. It includes both mandatory and optional dependencies. Ensure that the correct versions are installed for optimal performance.

Mandatory Dependencies

These dependencies are required to compile MPTRAC:

DependencyVersionDescription
Gitv2.43.0Version control and code repository access
GNU Makev4.3Build tool
GNU Compiler Collection (GCC)v13.3.0C, C++ and Fortran compilers
GNU Scientific Library (GSL)v2.7.1Numerical calculations
netCDF libraryv4.9.2Portable file I/O
HDF5 libraryv1.14.4-3Enable netCDF4 file format

Optional Dependencies

These dependencies enable additional features of MPTRAC. They are not required for basic compilation but enhance functionality like GPU support, parallel computing, and data compression.

DependencyVersionDescription
NVIDIA HPC SDKv25.1GPU support
CMakev3.28.3Build tool (required for ecCodes support)
Clang (LLVM)v18.1.8Alternative C/C++ compiler
Intel Compilers (ICC and IFORT)v2024.2.0High-performance C, C++, and Fortran compilers from Intel
Open MPIv5.1.0MPI library for HPC support
ParaStation MPIv5.11.0MPI library for HPC support
ecCodesv2.38.3Encoding and decoding GRIB messages
Kinetic PreProcessor (KPP)v3.2.0Preprocessor for generating chemical mechanism code
Thrustv1.14.0C++ template library for parallel algorithms and data structures
Zstandardv1.5.7Compression library
zfpv1.0.1Compression library
SZ3v3.2.1Compression library
gnuplotv5.4.5Graphing utility for visualization
ParaViewv5.11.0Visualization tool for scientific data
Cppcheck2.13Static code analysis
gprofng2.42Performance profiling tool
gcov13.2.0Coverage testing tool
lcov2.0Code coverage visualization tool
Doxygen1.9.8Automatic source code documentation
MkDocs1.5.3Build documentation locally

Installing Dependencies

For detailed installation instructions on each of these dependencies, refer to the official documentation linked above. Below are a few common ways to install them:

  • Ubuntu/Debian: Use apt-get for system-wide installs:

    sudo apt-get install git make gcc gfortran libgsl-dev libnetcdf-dev libhdf5-dev zlib1g-dev
    
  • CentOS/RHEL: Use yum to install most dependencies:

    sudo yum install git make gcc gsl-devel netcdf-devel hdf5-devel zlib-devel
    
  • MacOS: Use brew (Homebrew):

    brew install git make gcc gsl netcdf hdf5 zlib
    

Notes on Optional Dependencies

  1. NVIDIA HPC SDK: Required for GPU support. Follow the official NVIDIA installation guide for your system.

  2. OpenMPI: For high-performance computing (HPC) and parallel computing. Install via your package manager or build from source.

  3. KPP (Kinetic PreProcessor): If you're working with chemical mechanisms, KPP is needed for preprocessing. Follow the KPP documentation for installation.