Does anyone managed to run MS with SLURM?

Hi all,
I try to launch a job from the Windows MS 2017 client and I get this error message:
Could not open stdout file /opt/BIOVIA/MaterialsStudio17.1/etc/Gateway/root_default/dsd/jobs/X2WR5/slurm-778255.out: No such file or directory

How can I modify the variables such as jobdir, which is set as follow in my case (from the file slurm.sh):
jobdir="/opt/BIOVIA/MaterialsStudio17.1/etc/Gateway/root_default/dsd/jobs/YWTYL"

Thanks.

Jean-Claude