Re: [slurm-users] RequeueExit and --no-requeue option.

2023-10-23 Thread Michael Spradling

I am a little confused by slurm.conf option RequeueExit.  I currently have this 
set "RequeueExit=1-9,11-255"
I expect this would requeue any job that doesn't return with an exit code of 0 
or 10.  This works like expected, but it always seems to be requeueing even if 
the user doesn't want their job to be requeued with option --no-requeue.  I 
can't disable requeuing by default with slurm.conf setting JobRequeue=0.

Is this the expected behavior?

Sorry if this is a duplicate email.  I didn't subscribe to the mailiing list 
before sending the first email.​​

--
Michael


Re: [slurm-users] Question about gdb sbatch

2023-10-23 Thread Davide DelVento
I think that should be sufficient.

On Sat, Oct 21, 2023 at 2:26 AM mohammed shambakey 
wrote:

> Thank you very much. I'm compiling from the source code.
>
> Another question please about the proper location for the "-g" option,
> because I see options like CFLAGS="-g" in slurm/configure file, and I
> wonder if I should add the "-g" to  some other locations?
>
> Regards
>
> On Sat, Oct 21, 2023 at 12:47 AM Davide DelVento 
> wrote:
>
>> Have you compiled slurm yourself or have you installed binaries? If the
>> latter, I speculate this is not possible, in that it would not have been
>> compiled with the required symbols (above all "-g" but probably others
>> depending on your platform).
>>
>> If you compiled slurm yourself, and assuming you have included all the
>> necessary symbols (or will re-compile appropriately and replace the
>> binaries and libraries), then it'd be like debugging any other thing: just
>> make sure to point gdb at the location of the source code, and then follow
>> any of the gazillion tutorials around about gdb. If you are not familiar
>> with gdb already, I strongly recommend that you start with some simpler
>> program before attempting something as big as slurm.
>>
>> Have a great weekend
>>
>> On Fri, Oct 20, 2023 at 9:30 AM mohammed shambakey 
>> wrote:
>>
>>> Hi
>>>
>>> Is it possible to debug "sbatch" itself when submitting a script? For
>>> example, I want to debug the following command:
>>> sbatch -Mall some_script.sh
>>>
>>> I don't want to debug the "some_script.sh". I want to debug the "sbatch"
>>> itself when submitting the "some_script.sh". I tried to use "gdb" but I'm
>>> not an expert, and it didn't work for me. I wonder if anyone did something
>>> like this? and how?
>>>
>>> Regards
>>>
>>>
>>> --
>>> Mohammed
>>>
>>
>
> --
> Mohammed
>