Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 725 Bytes

RemoteSlurmServer.create_job.md

File metadata and controls

26 lines (16 loc) · 725 Bytes

RemoteSlurmServer.create_job (function)

def create_job(self, job_name=None, nprocs=4)

Create a child RemoteSlurmJob instance.

Arguments

  • job_name (string, optional, default=None): name for this job instance. If not provided, one will be created from the current datetime and accessible through RemoteSlurmJob.job_name. This job_name will be necessary to reconnect to a previously submitted job.
  • nprocs (int, optional, default=4): default number of procs to use when calling RemoteSlurmJob.submit_job

Returns