sfapi-ts

Home > @cjh1/sfapi > ComputeService > submitJob

ComputeService.submitJob() method

Submit Job Submit a job to run on a NERSC compute resource.

If successful this api will return a task_id which you can look up via the /tasks/task api. Once the job has been scheduled, the task body will contain the job id.

Signature:

submitJob(machine: PublicHost, formData: SubmitJobBody): CancelablePromise<ComputeCommandOutput>;

Parameters

Parameter Type Description
machine PublicHost  
formData SubmitJobBody  

Returns:

CancelablePromise<ComputeCommandOutput>

app__routers__compute__models__CommandOutput Successful Response

Exceptions

ApiError