mirror of
https://github.com/ivabus/pantry
synced 2024-09-20 08:40:50 +03:00
![Andrew](/assets/img/avatar_default.png)
* open-mpi.org * test * autoconf for darwin & MACOSX_DEPLOYMENT_TARGET env * sed * CXX & CC * without sed * modified: projects/open-mpi.org/package.yml * replace hardcoded paths * wip * wip * wip * OPAL_PREFIX * make check fails due to unfixed @rpaths * env * more env * try letting it find stuff * let's see what we can give it * more flags * hmmmm * suggested possibility * compiler and linker flags * this shouldn't be linux-only * gha runs as root --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
9 lines
242 B
Fortran
9 lines
242 B
Fortran
program hello
|
|
use mpi_f08
|
|
integer rank, size, tag, status(MPI_STATUS_SIZE)
|
|
call MPI_INIT()
|
|
call MPI_COMM_SIZE(MPI_COMM_WORLD, size)
|
|
call MPI_COMM_RANK(MPI_COMM_WORLD, rank)
|
|
print*, 'node', rank, ': Hello Fortran world'
|
|
call MPI_FINALIZE()
|
|
end |