opm⚓︎
Wrap OPM-flow
ebos
⚓︎
Bases: eclipse
Class for running OPM ebos with Eclipse input files. Inherits eclipse parent class for setting up and running simulations, and reading the results.
flow
⚓︎
Bases: eclipse
Class for running OPM flow with Eclipse input files. Inherits eclipse parent class for setting up and running simulations, and reading the results.
SLURM_HPC_run(n_e, venv, filename, **kwargs)
⚓︎
HPC run manager for SLURM.
This function will start num_runs of sim.call_sim() using job arrays in SLURM.
are_jobs_done(job_id)
⚓︎
Check if all job array tasks are completed using sacct.
call_sim(folder=None, wait_for_proc=False)
⚓︎
check_sim_end(finished_member=None)
⚓︎
Check in RPT file for "End of simulation" to see if OPM flow is done.
Changelog
- ST 19/10-18
wait_for_jobs(job_id, wait_time=10)
⚓︎
Wait until all job array tasks are completed.