Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

What "system" libraries can be assumed for the Cross Check? #99

Closed
AnHeuermann opened this issue Oct 26, 2020 · 2 comments
Closed

What "system" libraries can be assumed for the Cross Check? #99

AnHeuermann opened this issue Oct 26, 2020 · 2 comments
Labels
question Further information is requested

Comments

@AnHeuermann
Copy link
Contributor

OMSimualtor is running the FMI Cross Check (see libraries.openmodelica.org) inside a Docker image with only a few libraries installed.
In this Docker images ( anheuermann/ompython on DockerHub: Ubuntu Bionic, Ubuntu Focal, Ubuntu Bionic with Wine ) some libraries used by a lot of FMUs are not installed.

For example FMUs that use

Which of these libraries are assumed every user of an FMU has locally installed? If I understand the FMI standard correctly every FMU should contain all libraries needed to run it, but that's not really realistic.
Adding the correct Fortran library for every linux64 system could be very hard.
But on the other hand it is not possible (or very hard) to install libgfortran.so.3 on Ubuntu Focal.

So my question:
Are the example FMUs not compliant with the latest rules of the FMI Cross Check or should I add the missing libraries to my Docker images?

@AnHeuermann
Copy link
Contributor Author

Related issue: #57

@t-sommer t-sommer added the question Further information is requested label Oct 27, 2020
@t-sommer
Copy link
Collaborator

t-sommer commented Oct 27, 2020

FMUs with external dependencies are perfectly fine (e.g. a license server) but you'll have to accept the fact that very few people will be able (and willing) to simulate them.

In FMI 3.0 these dependencies can even be documented in the XML.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants