! PATHSAMPLE input. A line whose first word is "!" is a comment ("!" must be followed by a space).
! Task: re-minimise database minima 1 to 2 with OPTIM (+ORCA), using odata.checksp
CHECKMIN 1 2

! number of atoms (must match the database)
NATOMS 6
! read the atom symbols from the file ZSYM and pass them to OPTIM with the coordinates
READZSYM
! the database has no frequencies (must match NOFRQS in odata.checksp)
NOFRQS
! keep a TS as its own entry even if another TS already joins the same two minima
ALLTS
! permutation-aware comparison in PATHSAMPLE too (relabelled N6 = same minimum)
PERMDIST

! CYCLES: PATHSAMPLE runs at most CYCLES x (OPTIM jobs at once) OPTIM jobs in total.
! For CHECKMIN/CHECKTS this must cover the points to check: here 1 x 2 jobs = 2 minima.
CYCLES 1
! the OPTIM binary; extra files copied into each OPTIM job's folder (orca_retry.sh: see the ORCA line in odata.checksp*)
EXEC /sharedscratch/wales/OPTIM.gfortran/OPTIM
COPYFILES ZSYM ORCA.template orca_retry.sh
! used by sampling and rate calculations, not by CHECKMIN/CHECKTS (TEMPERATURE is kT in the database's
! energy units, here Eh): 0.01 Eh (6.3 kcal/mol) is of the order of the energy differences between the low minima here
DIRECTION AB
CONNECTIONS 1
TEMPERATURE 0.01
! PATHSAMPLE's "same structure" test: energies within 1e-5 Eh and best-aligned distance < 0.3 A (0.6 for large systems or doubtful convergence)
EDIFFTOL 1.0D-5
GEOMDIFFTOL 0.3
! random-number seed (reproducible runs)
SEED 1
! run each OPTIM job in a folder on this file system (no copying to remote scratch)
RUNLOCAL
! start the OPTIM jobs with srun, using nodes.info (written by job.sh). Must come after any CPUS line.
SLURM
! CPUS would set the number of OPTIM jobs at once, but SLURM overrides it with nodes.info.
! (Without SLURM, CPUS > 1 runs all OPTIM jobs in ONE folder and they overwrite each other's ORCA files.)
! CPUS 2
! seconds to wait between starting OPTIM jobs
SLEEPTIME 0.0
! close min.data / ts.data after every write, so they are complete if the job is killed
CLOSEFILES
