pycif.plugins.platforms.tgcc_ccrt_nvidia — API reference

pycif.plugins.platforms.tgcc_ccrt_nvidia — API reference#

Configuration reference: tgcc_ccrt_nvidia plugin

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

Write a job shell file for the CCRT cluster

Parameters:
  • command (str) – command to execute

  • job_file (str) – path to the job file

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

Write and submit a job file to cluster scheduler with ccc_msub

Parameters:
  • command (str) – command to execute

  • job_file (str) – path to the job file

Returns:

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

Return type:

str

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

Check if the provieded jobs are running

Parameters:

job_id_list (list of str) – ids of the job to check

Returns:

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

Return type:

bool