Gmsh/Batch
From ScientificComputing
You can submit a gmsh job in batch mode with the following command:
sbatch [Slurm options] --wrap="gmsh [gmsh options]"
Here you need to replace [gmsh options] with gmsh command line options (please run gmsh -h for getting a list of all command line options) and [Slurm options] with Slurm parameters for the resource requirements of the job. Please find a documentation about the parameters of sbatch on the wiki page about the batch system.