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

조회 수: 3 (최근 30일)
チンカイ チウ
チンカイ チウ 2024년 2월 26일
답변: Damian Pietrus 2024년 3월 19일
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.

답변 (1개)

Damian Pietrus
Damian Pietrus 2024년 3월 19일
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.

카테고리

Help CenterFile Exchange에서 Third-Party Cluster Configuration에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by