[slurm-users] sbatch does not work with Debian image

Williams, Jenny Avis jennyw at email.unc.edu
Sat Aug 26 22:15:06 UTC 2023

Two of likely several possibilities:

The slurm master host name does not resolve.
The rights on /etc/slurm are such that the user running the command cannot read /etc/slurm/slurm.conf
Jenny Williams
UNC Chapel Hill

From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Sorin Draga
Sent: Wednesday, March 15, 2023 4:13 AM
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] sbatch does not work with Debian image

You don't often get email from sor.draga at gmail.com<mailto:sor.draga at gmail.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Hello everyone and thank you for the feedback,
@Shunran Zang: Indeed, for some reason there is no slurm.conf file in the /etc/slurm/ directory. We previously used the  ShedMD's CentOS images and things worked fine. Could this be due to the Debian GCP image?
Many thanks!

On Tue, Mar 14, 2023 at 6:35 AM Shunran Zhang <szhang at ngs.gen-info.osaka-u.ac.jp<mailto:szhang at ngs.gen-info.osaka-u.ac.jp>> wrote:
The error message says that slurm cannot find slurm config file. Do you have a local copy of /etc/slurm/* or share the /etc/slurm across NFS, or using DNS & configless slurm?

S. Zhang

Sorin Draga <sor.draga at gmail.com<mailto:sor.draga at gmail.com>>於2023/03/14 18:49寫道:

Hello everyone,

I'm trying to run the new Debian image with SLURM, namely debian-11-bullseye-v20230206 but sbatch/sinfo do not seem to work. I installed slurm-client via:

sudo apt-get install slurm-client

but it did not solve the problem:

sinfo: error: resolve_ctls_from_dns_srv: res_nsearch error: Unknown host
sinfo: error: fetch_config: DNS SRV lookup failed
sinfo: error: _establish_config_source: failed to fetch config
sinfo: fatal: Could not establish a configuration source

I am using this image because it provides python 3.9.x out-of-the-box.

It might be that the problem is trivial and I am missing something.

Would appreciate your help and insight

Kind regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230826/baf65b7c/attachment-0001.htm>

More information about the slurm-users mailing list