PlasmaControl / data-fetching

toksearch-based scripts (+ a few OMFIT ones) for pulling data; plotting scripts for Joe and Rory's 2021 control experiment stuff
6 stars 1 forks source link

Problem with MDS crashing fix #2

Open andybroth opened 3 months ago

andybroth commented 3 months ago

Because MDS crashes, there was a fix to check for an MDS crash and go on to the next shot. When this happens, it relaunches but uses the default slurm directory option in submit_single_run() in launch_parallel_jobs_function.py. This is currently not updated based on the slurm directory when you run the launch_parallel_jobs.py script.

Because of this bug, it ends up crashing when MDS fails because this slurm directory doesn't exist.

andybroth commented 3 months ago

Fix for now, just update the default slurm directory in the file to whatever you set in launch_parallel_jobs.py

andybroth commented 3 months ago
shutil.copyfile(baseconfig_filename, os.path.join(slurm_dir,f'.yaml'))

Line 26 in launch_parallel_jobs_function.py

I think this line is the issue and can maybe just be commented out @HiroFarre?