First time here? Checkout the FAQ!
x
+2 votes
by (140 points)

Hi!

I just successfully compiled OpenCARP on a Debian system, after running into some troubles. I thought it could be useful to share this if someone else is trying:

My system is:

$ uname -a
Linux gauvain 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux
$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110

And this is the cmake command that I used to make it work (with -O3 optimization lvl and openMP activated) :

cmake -S. -B_build -DDLOPEN=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_LIBRARY_PATH="/usr/lib/gcc/x86_64-linux-gnu/10/;/usr/lib/x86_64-linux-gnu/hdf5/openmpi" -DCMAKE_CXX_FLAGS="-O3 -fopenmp"

1 Answer

0 votes
ago by (4.3k points)
Thanks for sharing, Vincent!
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...