FreeFem++/Batch
From ScientificComputing
You can submit a FreeFem++ job (using the input file test.epd) in batch mode with the following command:
sbatch [Slurm options] --wrap="FreeFem++ test.epd"
Here you need to replace [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.