Software used by Cantera#

This section lists the versions of third-party software that are required to build and use Cantera.

Compilers#

You must have one of the following C++ compilers installed on your system. A Fortran compiler is required only if you plan to build the Fortran module.

  • GNU compilers (C/C++/Fortran)

    • Known to work with versions 9.4 and 11.4. Expected to work with version >= 9.0.

  • Clang/LLVM (C/C++)

    • Known to work with versions 10 and 12. Expected to work with version >= 5.0

    • Works with the versions included in Xcode 13.0 and 14.3.1.

  • Intel compilers (C/C++/Fortran)

    • Known to work with the Intel OneAPI Compilers (version 2022.0.2).

    • Some earlier versions of the Intel compiler (including the 2017 version) are NOT RECOMMENDED because of a bug in the C compiler.

  • Microsoft compilers (C/C++)

    • Known to work with Visual Studio 2017 (MSVC 14.1), Visual Studio 2019 (MSVC 14.2) and Visual Studio 2022 (MSVC 14.3).

  • MinGW (C/C++/Fortran)

Other Required Software#

  • SCons:

  • Python:

  • Boost

    • https://www.boost.org/users/download/

    • Known to work with versions 1.71, 1.74, and 1.82; Expected to work with versions >= 1.70

    • Only the “header-only” portions of Boost are required. Cantera does not currently depend on any of the compiled Boost libraries.

  • SUNDIALS

    • If SUNDIALS is not installed and you have checked out the Cantera source code using Git, SUNDIALS will be automatically downloaded and the necessary portions will be compiled and installed with Cantera.

    • https://computing.llnl.gov/projects/sundials

    • Known to work with versions >= 3.0 and <= 7.0.

    • To use SUNDIALS with Cantera on a Linux/Unix system, it must be compiled with the -fPIC flag. You can specify this flag when configuring SUNDIALS as cmake -DCMAKE_C_FLAGS=-fPIC <other command-line options>

  • Eigen

  • fmt

    • If fmt (previously known as cppformat) is not installed and you have checked out the Cantera source code using Git, fmt will be automatically downloaded and the necessary portions will be compiled and installed with Cantera.

    • https://fmt.dev/latest/index.html

    • Known to work with versions 6.1.2 through 11.0.

  • yaml-cpp

    • If yaml-cpp is not installed and you have checked out the Cantera source code using Git, it will be automatically downloaded and the necessary portions will be compiled and installed with Cantera.

    • jbeder/yaml-cpp

    • Known to work with version 0.7.0. Version 0.6.0 or newer is required.

Optional Dependencies#

  • Numpy

    • Required to build the Cantera Python module, and to run significant portions of the test suite.

    • Expected to work with versions >= 1.12.0. 1.16.0 or newer is recommended.

  • Cython

    • Required version >=0.29.31 to build the Python module.

  • Pip (Python)

    • Required to build the Cantera Python module.

    • Provides the pip command which can be used to install most of the other Python dependencies.

  • wheel (Python)

    • Required to build the Cantera Python module.

  • setuptools (Python)

    • Required to build the Cantera Python module.

  • Ruamel.yaml (Python)

    • Required to convert input files from Chemkin, CTI, and XML to the YAML format

    • Known to work with versions 0.15.42, 0.15.87, and 0.16.5

    • Expected to work with versions >= 0.15.0

  • libhdf5

    • Required to read and write data files in the HDF5 format

    • Known to work with versions 1.12 and 1.14.

  • HighFive

    • Required to read and write data files in the HDF5 format

    • If HighFive is not installed and you have checked out the Cantera source code using Git, HighFive will be automatically downloaded and the necessary portions will be compiled as part of the Cantera build process.

    • Version 2.5.0 or newer is required.

  • Google Test

    • If Google Test is not installed and you have checked out the Cantera source code using Git, Google Test will be automatically downloaded and the necessary portions will be compiled as part of the Cantera build process.

    • Required to run significant portions of the test suite.

    • Known to work with version 1.11.0.

  • pytest

    • Required to run the Python test suite.

    • Known to work with version 7.2.0

  • MATLAB

    • Required to run the experimental MATLAB toolbox.

    • Known to work with 2022a. Expected to work with versions >= 2009a.

  • Windows Installer XML (WiX) toolset

    • Required to build MSI installers on Windows.

    • Known to work with versions 3.5 and 3.8.

  • Packages required for building Sphinx documentation

  • Doxygen

    • Required for building the C++ API Documentation

    • Version 1.8 or newer is recommended.

  • Graphviz

    • Required to build the dependency graph images in the C++ API Documentation

    • Known to work with version 2.40.1, expected to work with versions >=2.40.1

  • Jinja

    • Required for experimental code generation (example: .NET interface)

    • Known to work for Jinja 3.1.4

  • .NET

    • Required for the compilation of the experimental .NET interface

    • Known to work for the .NET 6.0 SDK