A small Fortran development environment with OpenMP and CMake support, based on Ubuntu 22.04.
225
This package provides a minimal set of ready-to-use tools for Fortran projects (GCC 13) and the standard API OpenMP for shared-memory parallel programming.
For a quick “Hello World” example: docker run --rm agschiaffino/fortran-omp ./hello-world
You'll see something like this:
Hello from thread 7 of 12!
Hello from thread 0 of 12!
Hello from thread 10 of 12!
Hello from thread 8 of 12!
Hello from thread 3 of 12!
Hello from thread 5 of 12!
Hello from thread 4 of 12!
Hello from thread 6 of 12!
Hello from thread 9 of 12!
Hello from thread 11 of 12!
Hello from thread 2 of 12!
Hello from thread 1 of 12!
To compile your own local files using the container's compiler:
docker run -it --rm -v ${PWD}:/hello-world agschiaffino/fortran-omp
Created as part of a module on Dockerization from the “DevOps with Docker” course on mooc.fi.
Content type
Image
Digest
sha256:017d277ea…
Size
172.9 MB
Last updated
6 months ago
docker pull agschiaffino/fortran-omp