Re: [slurm-users] srun --mem issue

2022-12-08 Thread Moshe Mergy
ubject: Re: [slurm-users] srun --mem issue Loris Bennett writes: > Moshe Mergy writes: > >> Hi Sandor >> >> I personnaly block "--mem=0" requests in file job_submit.lua (slurm 20.02): >> >> if (job_desc.min_mem_per_node == 0 or job_desc.min_mem

Re: [slurm-users] srun --mem issue

2022-12-07 Thread Moshe Mergy
Hi Sandor I personnaly block "--mem=0" requests in file job_submit.lua (slurm 20.02): if (job_desc.min_mem_per_node == 0 or job_desc.min_mem_per_cpu == 0) then slurm.log_info("%s: ERROR: unlimited memory requested", log_prefix) slurm.log_info("%s: ERROR: job %s from user %s

Re: [slurm-users] Partition dedicated to batch jobs only

2022-05-10 Thread Moshe Mergy
Thanks a lot René ! It helps me a lot! An additional question about the log messages from job_submit.lua: With slurm.log_info(), I want to display the job ID instead of the job name "job_desc.name" in function slurm_job_submit(), but I didn't find such a relevant field in the job_desc type. I

[slurm-users] Partition dedicated to batch jobs only

2022-05-09 Thread Moshe Mergy
Hi all, How could I define a partition dedicated to batch jobs only, i.e. to use with sbatch only, not permitting to run srun/interactive jobs on it? Using Slurm options ? Using a Lua script blocking srun ? (though I don't understand much in Lua scripts) I currently use Slurm 20.02 Thanks a lot

Re: [slurm-users] Slurm 20.02 Dry-Run DB upgrade - Question on the cloned DB

2022-02-07 Thread Moshe Mergy
ggest to try again being cautious and make a dummy2 user or such. Your questions now are getting out of slurm and into mysql area, so may be more appropriate in another forum. Brian Andrus On 2/7/2022 9:36 AM, Moshe Mergy wrote: You're right Brian, - after shutting down slurmdbd on the

Re: [slurm-users] Slurm 20.02 Dry-Run DB upgrade - Question on the cloned DB

2022-02-07 Thread Moshe Mergy
You're right Brian, - after shutting down slurmdbd on the cloned DB node, sshare still shows the dummy user !! BUT `mysqlshow -p --status ` shows a different creation date for the cloned DB. - 'localhost' is already set for the SlurmtctldHost and AccountingStorageHost (slurm.conf) and DbdHos

Re: [slurm-users] Slurm 20.02 Dry-Run DB upgrade - Question on the cloned DB

2022-02-07 Thread Moshe Mergy
Yes Brian, sshare performed on the head node or on ANY other nodes, shows the dummy user created on the node with the cloned DB I wanted to test the (cloned) DB upgrade in advance, and the real DB upgrade a few weeks later (after the users deadlines) Moshe Fro

[slurm-users] Slurm 20.02 Dry-Run DB upgrade - Question on the cloned DB

2022-02-07 Thread Moshe Mergy
Hi all I cloned the Slurm DB into a separated node, in order to test and run a Dry-Run DB upgrade. Slurm 20.02.4 --> 21.08.5 on CentOS 7.6 / MariaDB 5.5.64-1. according to guide https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#make-a-dry-run-database-upgrade DB cloning: OK - mysql show