The Docker image openmpi relies on Alpine 3.21.3 and contains Open MPI 5.0.8 (latest).
It allows you to build and run your MPI programs in a docker container without the need to install MPICH or Open MPI on your machine.
See the GitHub repository for more information.
The following tools are installed:
Run the following command:
$ docker run --rm -it -v $(pwd):/project mfisherman/openmpi
It will automatically download the docker image to your system and run it.
The argument -it allows you to run the container in interactive mode and will open a shell.
Further, the command mounts the directory, from where you run the command above, into the folder /projectof the container.
That way you can use your favorite editor to write your code an run mpiccand mpiccxxin the container.
The image is built for a majority of Linux architectures, allowing you to run the image even on all Rasperry Pi versions (e.g. as gitlab-runner). The available operating systems and architectures are:
Content type
Image
Digest
sha256:a0895f558…
Size
332 MB
Last updated
6 months ago
docker pull mfisherman/openmpi