[slurm-users] Multi-node job failure

Paul Kenyon pkenyon at advancedclustering.com
Wed Dec 11 00:24:09 UTC 2019


Hi Chris,

Your issue sounds similar to a case I ran into once, where I could run jobs
on a few nodes, but once it spanned more than a handful it would fail.  In
that particular case, we figured out that it was due to broadcast storm
protection being enabled on the cluster switch.  When the first node's
slurmd started the job, it would send out a ton of ARP requests for each of
the other nodes so it could contact them.  That triggered the broadcast
storm protection several ARPs in, so a subset of the nodes couldn't be
reached and the job wouldn't start.  Disabling broadcast storm protection
in the switch solved the problems.

Hope it turns out to be this simple - if not, good luck!

Regards,

-Paul

--
Paul Kenyon
Advanced Clustering Technologies, Inc.
Main: 866-802-8222
Direct: 913-643-0306
pkenyon at advancedclustering.com


On Tue, Dec 10, 2019 at 6:13 PM Chris Woelkers - NOAA Federal <
chris.woelkers at noaa.gov> wrote:

> Thanks for the reply and the things to try. Here are the answers to your
> questions/tests in order:
>
> - I tried mpiexec and the same issue occurred.
> - While the job is listed as running I checked all the nodes. None of them
> have processes spawned. I have no idea on the hydra process.
> - I have version 4.7 of the OFED stack installed on all nodes.
> - Using openmpi with the hello world example you listed to gives output
> that seems to match what should normally be given. I upped the number of
> threads to 16, because 4 doesn't help much, and ran it again with four
> nodes of 4 threads each, and got the following which looks like good output.
> Hello world from processor bearnode14, rank 4 out of 16 processors
> Hello world from processor bearnode14, rank 5 out of 16 processors
> Hello world from processor bearnode14, rank 6 out of 16 processors
> Hello world from processor bearnode15, rank 10 out of 16 processors
> Hello world from processor bearnode15, rank 8 out of 16 processors
> Hello world from processor bearnode16, rank 13 out of 16 processors
> Hello world from processor bearnode15, rank 11 out of 16 processors
> Hello world from processor bearnode13, rank 3 out of 16 processors
> Hello world from processor bearnode14, rank 7 out of 16 processors
> Hello world from processor bearnode15, rank 9 out of 16 processors
> Hello world from processor bearnode16, rank 12 out of 16 processors
> Hello world from processor bearnode16, rank 14 out of 16 processors
> Hello world from processor bearnode16, rank 15 out of 16 processors
> Hello world from processor bearnode13, rank 1 out of 16 processors
> Hello world from processor bearnode13, rank 0 out of 16 processors
> Hello world from processor bearnode13, rank 2 out of 16 processors
> - I have not tested our test model with openmpi as it was compiled with
> Intel compilers and expects Intel MPI. It might work but for now I will
> hold that for later. I did test the hello world again using the Intel
> modules instead of the openmpi modules and it still worked.
>
> Thanks,
>
> Chris Woelkers
> IT Specialist
> National Oceanic and Atmospheric Agency
> Great Lakes Environmental Research Laboratory
> 4840 S State Rd | Ann Arbor, MI 48108
> 734-741-2446
>
>
> On Tue, Dec 10, 2019 at 4:36 PM Ree, Jan-Albert van <J.A.v.Ree at marin.nl>
> wrote:
>
>> We're running multiple clusters using Bright 8.x with Scientific Linux 7
>> (and have run Scientific Linux releases 5 and 6 with Bright 5.0 and higher
>> in the past without issues on many different pieces of hardware) and never
>> experienced this. But some things to test :
>>
>>
>> - some implementations prefer mpiexec over mpirun , have you tried that
>> instead ?
>>
>> - if you log in to a node while a job is 'hanging' , do you see that on
>> each node the right amount of processes are spawned ? Is the node list of
>> all nodes involved in the job parsed to the hydra process on all nodes ?
>>
>> - which version of the Mellanox OFED stack are you using ? One of our
>> vendors recommended against OFED 4.6 due to issues, mostly related to IP
>> over IB but still ; you might want to try 4.5 just to rule things out.
>>
>> - what happens if you use openmpi (as supplied by Bright) together with a
>> simple hello world example ? There's a good one at
>> https://mpitutorial.com/tutorials/mpi-hello-world/ which I know to work
>> fine with Bright supplied openmpi
>>
>> - what happens if you test with openmpi and force it to use ethernet
>> instead of infiniband ? See https://www.open-mpi.org/faq/?category=tcp
>> for info to force a specific interface with openmpi
>>
>>
>> I've just successfully tested the above hello-world example with the
>> Bright supplied mvapich2/gcc/64/2.3b to compile the code , with the jobfile
>> below to run it over 2 nodes, each 20 cores.
>>
>>
>> #!/bin/bash
>> #SBATCH -n 40
>> #SBATCH --exclusive
>> #SBATCH --partition=normal
>> #SBATCH --job-name=P80000.000_test
>> #SBATCH --time=2:00:00
>> #SBATCH --ntasks-per-node=20
>> #SBATCH --begin=now
>> #SBATCH --error=errors
>> #SBATCH --output=output
>> ​source /etc/profile.d/modules.sh
>> module load mvapich2/gcc/64/2.3b
>> mpiexec -n 40 ./hello
>>
>>
>>
>> Good luck!
>>
>> --
>>
>> Jan-Albert van Ree
>>
>>
>>
>> Jan-Albert van Ree | Linux System Administrator | Digital Services
>> MARIN | T +31 317 49 35 48 | J.A.v.Ree at marin.nl | www.marin.nl
>>
>> [image: LinkedIn] <https://www.linkedin.com/company/marin> [image:
>> YouTube] <http://www.youtube.com/marinmultimedia> [image: Twitter]
>> <https://twitter.com/MARIN_nieuws> [image: Facebook]
>> <https://www.facebook.com/marin.wageningen>
>> MARIN news: FLARE holds first General Assembly Meeting in Bremen, Germany
>> <https://www.marin.nl/flare-holds-first-general-assembly-meeting-in-bremen-germany>
>>
>> ------------------------------
>> *From:* slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of
>> Chris Woelkers - NOAA Federal <chris.woelkers at noaa.gov>
>> *Sent:* Tuesday, December 10, 2019 20:49
>> *To:* slurm-users at lists.schedmd.com
>> *Subject:* [slurm-users] Multi-node job failure
>>
>> I have a 16 node HPC that is in the process of being upgraded from CentOS
>> 6 to 7. All nodes are diskless and connected via 1Gbps Ethernet and FDR
>> Infiniband. I am using Bright Cluster Management to manage it and their
>> support has not found a solution to this problem.
>> For the most part the cluster is up and running with all nodes booting
>> and able to communicate with each other via all interfaces on a basic level.
>> Test jobs, submitted via sbatch, are able to run on one node with no
>> problem but will not run on multiple nodes. The jobs are using mpirun and
>> mvapich2 is installed.
>> Any job trying to run on multiple nodes ends up timing out, as set via
>> -t, with no output data written and no error messages in the slurm.err or
>> slurm.out files. The job shows up in the squeue output and the nodes used
>> show up as allocated in the sinfo output.
>>
>> Thanks,
>>
>> Chris Woelkers
>> IT Specialist
>> National Oceanic and Atmospheric Agency
>> Great Lakes Environmental Research Laboratory
>> 4840 S State Rd | Ann Arbor, MI 48108
>> 734-741-2446
>>
>>
>> *Help us improve the spam filter. If this message contains SPAM, click
>> here
>> <https://www.mailcontrol.com/sr/jhTwuwISfT_GX2PQPOmvUgItITKVa7z0k6_JDvhE_EooCnj2ZVOWPNLeAoygBsgADsU9DA6Go4T46EHnGWFGZQ==>
>> to report. Thank you, MARIN Support Group*
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191210/5cb6926a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image6b4ebf.PNG
Type: image/png
Size: 293 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191210/5cb6926a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image7554e7.PNG
Type: image/png
Size: 331 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191210/5cb6926a/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagea2b6f8.PNG
Type: image/png
Size: 333 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191210/5cb6926a/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image39559d.PNG
Type: image/png
Size: 253 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191210/5cb6926a/attachment-0007.png>


More information about the slurm-users mailing list