First time here? Checkout the FAQ!
x
0 votes
by (300 points)

In tutorial 04_limpet_fe, when I type “make_dynamic_model.sh my_MBRDR” in the terminal, it shows “make_dynamic_model.sh: command not found.”It says “The script needs the path of the source code as well as compiled libraries from openCARP.” in the https://opencarp.org/documentation/examples/01_ep_single_cell/04_limpet_fe but I don't know how to do it specifically. Could you please provide further operational details?

And In Tutorials 5, run "limpet_fe modelname.model", which also shows "limpet_fe:command not found" after typing in the terminal:.

Thank you very much for answering this question!

by (19.2k points)
Please provide the output of calling "env" and tell us how you installed openCARP (build from source, via a package manager, Docker...)
by (300 points)
Thank you very much! I've already solved the problem, and to help others in the future, I'd like to share the solution here:
1.Enter “su” and password in the terminal
2.Enter "nano ~/.bashrc" in the terminal
3.Add "export PATH=$PATH:/home/z/openCARP/physics/limpet/src" on the last line
4.Save and exit bashrc
5.Enter "source ~/.bashrc" in the terminal
6.Enter "make_dynamic_model.sh my_MBRDR" in the terminal after completing the above steps

1 Answer

0 votes
by (19.2k points)
Answered above.

Side note: you should not need super user privileges (su) to edit your .bashrc file
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
...