Opened 4 years ago
Last modified 4 years ago
#6214 new defect
Simulate OpenModelica models on linux Server/Cluster
Reported by: | Owned by: | arunkumar palanisamy | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | OMPython | Version: | |
Keywords: | Cc: |
Description
Hello,
I'm using OpenModelica to simulate/optimize an decentralized energysystem. I'm using python (OMPYthon) to automatically call the simulation multiple times with different parameters. Now I want to run the optimization on a cluster system from my university. On the cluster I dont have sudo right, so i cant install openmodelica on the cluster. Does there exist an workaround to call a simulation from within a cluster system (like a docker-file)?
Attachments (1)
Change History (5)
by , 4 years ago
Attachment: | Dockerfile added |
---|
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Or you could use the published docker image on hub.docker.com.
Are the parameters structural or can you run the same compiled executable on each machine?
comment:3 by , 4 years ago
the parameters arent structural. i think its possible to run container via singularity at the cluster.
comment:4 by , 4 years ago
Since they aren't structural you could possibly just take the simulation executable and bundle it with the .so-files it uses and run the executable on each machine as well. A container is the same concept but a bit bigger.
if your cluster supports docker, then it is possible to use dockerfile to install openmodelica and run it inside the docker container. I have attached a sample dockerfile on how to use it. You can use it as an example