Set up multi nodes in cluster with 'sinfo' error message
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I would like to run multi nodes in my cluster. First, I tried to the following commend to create a slurm profile
slurm = parallel.cluster.Slurm;
by following the instruction of this link.
https://www.mathworks.com/matlabcentral/answers/1749950-running-parfor-on-multiple-nodes-using-slurm
It turns out there is an error message.
Error using parallel.internal.apishared.SlurmUtils.getClusterName (line 29)
Unable to proceed because 'sinfo' is not on your path. Most likely this is because your computer is not
set up to submit to a Slurm cluster or because the Slurm scripts are not on your path.
So I tried to import my slurm by typing
cluster_setup=parallel.importProfile('OneNode.mlsettings');
OneNode.mlsettings is my slurm profile. Unfortunately, the same error message shows up again.
Unable to proceed because 'sinfo' is not on your path. Most likely this is because your computer is not
set up to submit to a Slurm cluster or because the Slurm scripts are not on your path.
I am not sure what it is wrong. What is 'sinfo'? I would truly appreciate it if someone can help me out.
0 Kommentare
Antworten (1)
Damian Pietrus
am 19 Mär. 2024
There are a few ways that you can setup your MATLAB client to submit jobs to a cluster. Based on the fact that 'sinfo' is not on your path, it sounds like your MATLAB client is separate from the cluster. Is this the case? If so, we will need to configure MATLAB to make a remote connection to the cluster login/head node to be able to submit jobs.
The first step I would recommend would be to download the Slurm plugin scripts from the MathWorks Github repo:
From here, you can configure your cluster profile based on a few different factors. If you need help, I recommend reaching out to MathWorks support or to me directly. We should be able to help you configure your cluster profile for job submission.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Cluster Configuration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!