Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
Dockerfile
README.md
hello.c

README.md

MPI

Caution: This is still being tested and is dicussed at

stackoverflow

Setup

$ cd MPI
$ docker build -t mpi .
$ docker run -i -t mpi

Usage

Run the following commands in the docker container. This example covers this code snippet. It's already in the /code directory of the Docker Container. (The filename has to be the same as the classname.)

Compile

$ mpicc hello.c -o hello

Run

$ mpirun -np 4 hello
Something went wrong with that request. Please try again.