Package Details: openmodelica-git 1.20.0.dev.r320.g9cbaf6232e-1

Git Clone URL: https://aur.archlinux.org/openmodelica-git.git (read-only, click to copy)
Package Base: openmodelica-git
Description: The Open Source Modelica Suite
Upstream URL: https://openmodelica.org
Licenses: OSMC-PL
Conflicts: openmodelica, openmodelica-dev, openmodelica-svn
Provides: openmodelica
Submitter: Xwang
Maintainer: ElMastro
Last Packager: ElMastro
Votes: 11
Popularity: 0.000000
First Submitted: 2015-06-20 11:21 (UTC)
Last Updated: 2022-10-02 22:56 (UTC)

Dependencies (19)

Required by (0)

Sources (10)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 16 Next › Last »

ElMastro commented on 2020-06-27 14:31 (UTC)

I can't make it work. Next week I'll sign on GIT and file the Issue. If someone would like to try it, I tried https://pastebin.com/3C1uLA10.

ppenguin commented on 2020-06-24 17:07 (UTC) (edited on 2020-06-24 17:07 (UTC) by ppenguin)

@ElMastro are you cloning/pulling ppenguin/OpenModelica? Is upd-submods.sh actually pulling ppenguin/* subrepos? The general idea was that the scripts show how to basically do it in 3 steps:

  1. pull/clone ppenguin/OpenModelica
  2. run upd-submods
  3. run build.sh (actually this is just configure)

Then make && make install

If during these steps you get a failure, could you file an issue with description and outputs on https://github.com/ppenguin/OpenModelica/issues?

ElMastro commented on 2020-06-24 16:47 (UTC)

@ppenguin: I can't make it work. Could please a file with the instructions be added to confirm how to do it? I followed https://github.com/OpenModelica/OpenModelica/pull/983 but I'm still doing something wrong...

ppenguin commented on 2020-06-21 12:55 (UTC)

@ElMastro It was a bit more involved, because the OpenModelica included qwt lib doesn't compile against Qt5.15. So I ended up forking the OM repo and the referenced sub-repos. Feel free to pull them from the PKGBUILD or fork them: ppenguin/OpenModelica. (Since it works now and I'm short on time I won't hack on them anytime soon.)

Then check the contents of upd-submod (basically just the same you normally do, probably no changes needed to PKGBUILD) and build.sh (for the configure CFLAGS, these are necessary).

With these I get a clean build, so what's left I guess is making sure to add qwt, coin-or-ipopt and mumps as dependencies.

One could consider to take sundials also out of the tree, and make it a normal dependency. (Would need updating submodule for 3rd party in repo).

Cheers, ppenguin

ElMastro commented on 2020-06-20 19:01 (UTC)

Awesome, I'm modifing the PKGBUILD to insert this part.

ppenguin commented on 2020-06-20 12:55 (UTC)

It appears the mumps error is generated in OMCompiler/ThirdParty/Ipopt/3rdParty/mumps. I succeeded in manually compiling after normally installing mumps with pamac, (ipopt appears to be already installed as coin-or-ipopt) and first making OMC with configure --without-ipopt (otherwise it doesn't bootstrap, only applies to the bootstrap pass, see help text in configure).

Just to be sure I deleted Ipopt from the OM tree altogether before all that. I guess (hope) that configure is smart enough to find mumps and ipopt from the system anyway.)

Still not completely out of the woods, OMPlot still fails, but OMC compiled successfully.

ElMastro commented on 2020-06-08 21:41 (UTC)

I tried with the mumps package, however it doesn't work. For what is my limited understanding that should have fixed it.

Xwang commented on 2020-06-07 17:49 (UTC)

@ElMastro: is it possible to solve by installing the mumps package and then modify, somehow, the PKGBUILD of openmodelica so that to force openmodelica to use the already installed mumps files instead of compiling the ones it provides?