User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2023-04-19 06:56:47

Christian_Juffinger
User
From: Innsbruck
Registered: 2023-04-03
Posts: 4

queuing up simulations

Hi there,

for my master's thesis, I need to run several hundred 2D-simulations. Are there any ideas on how best to queue up simulations with Basement?

One way i figured out would be to open up basement in batch mode and feed the input via an external programm.
Any other suggestions?

Thanks for your advice wink

Offline

#2 2023-04-19 08:29:02

Matteo Facchini
Developer
From: Trento
Registered: 2014-09-05
Posts: 278

Re: queuing up simulations

Hi Christian,
you can create a batch (or bash, depending on the OS you are using) file and just write the batch lines for several simulations after one another.
If you need to move or rename files you can also do that by inserting the proper commands in the batch files.
As for the use of the resources, you can choose if running two processes in parallel (e.g., 10 simulations, 5 in one process and 5 in another), or just one (e.g., 10 simulations in one single process).

Last edited by Matteo Facchini (2023-04-19 08:29:16)

Offline

#3 2023-04-19 09:05:42

Christian_Juffinger
User
From: Innsbruck
Registered: 2023-04-03
Posts: 4

Re: queuing up simulations

Hi Matteo,
thanks for your quick reply. I will try it that way, do you have a sample code at hand per chance?

Offline

#4 2023-04-19 11:32:46

Matthias Bürgler
Developer
From: Zürich
Registered: 2019-04-04
Posts: 150

Re: queuing up simulations

Hi Christian,

Examples for both Windows and Linux can be found in the User Manual of BASEMENT. Have a look at section 5 of the most recent version available here: https://basement.ethz.ch/download/softw … docu4.html

Best regards,
Matthias

Offline

#5 2023-04-19 12:58:57

Christian_Juffinger
User
From: Innsbruck
Registered: 2023-04-03
Posts: 4

Re: queuing up simulations

Thanks a lot!

Offline

Board footer

Powered by FluxBB