# PATHSAMPLE + OPTIM + ORCA: CHECKMIN / CHECKTS of an existing database

Re-checks stationary points of an N6 GFN2-xTB database (31 minima, 89 TSs) at wB97X-D3/cc-pVDZ:
CHECKMIN 1 2 (pathdata.checkmin), then CHECKTS 1 1 (pathdata.checkts); job.sh runs both.
Database files: min.data, ts.data, points.min, points.ts, min.A, min.B; ZSYM gives the atom types.
SLURM keyword: 2 OPTIM jobs at once (`--ntasks=2`), 3 ORCA cores each (`--cpus-per-task=3` = `%PAL NPROCS 3`).
Run: `sbatch job.sh` (~2 h in all, most of it CHECKTS). Output: `output.checkmin`, `output.checkts`,
`OPTIM.checksp.*`, `convcheck.*`. Expected: "stationary point 1 / 2 ... converged" in output.checkmin and
"stationary point 1 ... converged" in output.checkts. The DFT energies differ from those in min.data and ts.data
(they are GFN2-xTB values); what is checked is convergence.

ORCA and MPI: job.sh swaps the Open MPI 5.0.5 of module orca/6.1.1 for 4.1.7 (5.0.5 now and then segfaults inside
ORCA; the "reloaded with a version change" message in slurm-*.out is expected) and turns core binding off.
The ORCA line of the odata files runs `./orca_retry.sh`, which runs ORCA and reruns a failed call (up to 3 times);
COPYFILES in pathdata puts a copy in every OPTIM job folder, with or without RUNLOCAL. Failures are logged in
`orca_failures/failures.log` in this folder, and job.sh prints a NOTE if that file exists. A hung call is not caught.
