Integratie wait en mpitests-mpich

- Gebruik gemaakt van wait als init zodat de processen opgeruimt worden
 - mpitests-mpich als mpi demo toegevoegd
 - In README: testen uitgebreid met mpi & logfiles sbatch beschreven
This commit is contained in:
Marcel Nijenhof
2020-06-02 02:13:52 -04:00
parent 5808ac15b0
commit 59f8fbbe15
5 changed files with 47 additions and 8 deletions

View File

@@ -14,7 +14,9 @@ RUN "/usr/bin/yum" "-y" "install" \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
RUN "/usr/bin/yum" "-y" "install" \
slurm
slurm \
mpich-3.0 \
mpitests-mpich
RUN "/usr/sbin/groupadd" "-g" "1000" "marceln"
RUN "/usr/sbin/useradd" \
@@ -38,3 +40,8 @@ RUN chmod 600 /etc/munge/munge.key
RUN mkdir /opt/slurm/etc /var/log/slurm/
ADD files/slurm.conf /opt/slurm/etc/slurm.conf
ADD files/slurm.sh /etc/profile.d/slurm.sh
#
# Add wait
#
ADD files/wait /sbin/wait

View File

@@ -1,4 +0,0 @@
#!/bin/sh
su -s /bin/sh munge -c /usr/sbin/munged
exec /opt/slurm/sbin/slurmctld -D /opt/slurm/etc/slurm.conf