Skip to content
Snippets Groups Projects
  • 12/07/2023 (Needs to be double-checked) Clang setup for Rocky OS:

    Modules I have loaded by default in my environment:

    module purge; module load intel/2021b module load CMake/3.23.1 module load gnuplot module load HDF5

    modules I load

    module load Clang

    Cmake command without intel optimizations

    cmake ../Repository -DCMAKE_BUILD_TYPE=Release -DEIGEN_INTEGRATION=ON -DCOMBUSTION_LIBS=ON -DCMAKE_CXX_FLAGS_RELEASE="-O3 -DNDEBUG" -DCMAKE_C_FLAGS_RELEASE="-O3 -DNDEBUG" -DCMAKE_Fortran_FLAGS_RELEASE="-O3 -DNDEBUG" -DFAST_COLLISION_INTEGRAL=ON -DINSTALL_SUNDIALS=ON -DSUNDIALS_LAPACK=ON

    Edited by Gandolfo Scialabba
  • Jakob Strohschein @jakob.strohschein.2003 ·

    Hi, during my installation occured an error in Line 27 at the code. Finally I needed to load GCC before CMake so the line didn't work for me. I'm not sure but if you could change the order of the two modules it would work immediately. Thanks

  • Raymond Langer @raymond.langer ·

    Clone the repositories as detailed above and install FlameMaster on macOS with the following commands:

    brew install cmake git sundials lapack boost gfortran eigen libomp
    export HOMEBREW=$(brew --prefix) && OpenMP_ROOT="${HOMEBREW}/opt/libomp" cmake ../Repository -DCMAKE_BUILD_TYPE=Release -DEIGEN_INTEGRATION=ON -DCOMBUSTION_LIBS=ON -DCMAKE_C_FLAGS="-fPIE -ffast-math -O3" -DCMAKE_Fortran_FLAGS="-ffast-math -O3" -DCMAKE_CXX_FLAGS="-Wno-register -fPIE -ffast-math -O3" -DINSTALL_SUNDIALS=ON -DCOMPILE_FORTRAN_SRC=ON -DSUNDIALS_LAPACK=ON -DCMAKE_PREFIX_PATH="${HOMEBREW}" -DLAPACKE_DIR="${HOMEBREW}/opt/lapack/"
    make install -j
    Edited by Raymond Langer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment