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

Hi,

I installed Opencarp on our HPC following the install from sources section and enabling the build external flag. When I try to generate the dynamic model with make_dynamic_model.sh, I have the following error:

rds/general/user/ccorrad1/home/models/ionic_model/mMS.cc:111:7: error: #error "Could not generate method mMSIonType::compute."
  111 | #     error "Could not generate method mMSIonType::compute."
      |       ^~~~~
 

and the .so file is not generated (all the others: .h, .cc  and _dyn.cc are generated). On my desktop machine, where I installed carp from binaries, I'm able to build the dynamic model.

How can I fix this?

Thanks.

Best,

Cesare

1 Answer

0 votes
by (19.2k points)
If it only shows up on the HPC machine, we'll need some more information about the differences between your local build and the one on the HPC system.

- Operating system

- Compiler used

- openCARP version/commit
by (240 points)
on my desktop machine:
- OS: Ubuntu 20.04.6 LTS
- opencarp: installed from binaries (version 11):
openCARP -buildinfo
GIT tag:              v11.0
GIT hash:             fd8419d5c7649060c9447adf2dbee1723a8af9db
GIT repo:             https://gitlab-ci-token:Y7gm3uQHsDaKpaUD43Qz@git.opencarp.org/openCARP/openCARP.git


on the hpc.

- compiler: gcc 11.3.0
- opencarp: installed from sources on the git repository.
openCARP -buildinfo
GIT tag:              v13.0-40-g83f67f9a
GIT hash:             83f67f9a4821351ec75ab604b4f973217bb8925c
GIT repo:             https://git.opencarp.org/openCARP/openCARP.git
by (19.2k points)
by (240 points)
Should I only do git pull and then recompile?
by (610 points)
I assume you need to checkout to the said commit by:
```
git checkout 3b67fa0788dfce82aedc91ac4d9c27427bec979b
```
and recompile the version of the software from there.
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
...