First time here? Checkout the FAQ!
x
0 votes
by (210 points)
Hello,

I am trying to run an adapted version of the code on reentry induction (the tutorial n21), and I am having issues with the parallelization of the computation. My computer has 14 cores and 20 logical processors, but when I set --np to any value above 4, openCARP returns "Maximum number of processes (4) exceeded".

I am using docker to run openCARP, but that does not seem to be the problem, since other images are able to access the whole CPU.

Any ideas on what I could do to modify this constraint and increase the CPU usage?

Thank you very much,

Paula

1 Answer

0 votes
by (3.4k points)
selected by
 
Best answer
Hi,

The resources that openCARP can use are certainly limited in your carputils settings file. In order to unlimit resources, open your settings file (likely $HOME/.config/carputils/settings.yaml) and comment the line starting with "MAX_NP:".

Best regards,

Marie
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
MathJax.Hub.Config({ tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], config: ["MMLorHTML.js"], jax: ["input/TeX"], processEscapes: true } }); MathJax.Hub.Config({ "HTML-CSS": { linebreaks: { automatic: true } } });
...