Opened 4 years ago

Last modified 4 years ago

#6214 new defect

Simulate OpenModelica models on linux Server/Cluster

Reported by: lukas.koenemann@… Owned by: arun3688
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)

Dockerfile (1.2 KB) - added by arun3688 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by arun3688

comment:1 Changed 4 years ago by arun3688

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

comment:2 Changed 4 years ago by sjoelund.se

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?

Last edited 4 years ago by sjoelund.se (previous) (diff)

comment:3 Changed 4 years ago by lukas.koenemann@…

the parameters arent structural. i think its possible to run container via singularity at the cluster.

comment:4 Changed 4 years ago by sjoelund.se

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.

Note: See TracTickets for help on using tickets.