runs stats bit as a slurm job - since bash script doesn't load modules at the moment

This commit is contained in:
Beale John Henry
2025-03-11 08:32:28 +01:00
parent 5e34133fa6
commit 82c9c30abf

View File

@@ -355,8 +355,11 @@ def main( cwd, name, stream, pointgroup, model, iterations, cell, shells, part_h
# now run the check and compare scripts
print( "running check/compare" )
submit_cmd = [ "{0}".format( check_run_file ) ]
subprocess.call( submit_cmd )
check_job_id = submit_job( check_run_file, reservation )
print( f"job submitted: {0}".format( check_job_id ) )
submitted_job_ids.add( check_job_id )
time.sleep(10)
wait_for_jobs( submitted_job_ids, 1 )
print( "done" )
# stats files names