Hello!
In place of your input file with the [variable] to be changed n-times, you could use a template file with a [keyword] to be searched and replaced via a loop, and then e.g. in Python you run the simulation at every loop step with:
import subprocess
[...]
subprocess.call(" your exec line for FLUKA here ", shell=True)
Elena
________________________________
From: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on behalf of Thomas Grandsaert <Thomas.Grandsaert_at_esss.se>
Sent: 27 June 2018 23:28:16
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Loop variable run in sequential queue
Dear fluka experts,
I am running a simulation loop over a variable on a laptop and need to run the input files in sequential order (not parallel).
I have found other threads on this topic with no luck.
If there is anyone who has developed a workaround for this, or if I am missing something, please share your workflow.
Cheers,
T
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Jun 28 2018 - 15:17:10 CEST