If your workflow is clear, and you can write (or create) it as a python-script (possibly by means of the ParaView Python macro recording capabilities), you only need to write a SLURM job script.

pvscript.sh
#!/bin/sh
#SBATCH -o ./pvscript.%j.%N.out
#SBATCH -D .
#SBATCH -J pvscript
#SBATCH --get-user-env
#SBATCH --partition=test
#SBATCH --nodes=2                            # what you need
#SBATCH --ntasks-per-node=24                 # what you need
#SBATCH --mail-type=none
#SBATCH --export=NONE
#SBATCH --time=00:30:00                      # what you need
#SBATCH --account=<project ID>               # necessary on SuperMUC-NG only!
module load slurm_setup                      # necessary workaround on SuperMUC-NG!
module load paraview-prebuild/5.6.0_mesa     # Look for available modules! But use MESA!
mpiexec pvbatch my_python_pv_script.py       # try srun or use mpiexec's "-laucher" options if this does not work out-of-the-box

Submission is done via sbatch pvscript.sh. The data file (source) location must be hard-coded into the ParaView python script.

  • No labels