Since you mentioned "an alternate configuration file", look at the bottom of 
the sbatch online docs.  It describes a SLURM_CONF env var you can set that 
points to the config files.

Rob

________________________________
From: Groner, Rob via slurm-users <slurm-users@lists.schedmd.com>
Sent: Monday, May 20, 2024 3:24 PM
To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com>; Alan Stange 
<sta...@rentec.com>
Subject: [slurm-users] Re: Running slurm on alternate ports

It gets them from the slurm.conf file. So wherever you are executing 
srun/sbatch/etc, it should have access to the slurm config files.

________________________________
From: Alan Stange via slurm-users <slurm-users@lists.schedmd.com>
Sent: Monday, May 20, 2024 2:55 PM
To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com>
Subject: [slurm-users] Running slurm on alternate ports

Hello all,

for testing purposes, we would like to run slurm on ports different from
the default values.   No problems in setting this up.  But how does one
tell srun/sbatch/etc what the different port numbers are?   I see no
command line options to specify a port or an alternate configuration file.


Thank you,

Alan

--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com
-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to