submit_lsdyna_job
Submits LS-DYNA .k files as standalone solver jobs outside Workbench, queues runs, and writes output to the input folder.
Instructions
Run LS-DYNA on a .k file outside Workbench (what LS-Run does). Only the solvers listed in Workbench's lsdyna_solvers.xml can be run, and the input must be inside an allowed folder. Jobs queue (max concurrent: env LSDYNA_MCP_MAX_JOBS, default 1; one job per folder); output goes to lsrun.stdout.txt in the input's folder. SMP: lsdyna_*.exe i=... ncpu=...; a NEGATIVE ncpu gives reproducible results at up to 15% more CPU time. MPP: mpiexec -np N (IntelMPI uses -localonly). Needs the Ansys LS-DYNA license (LSTC_LICENSE=ANSYS) and, beyond one core, HPC licenses. Args: input_file; ncpu (non-zero, at most 512 in magnitude); process (SMP|MPP); precision (single|double); mpi (IntelMPI|MSMPI); memory (words, e.g. 200m; empty = solver default); depends_on (job id to wait on for normal termination, -1 = last submitted); version; extra_args_json (JSON list of key=value strings; only case, memory2, jobid are accepted, e.g. ["case=1"]); dry_run (build the command, don't run); restart_file (name of a restart file such as d3dump01 or d3full01 in the input's folder: the run is started with r=; check_restart_setup says whether a restart is possible and what the input must contain)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpi | No | IntelMPI | |
| ncpu | No | ||
| memory | No | ||
| dry_run | No | ||
| process | No | SMP | |
| version | No | ||
| precision | No | double | |
| depends_on | No | ||
| input_file | Yes | ||
| restart_file | No | ||
| extra_args_json | No | [] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |