Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
チンカイ チウ
チンカイ チウ le 26 Fév 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.

Réponses (1)

Damian Pietrus
Damian Pietrus le 19 Mar 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.

Catégories

En savoir plus sur Cluster Configuration dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by