Skip to content
Snippets Groups Projects
Commit a250ace8 authored by Maximilian Meindl's avatar Maximilian Meindl
Browse files

Upload ubuntu-mpi.def

parent 0ec2582f
Branches
No related tags found
No related merge requests found
BootStrap: docker
From: ubuntu:22.04
%setup
cp /home/maximilian/Downloads/openmpi-4.1.4.tar.bz2 \
${SINGULARITY_ROOTFS}/usr/local/src/openmpi-4.1.4.tar.bz2
%post
apt update -y
apt install -y build-essential
apt install -y gcc gfortran
apt install -y wget tar make bzip2 gzip perl rsync zip
apt install -y libibverbs-dev
cd /usr/local/src
tar -xjf openmpi-4.1.4.tar.bz2
cd openmpi-4.1.4
./configure --prefix=/usr/local --with-hwloc --with-verbs
make -j 16
make install
ldconfig
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment