Re: [slurm-users] [EXT] Re: slurmdbd does not work

2021-12-05 Thread Giuseppe G. A. Celano
Hi,

I have reinstalled slurm using the ubuntu package slurm-wlm (and some
related ones). After solving some problems with the directories where the
pid files are stored (I keep getting the message "Can't open PID file
/run/slurm/slurmd.pid (yet?) after start: Operation not permitted", even if
the directory has slurm as owner and group). The services slurmdbd,
slurmctld, and slurmd work, but I cannot use the commands sinfo, srun,
etc.. because I get the errors:

sinfo: symbol lookup error: sinfo: undefined symbol: slurm_conf
srun: symbol lookup error: srun: undefined symbol: xfree_ptr
sacct: symbol lookup error: sacct: undefined symbol:
slurm_destroy_selected_step

Does anyone know the reason for that? Thanks.

Best,
Giuseppe


On Sat, Dec 4, 2021 at 5:31 PM Giuseppe G. A. Celano <
giuseppegacel...@gmail.com> wrote:

> Hi Gennaro,
>
> That helped: slurm-wlm has accounting_storage_mysql.so, and I moved it to
> the location requested by the first slurm installation. Everything seems to
> work, even if I had to change the location of the .conf files, probably
> because this is required by the new slurm-wlm installation. I am not sure
> whether I should try to uninstall my previous installation and reinstall
> slurm-wlm...
>
>
> On Sat, Dec 4, 2021 at 12:38 PM Gennaro Oliva 
> wrote:
>
>> Ciao Giuseppe,
>>
>> On Sat, Dec 04, 2021 at 02:30:40AM +0100, Giuseppe G. A. Celano wrote:
>> > I have installed almost all of the possible packages, but that file
>> doesn't
>> > show up:
>>
>> can you please specify what options are you using with ./configure?
>>
>> If you don't specify any prefix (--prefix option), the default location
>> for your installation is /usr/local, so you should find the plugins under
>> /usr/local/lib/slurm
>>
>> Did you tried the slurm-wlm package shipped with ubuntu?
>> It comes with the mysql plugin.
>> Best regards
>> --
>> Gennaro Oliva
>>
>>


Re: [slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-05 Thread Adrian Sevcenco

On 05.12.2021 20:54, Chris Samuel wrote:

On 4/12/21 9:34 am, Adrian Sevcenco wrote:

actually is not ... so, once again, does anyone have an idea about customization of the timeout of init script defined 
in job_container.conf?


Looking at the source it's hard-coded in Slurm 21.08, so you'd need to patch 
and rebuild at present.

https://github.com/SchedMD/slurm/blob/934f3b543b6bc9f3335d1cc6813b8d95cb2c49b4/src/plugins/job_container/tmpfs/job_container_tmpfs.c#L473 


Oh, thanks for info! well, i'm not brave enough to put on cluster my build.. 
but i hope that
maybe https://bugs.schedmd.com/show_bug.cgi?id=12967 will be taken into account 
for others as well..

Thank you!
Adrian





Re: [slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-05 Thread Chris Samuel

On 4/12/21 9:34 am, Adrian Sevcenco wrote:

actually is not ... so, once again, does anyone have an idea about 
customization of the timeout of init script defined in job_container.conf?


Looking at the source it's hard-coded in Slurm 21.08, so you'd need to 
patch and rebuild at present.


https://github.com/SchedMD/slurm/blob/934f3b543b6bc9f3335d1cc6813b8d95cb2c49b4/src/plugins/job_container/tmpfs/job_container_tmpfs.c#L473

All the best,
Chris
--
Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA