matsim-vsp / parallel_qsim_rust

Parallel and distributed implementation of the Qsim in Rust
8 stars 0 forks source link

IntertialFlowCutter dependency can't be build on Ubuntu 22.04 #71

Closed Janekdererste closed 1 year ago

Janekdererste commented 1 year ago

When I try to follow the instructions from the router readme, I can't build the IntertialFlowCutter dependency. I receive the following error

janek@janek-ms7c02:~/projects/InertialFlowCutter/build$ cmake -DCMAKE_BUILD_TYPE=Release ..
ERROR: Intel TBB NOT found!
-- Looked for Threading Building Blocks in /opt/intel/tbb;/usr/local/include;/usr/include
CMake Error at cmake/FindTBB.cmake:272 (message):
  Could NOT find TBB library.
Call Stack (most recent call first):
  CMakeLists.txt:11 (find_package)

I also filed an issue in the original repository https://github.com/kit-algo/InertialFlowCutter/issues/13 .

@paulheinr what to do?

Janekdererste commented 1 year ago

I guess this is related to the wrong cmake version mentioned here?

Should I install another CMake version? Is there a way to make this work out of the box? I'd rather not deal with C/C++ build stuff.

Janekdererste commented 1 year ago

In case you figure something out it would be great to switch the test environment to ubuntu lts 22.04 and add the cmake version step into the build script. This is the place where I usually peek to set up the project 🙃

paulheinr commented 1 year ago

Thanks for submitting the Issue at the original repository. They fixed it. I merged the changes in my custom InertialFlowCutter repository. When I tried it out on WSL with both Ubuntu 20 and Ubuntu 22 it works now ✈️