Editing plugin scripts for Generic scheduler
    4 views (last 30 days)
  
       Show older comments
    
I have been trying to run simulations on a cluster using 
batch()
 function and/or using 
parcluster
 and I edited the plugin scripts that was provided by Mathworks at the time of downloading MPS with Slurm. I followed the instruction given here. However, none of the of the added sbtach options seem to work. My setup has a nonshared file cluster where I am trying to submit from Matlab client on Windows machine to a cluster running Linux nodes. I tried setting those options via 'EnvironmentVariables' in batch but that still does not work either.
So, how can I correctly add sbatch options to the jobs that I want to submit  to the cluster?  
0 Comments
Answers (1)
  Raymond Norris
    
 on 11 Mar 2022
        Can you post the MATLAB code you wrote to add the sbatch options?  Setting EnvironmentVariables won't resolve this issue (sbatch won't pick them up).
See Also
Categories
				Find more on Third-Party Cluster Configuration in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
