Page MenuHomePhabricator

Updated 2,417 Days AgoPublic


sudo apt-get install slurm-llnl libslurm-dev \
mpich libpmi0 libpmi-dev munge

sudo create-munge-key

#Generate a slurm configuration for /etc/slurm-llnl/slurm.conf

#Munge wont run with g+w permissions
chmod g-w /var/log

sudo /etc/init.d/munge restart
sudo /etc/init.d/slurmd restart
sudo /etc/init.d/slurmctld restart

#Test slurm
srun -n4 hostname

mpicc mpi_hello.c -o mpi_hello

srun -n4 --mpi=pmi2 mpi_hello

#sbatch is used to queue jobs.
#Read about it here:

Here are a list of MPI exercises from Lawrence Livermore National Lab that you can experiment with:

Last Author
Last Edited
Oct 6 2017, 6:13 PM

Event Timeline

newellz2 edited the content of this document. (Show Details)