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

I would like to use mMS for my simulations, and I encountered the same issues as another posted question in this forum (https://opencarp.org/q2a/445). I folllowed the answer proposed by Axel Loewe, modifying the upper and lower bounds of V. However, when running make_dynamic_model.sh, I run into the following error:

/openCARP/physics/limpet/models/MitchellSchaeffer_dyn.cc:186:5: error: ‘LIMPET_CALLOC’ was not declared in this scope

  186 |     LIMPET_CALLOC(IF->sv_tab.y,1,sizeof(MitchellSchaeffer_state));

I get 3 output files: MitchellSchaeffer.cc, MitchellSchaeffer.h, and MitchellSchaeffer_dyn.cc, but not the .so, which is what I would need to run the modified model (from what I understood from the limpet example).

Thank you very much!

Paula

2 Answers

+1 vote
by (3.4k points)
selected by
 
Best answer
Hello,

Unfortunately you are running into a known bug (see this issue: https://git.opencarp.org/openCARP/openCARP/-/issues/169).

Until it is solved, you can try using an older version of openCARP (for example version 11.0: https://git.opencarp.org/openCARP/openCARP/-/releases/v11.0)
0 votes
by (3.4k points)

It was fixed in that commit, you should be able to run make_dynamic_model.sh with the latest openCARP version.

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 } } });
...