[slurm-users] slurmdbd database usage

2023-08-02 Thread Sandor
I am looking to track accounting and job data. Slurm requires the use of
MySQL or MariaDB. Has anyone created the needed tables within PostGreSQL
then had slurmdbd write to it? Any problems?

Thank you in advance!
Sandor Felho


[slurm-users] srun --mem issue

2022-12-07 Thread Felho, Sandor
TransUnion is running a ten-node site using slurm with multiple queues. We have 
an issue with --mem parameter. The is one user who has read the slurm manual 
and found the --mem=0. This is giving the maximum memory on the node (500 
GiB's) for the single job. How can I block a --mem=0 request?

We are running:

  *   OS: RHEL 7
  *   cgroups version 1
  *   slurm: 19.05

Thank you,

Sandor Felho

Sr Consultant, Data Science & Analytics





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

2022-12-08 Thread Felho, Sandor
Bill - thank you for the code.

For the record, our queues explicitly block any requests greater than what the 
queue allows - MaxMemPerNode = 64 GiB's.

If there are any other ideas, feel free to comment.

Sandor

From: slurm-users  on behalf of Bill 

Sent: Thursday, December 8, 2022 7:52 AM
To: slurm-users@lists.schedmd.com 
Subject: Re: [slurm-users] srun --mem issue

CAUTION:   This email originated from outside of the organization. Do not click 
links or open attachments unless you can confirm the sender and know the 
content is safe.

If you use a job_submit.lua script just add

if job_desc.pn_min_memory == 0 or job_desc.min_mem_per_cpu == 0 then
log_info("slurm_job_submit: job from uid %d invalid memory
request MaxMemPerNode", job_desc.user_id)
return 2044 -- signal ESLURM_INVALID_TASK_MEMORY
end


Bill

On 12/7/22 12:03 PM, Felho, Sandor wrote:
> TransUnion is running a ten-node site using slurm with multiple queues.
> We have an issue with --mem parameter. The is one user who has read the
> slurm manual and found the --mem=0. This is giving the maximum memory on
> the node (500 GiB's) for the single job. How can I block a --mem=0 request?
>
> We are running:
>
>   * OS: RHEL 7
>   * cgroups version 1
>   * slurm: 19.05
>
> Thank you,
>
> *Sandor Felho *
>
> Sr Consultant, Data Science & Analytics
>
>



[slurm-users] scrontab question

2024-05-07 Thread Sandor via slurm-users
I am working out the details of scrontab. My initial testing is giving me
an unsolvable question
Within scrontab editor I have the following example from the slurm
documentation:

0,5,10,15,20,25,30,35,40,45,50,55 * * * *
/directory/subdirectory/crontest.sh

When I save it, scrontab marks the line with #BAD: I do not understand why.
The only difference I have is the directory structure.

Is there an underlying assumption that traditional Linux crontab is
available to the general user?

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