- Operating System: Debian GNU/Linux 9 (stretch)
- CmdStan Version: 2.21.0
- Compiler/Toolkit: g++
Hi everyone,
This is probably a very simple question, but I am having an issue with setting MPI up on a computer cluster following the instructions on the wiki.
I can do threading just fine, but for MPI the problem comes after adding
STAN_MPI=true
CXX=mpicxx
to the make/local
file.
When I try to do make clean-all
I get the following error
stan/lib/stan_math/make/libraries:108:
*** "Need to set TBB_CXX_TYPE for non-standard compiler other than gcc or clang.".
Stop.
Should I specify a different compiler and linker instead of CXX=mpicxx
?
I understood from the wiki that running mpicxx -show
should get me more info on what to use, but I don’t understand the output or what should I do with ti
g++
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include
-I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
-L/usr//lib -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi
Thank you for your help!