r/HPC • • 6h ago

Open-source app that lets chemists run quantum chemistry jobs on Slurm without writing sbatch scripts. What would break on your cluster?

0 Upvotes

Quachem Workbench is a free, open-source (Apache 2.0) desktop app for small-molecule quantum chemistry with PySCF and GPU4PySCF. One of its main jobs is letting chemists who have never written a batch script run on their university cluster, and I'd like people who run or support clusters to tell me where it would cause trouble.

How it uses a cluster:

  • The user adds the cluster once with a partition, account, CPUs, memory, time limit, GPU count and type, and any extra #SBATCH lines.
  • The app keeps one SSH connection per cluster. The user opens it, checks the host key fingerprint, and answers password, Duo or device-code prompts in the app window. It reads ~/.ssh/config, so ProxyJump works.
  • It uploads the engine image, checks its SHA-256 on the cluster, and builds the Apptainer SIF as a Slurm job, so the build doesn't run on a shared login node.
  • Jobs run in Apptainer. If the session drops, the jobs keep running, and on reconnect the app reads squeue, sacct and the job folder to find each job's state, then copies the results back.
  • Jobs submitted from the command line, including by scripts or AI agents, wait for the user's approval in the app before they go to a cluster.

Known gaps: it supports Apptainer only (no Pyxis/enroot yet), and it doesn't delete remote job folders, so your scratch purge policy applies. It has been tested against a containerised Slurm test cluster and recorded on one real cluster running Slurm 26.05.

Questions for admins:

  1. How often is it acceptable for a user's tool to call squeue and sacct?
  2. Would you rather a tool like this used Open OnDemand or the Slurm REST API than an SSH session?
  3. What do chemists most often get wrong on your cluster that a tool like this should prevent?

The project was built with a lot of help from Claude, and so was this post. Cluster docs: https://quachem.org/docs/remote-targets/ and source: https://github.com/quachem/quachem-workbench