GET SIMULATION HPC JOB DIRECTORY

Looks up a simulation record by ID and returns its HPC job directory path. Use this worker to retrieve the working directory of an already-submitted HPC job before downstream file I/O or post-processing steps.

When to use

Tagged: battery, hpc, hpc_job_dir, job_directory, simulation.

Inputs

Label ID Type Default Required Description
Simulation simulation_id remote_lookup The d3VIEW simulation record to query; must reference an existing simulation that has already been submitted to HPC — select via the remote lookup picker (primaryKey: remote_lookup_simulations).

Outputs

Label ID Type Description
Simulation ID simulation_id integer Integer primary key of the resolved simulation record, passed through for use by downstream workers.
HPC Job Directory hpc_job_dir text Absolute filesystem path to the HPC job working directory (e.g. /scratch/jobs/12345); empty string if the simulation has not yet been submitted to HPC.
Status status string Human-readable status message confirming whether hpc_job_dir was found; includes a remediation hint (‘Submit the simulation to HPC before calling this worker’) when the path is absent.

Disciplines

  • platform.hpc_config
  • platform.job_submission

Auto-generated from platform schema. Worker id: simulation_get_folder. Schema hash: 97cd96bacb34. Hand-curated docs in workerexamples/ override this page when present.