- Index
- » Users
- » pierreh
- » Profile
Posts
Posts
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
Links are fixed. I didn't know it was necessary to add a empty space after URLs, sorry.
Thanks for cross posting this as a Github issue.
Best regards,
Pierre
I just followed the instructions on the https://openmodelica.org/download/download-linux page.
On Ubuntu 21.10, adding the GPG key of the repository with
Code:
wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add -
yields a deprecation message. Indeed, the man page (https://manpages.ubuntu.com/manpages/im … key.8.html ) specifies that apt-key will be removed after Debian 11 and Ubuntu 22.04.
I'm not familiar with repository signing, but I found a blog post from Jan 2021 which explains quite well the security issue of apt-key and the new recommended way : https://www.linuxuprising.com/2021/01/a … o-add.html . It seems that the sources.list file should contain a new signed-by option like
Code:
deb [signed-by=/path/to/openmodelica-key.gpg] ...
So the present install instructions are still working, but it seems it will need an update in the coming months.
As of now (Jan 2022), it seems that apt-key is still in Debian testing (https://packages.debian.org/bookworm/amd64/apt/filelist ) but if the deprecation message gets fulfilled, it should disappear at some point before Debian 12 release (this resonates with the platform stability issue discussed in previous thread). Same for Ubuntu 22.10.
I agree that a "Data" output (MAT or CSV or other typical format) would be useful. Perhaps you could open a ticket, especially since you have a patch ?
Hi,
I would like to second ulrich1a feedback. For me the new behavior of OM 1.14 which synchronizes the views is a regression. It is often the case that I need to the read the doc of component when developping the upper level model which uses that component.
Is there already a bug report where we could elaborate this?
Best,
Pierre
Hi,
I also just got hit by this problem. I believe the relevant issue on bug tracker is ticket 3554#. Unfortunately it doesn't provide solutions.
best, Pierre
- Index
- » Users
- » pierreh
- » Profile