Mac OS Installation

This looks much better. The HDF5 directory structure is a little bit weird, but we can account for that.

I’ve downloaded TBB release 2020_U3 (file tbb-2020.3-mac.tgz) and, after extraction, get a folder tbb-2020.3-mac, which contains the subfolders tbb and pstl. I assume that you’ve copied tbb-2020.3-mac into CADET/Libs.

Hopefully, the following works:

export HDF5_ROOT=/Users/Andy/Desktop/CADET/Libs/hdf5/HDF_Group/HDF5/1.10.0
export SUNDIALS_ROOT=/Users/Andy/Desktop/CADET/Libs/sundials
export SUPERLU_ROOT=/Users/Andy/Desktop/CADET/Libs/superlu
export UMFPACK_ROOT=/Users/Andy/Desktop/CADET/Libs/suitesparse
export MATLAB_ROOT=/Applications/MATLAB_R2019a.app
export TBB_ROOT=/Users/Andy/Desktop/CADET/Libs/tbb-2020.3-mac/tbb

cmake -DBLA_VENDOR=Apple -DCMAKE_INSTALL_PREFIX="/Users/Andy/Desktop/CADET/cadet" ../code/
make install

You may need to clear CADET/build before running the commands. This will erase CMake caches.