BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich | ![]() |
You are not logged in.
Pages: 1
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
Offline
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
Hi Matteo,
thanks for your quick reply. I will try it that way, do you have a sample code at hand per chance?
Offline
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
Thanks a lot!
Offline
Pages: 1