https://github.com/interkosmos/fortran-pthread
Fortran 2003 interface bindings to POSIX Threads.
https://github.com/interkosmos/fortran-pthread
fortran posix posix-threads threads
Last synced: 2 months ago
JSON representation
Fortran 2003 interface bindings to POSIX Threads.
- Host: GitHub
- URL: https://github.com/interkosmos/fortran-pthread
- Owner: interkosmos
- License: isc
- Created: 2018-04-10T09:15:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T20:42:37.000Z (almost 5 years ago)
- Last Synced: 2024-12-30T13:57:40.854Z (4 months ago)
- Topics: fortran, posix, posix-threads, threads
- Language: Fortran
- Homepage:
- Size: 5.86 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fortran-pthread
Proof of concept of Fortran 2003 interfaces to POSIX Threads.## Build
Use the provided `Makefile` to build the interfaces:```
$ make
```Or, run your favourite Fortran compiler directly:
```
$ gfortran -c src/pthread.f90
```## Examples
Please check directory `examples` for demos:* **simple** runs a routine inside a `pthread`.
* **multi** runs a routine inside several `pthreads`.Compile the examples with:
```
$ make
```## Licence
ISC