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-boun...@lists.schedmd.com> On Behalf Of Sorin Draga Sent: Wednesday, March 15, 2023 4:13 AM To: Slurm User Community List <slurm-users@lists.schedmd.com> Subject: Re: [slurm-users] sbatch does not work with Debian image You don't often get email from sor.dr...@gmail.com<mailto:sor.dr...@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! S On Tue, Mar 14, 2023 at 6:35 AM Shunran Zhang <szh...@ngs.gen-info.osaka-u.ac.jp<mailto:szh...@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? Sincerely, S. Zhang Sorin Draga <sor.dr...@gmail.com<mailto:sor.dr...@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, S