Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scivision/fortran-parallel-examples
https://github.com/scivision/fortran-parallel-examples
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/scivision/fortran-parallel-examples
- Owner: scivision
- License: mit
- Created: 2023-07-19T19:27:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-19T20:24:22.000Z (over 1 year ago)
- Last Synced: 2024-05-02T03:08:34.053Z (7 months ago)
- Language: CMake
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fortran Parallel Examples
[![cmake](https://github.com/scivision/fortran-parallel-examples/actions/workflows/cmake.yml/badge.svg)](https://github.com/scivision/fortran-parallel-examples/actions/workflows/cmake.yml)
[![oneapi-linux](https://github.com/scivision/fortran-parallel-examples/actions/workflows/oneapi-linux.yml/badge.svg)](https://github.com/scivision/fortran-parallel-examples/actions/workflows/oneapi-linux.yml)Examples of parallel runtimes from native Fortran syntax.
[Fortran coarrays or direct MPI operations](https://github.com/scivision/fortran-coarray-mpi-examples)
are in a separate repo.Examples include:
* do concurrent: including Fortran 202x "reduce" syntax supported by NVIDIA HPC SDK and Intel oneAPI
* OpenACC: directive for Fortran
* openmp: OpenMP threading examples## OpenMP
macOS users may need to install OpenMP libraries:
```sh
brew install libomp
```For such a macOS install, tell CMake where OpenMP libraries are by setting environment variable:
```sh
export OpenMP_ROOT=/opt/homebrew/opt/libomp
```