pycif.plugins.platforms.lsce_obelix_nvidia — API reference

pycif.plugins.platforms.lsce_obelix_nvidia — API reference#

Configuration reference: lsce_obelix_nvidia plugin

pycif.plugins.platforms.lsce_obelix_nvidia.jobs.init_job(self, command: str, job_file: str) None[source]#

Write a job shell file for the obelix cluster (PBS scheduler)

Parameters#

commandstr

command to execute

job_filestr

path to the job file

pycif.plugins.platforms.lsce_obelix_nvidia.jobs.submit_job(self, command: str, job_file: str) str[source]#

Write and submit a job file to cluster scheduler with qsub

Parameters#

commandstr

command to execute

job_filestr

path to the job file

Returns#

str

job id if qsub is used, else “” (empty string)

pycif.plugins.platforms.lsce_obelix_nvidia.jobs.check_jobs(self, job_id_list: List[str]) bool[source]#

Check if the provieded jobs are running

Parameters#

list_jobslist of str

ids of the job to check

Returns#

bool

True if no job is running, False if at least one job is still running