fluiddyn.clusters.oar
OAR clusters (fluiddyn.clusters.oar
)
Provides:
- class fluiddyn.clusters.oar.ClusterOAR(check_scheduler=True, **kwargs)[source]
Bases:
Cluster
Cluster using the OAR scheduler
- stall(name_job, limit_number_jobs=1, time_check=30)[source]
Wait until job(s) completion.
- Parameters:
- name_run: str
Description of the job. Should be the same as in submit_script.
- limit_number_jobs: int (default: 1)
Stall when the number of job is larger or equal to limit_number_jobs.
- time_check: int
Time to sleep in seconds.
- class fluiddyn.clusters.oar.ClusterOARGuix(check_scheduler=True, **kwargs)[source]
Bases:
ClusterOAR
OAR cluster using the package manager Guix
- fluiddyn.clusters.oar.get_job_id(name_job)[source]
Get the job id from the name job
Typical output of
oarstat -u
Job id S User Duration System message --------- - -------- ---------- ------------------------------------------------ 644829 F augier3p 0:05:08 R=4,W=0:10:0,J=B,N=fluidsim-restart_nx160_Rb20_N20,T=idempotent (Karma=0.038,quota_ok)
Functions
|
Get the number of jobs returned by |
|
Get the job id from the name job |
|
Get some information about a job |
Classes
|
Cluster using the OAR scheduler |
|
OAR cluster using the package manager Guix |