Good morning,

I have compiled Munge and Slurm to use different root directories than
the defaults:

        /usr/local/munge/0.5.10
        /usr/local/slurm/2.5.4

Munge then writes its socket file to:

        /usr/local/munge/0.5.10/var/run/munge/munge.socket.2

It works fine on the control node where I have an entry in the
slurmdbd.conf file:

        AuthInfo=/usr/local/munge/0.5.10/var/run/munge/munge.socket.2

On the compute nodes the slurmd can't find the munge socket file,
because it looks at the wrong path:

        slurmd: error: Munge encode failed: Unable to access 
"/usr/local/var/run/munge/munge.socket.2": No such file or directory

Is there any other way to tell Slurm where to find the socket file other
than "AuthInfo" in the slurmdbd.conf file?  Any environment variable?

I have used for Munge....
        ./configure --prefix=/usr/local/munge/0.5.10 
--datarootdir=/usr/local/munge/0.5.10/share

.... and for Slurm:
        ./configure --prefix=/usr/local/slurm/2.5.4 
--datarootdir=/usr/local/slurm/2.5.4/share --enable-multiple-slurmd 
--with-munge=/usr/local/munge/0.5.10

Everything wokrs fine if I create a symbolic link:
        /usr/local/var/run/munge/munge.socket.2 
/usr/local/munge/0.5.10/var/run/munge/munge.socket.2

But that's obviously not what I want to do....

Many thanks!!  Erik.



-- 

















-- 
Vorstandsvorsitzender/Chairman of the board of management:
Gerd-Lothar Leonhart
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Michael Heinrichs, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196

Reply via email to