Sign inSign up

nersc/centos-mpi

By nersc

•Updated about 10 years ago

CentOS based image with MPICH 3.2 built using the distribution of GNU gcc, gfortran, and c++

Image
0

241

nersc/centos-mpi repository overview

This is a CentOS image that can be used as a base for MPI applications. It includes a vanilla build of MPICH 3.2 using the standard GNU compilers. The version corresponds to the base CentOS version.

To use this as a base create a Dockerfile similar to this:

FROM nersc/centos-mpi:7

ADD myapp.c /myapp.c

RUN mkdir /app && mpicc /myapp.c -o /app/myapp

Then build as such docker build -t myapp:latest .

To run with Docker do docker run -it --rm myapp:latest mpirun /app/myapp

You can find the Dockerfile at: https://github.com/NERSC/base-images⁠.

Tag summary

Content type

Image

Digest

Size

203.2 MB

Last updated

about 10 years ago

docker pull nersc/centos-mpi:7