Filter löschen
Filter löschen

Set up multi nodes in cluster with 'sinfo' error message

3 Ansichten (letzte 30 Tage)
チンカイ チウ
チンカイ チウ am 26 Feb. 2024
Beantwortet: Damian Pietrus am 19 Mär. 2024
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.
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.

Antworten (1)

Damian Pietrus
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.

Kategorien

Mehr zu Cluster Configuration finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by