[slurm-users] salloc not working in configless setup on login machine

Angelos Ching angelosching at clustertech.com
Wed Mar 4 11:46:02 UTC 2020


Hi Gizo,

I noticed SLURM_CONF was set to a broken socket when inside salloc, 
that's why sinfo was confused.
I've found a workaround that if I "unset SLURM_CONF" before sinfo, then 
sinfo works.

Maybe a bug needs to be reported for this.

Best regards,
Angelos

On 3/4/20 2:07 AM, nanava at luis.uni-hannover.de wrote:
> Hi,
>
> if I execute salloc on a login machine and then run any user command,  I get the following error:
>
> [testuser at login03] $ salloc -p gpu  --ntasks=8 --mem=7000mb
>
> [testuser at login03] $ sinfo
> sinfo: error: Parse error in file /proc/4050/fd/5 line 1: ""
> sinfo: error: Parse error in file /proc/4050/fd/5 line 4: ""
> sinfo: error: Parse error in file /proc/4050/fd/5 line 6: ""
> sinfo: error: Parse error in file /proc/4050/fd/5 line 7: "|"
> sinfo: error: Parse error in file /proc/4050/fd/5 line 8: "|"
> sinfo: error: Parse error in file /proc/4050/fd/5 line 9: "!"
> .....
> ...............
> sinfo: error: ClusterName needs to be specified
> sinfo: fatal: Unable to process configuration file
>
> The slurm packages installed on the login node:
>
> [testuser at login03] $ rpm -qa slurm*
> slurm-20.02.0-1.el7.x86_64
> slurm-perlapi-20.02.0-1.el7.x86_64
>
> The slurmctl is identified through dns srv record. If I run sinfo without prior execution of salloc, then it works.
>
> Do cluster login nodes still require slurm.conf file?
>
> Thank you.
>
> Best  regards
> Gizo
>



More information about the slurm-users mailing list