[FLASH-USERS] Running multiple simulations simultaneously

Ji, Suoqing suoqing at caltech.edu
Wed Dec 5 23:14:53 EST 2018


Hi Malia,

Given that I might suspect there’s some bug during the initialization phase, perhaps related to array index going out of bound. Maybe you could trace down to the exact line where this crash occurs? It’s hard for me to imagine different object directories will lead to different outcomes…

Best regards,
—
Suoqing Ji
Sherman Fairchild Fellow
TAPIR & Walter Burke Institute for Theoretical Physics
California Institue of Technology
http://www.tapir.caltech.edu/~suoqing

On Dec 5, 2018, at 5:27 PM, Malia Jenks <rikku.hotaru at gmail.com<mailto:rikku.hotaru at gmail.com>> wrote:

I am currently using objdir to specify different directories for each. The code compiles with out issue in each of the directories, but crashes with a segmentation error a few minutes into running before it completes the grid setup. The only difference between a run that works and one that does this is running the setup script for another simulation.

Malia

On Wed, Dec 5, 2018, 6:04 PM Ji, Suoqing <suoqing at caltech.edu<mailto:suoqing at caltech.edu> wrote:
Hi Malia,

Yes — you could simply specify different object directories by adding -objdir=YOUR_DIRNAME during setup, and compile your code under YOUR_DIRNAME.

If all of your source code remains unchanged for these variations (or in other words, you do not need to recompile your code to switch to a different variation), you could simply copy the flash4 executable, flash.par file, as well as all data files needed (including your grid data file) under any directory, and run your code from there.

Best wishes,
—
Suoqing Ji
Sherman Fairchild Fellow
TAPIR & Walter Burke Institute for Theoretical Physics
California Institue of Technology
http://www.tapir.caltech.edu/~suoqing<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tapir.caltech.edu_-7Esuoqing&d=DwMGaQ&c=qKdtBuuu6dQK9MsRUVJ2DPXW6oayO8fu4TfEHS8sGNk&r=nUT1oi3cRbKdsMTgT8_PUA&m=gjsnDIS_7dUdR-aiPgICacLaBXe3HlEdeR21TLKREYA&s=T9WWMcqL9s-MVeQVRa5vH1cedJo8xim7MEZ7bMgjZRo&e=>

On Dec 5, 2018, at 3:57 PM, Jenks, Malia T. <mjenks at ou.edu<mailto:mjenks at ou.edu>> wrote:

I am trying to run three variations of the same simulation. I can setup and run each of them individually, but if I run the setup script a second time (for the second simulation) it causes the previous simulation to no longer work. The setup script and almost all of the files used are the same for each simulation the differences are in the flash.par file and the initialization grid data. I have been trying to run the setup to have 3 work directories (one for each version). Is there a way to be able to do this?
I am running FLASH4.4

Malia Jenks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20181206/d42ff87a/attachment.htm>


More information about the flash-users mailing list