pycif.plugins.platforms.tgcc_ccrt — API reference#
Configuration reference: tgcc_ccrt plugin
- pycif.plugins.platforms.tgcc_ccrt.jobs.init_job(self, exe, job_file)[source]#
Write an
#MSUBbatch script for the TGCCccc_msubscheduler.- Parameters:
self (Plugin) – platform plugin instance.
exe (str) – shell command to execute inside the job.
job_file (str) – path where the job script will be written.
- pycif.plugins.platforms.tgcc_ccrt.jobs.submit_job(self, exe, job_file, **kwargs)[source]#
Submit a job to cluster with msub
- pycif.plugins.platforms.tgcc_ccrt.jobs.auto_job_resource(self)[source]#
Set
nodesandcoresautomatically for CHIMERE (resource = 'auto').Computes the minimum number of nodes and the optimal core count per node so that
nzdoms × nmdoms + 1MPI tasks fit with minimal waste.
- pycif.plugins.platforms.tgcc_ccrt.jobs.check_jobs(self, list_jobs)[source]#
Return
Truewhen all listed jobs have left the TGCC scheduler queue.- Parameters:
self (Plugin) – platform plugin instance.
list_jobs (list[str]) – job identifiers returned by
submit_job.
- Returns:
Trueif every job in list_jobs has finished.- Return type:
bool