- Index
- » Developer
- » OpenModelica development
- » OpenModelica install on Ubuntu 21.10
OpenModelica install on Ubuntu 21.10
OpenModelica install on Ubuntu 21.10
Hello,
This post is just a pointer about the January 2022 situation of installing OpenModelica (e.g. OMEdit) on Ubuntu 21.10. I didn't see a Github issue to track this, should I create one?
Fact: perhaps because the 1.18 series was first released in September 2021, there is no "impish" directory (that is the 21.10 release name as reported by `lsb_release -cs`) in the repository https://build.openmodelica.org/apt/dists/ .
Still, using the OpenModelica build for 21.04 (with "deb http://build.openmodelica.org/apt hirsute stable" in sources.list file) makes OpenModelica mostly installable. Here is how:
Only issue is: omc recommends libomccpp (for "Cpp code generation target" says the package description) which itself depends on libomp5-12 (LLVM 12 OpenMP runtime). The latter conflicts with libomp5-13 (same lib, but from LLVM 13). Context: Ubuntu 21.04 ships LLVM 12 while 21.10 ships LLVM 13.
There comes the dependency conflict, since omc depends on clang, that is LLVM 13 (not sure of the exact dependency path though).
In the end, letting the recommended dependency libomccpp uninstalled results in a seemingly well functionning OpenModelica install (if C++ code generation is not needed of course).
Best,
Pierre
Re: OpenModelica install on Ubuntu 21.10
pierreh wrote:
This post is just a pointer about the January 2022 situation of installing OpenModelica (e.g. OMEdit) on Ubuntu 21.10. I didn't see a Github issue to track this, should I create one?
Yes, please go ahead and open a ticket on our GitHub about this: https://github.com/OpenModelica/OpenModelica/issues
- AnHeuermann
- 52 Posts
- Index
- » Developer
- » OpenModelica development
- » OpenModelica install on Ubuntu 21.10