Sign inSign up

agschiaffino/fortran-omp

By agschiaffino

•Updated 6 months ago

A small Fortran development environment with OpenMP and CMake support, based on Ubuntu 22.04.

Image
Languages & frameworks
API management
Developer tools
0

225

agschiaffino/fortran-omp repository overview

⁠Fortran + openMP Development Environment

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.

⁠Contents:
  • Base: Ubuntu 22.04
  • Compiler: GFortran (GCC 13)
  • Open Multi-Processing: OpenMP 4.5
  • Build Tools: CMake, Make
⁠Quick Start:

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!
⁠Interactive Development (Volumes):

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.

Tag summary

Content type

Image

Digest

sha256:017d277ea…

Size

172.9 MB

Last updated

6 months ago

docker pull agschiaffino/fortran-omp