Prepare, dry-run, submit, and monitor SLURM jobs on HKUST hpc4. Use when Codex needs to work with `sbatch`, `squeue`, `sinfo`, `sacct`, `scancel`, remote batch scripts, or engine job wrappers on hpc4, especially when the run must follow the cluster's confirmed login-shell, account, workdir, and environment-loading rules.
Use this skill to submit jobs on hpc4 without rediscovering the cluster-specific pitfalls. Prefer a repo-local durable note when it exists, use the bundled reference as fallback, and keep a confirmation gate before any real submission or cancellation.
.codex/hpc4-server-info.md first if the current repo has it.WIEN2k, verify it exports WIENROOT, sources set_env, and either exports PATH=${WIENROOT}:$PATH or calls executables by absolute path.ssh sqwu@hpc4 bash -l -c 'cd /remote/workdir && sbatch --test-only job.batch'
sbatch or scancel action.bash -l -c.cd correctly.ssh sqwu@hpc4 bash -l -c 'cd /remote/workdir && sbatch job.batch'
sbatch.ssh sqwu@hpc4 bash -l -c 'squeue -j JOBID'