1
1
openmpi/ompi/mpiext/example/tests/progress_mpifh.F90
Ralph Castain 1e2019ce2a Revert "Update to sync with OMPI master and cleanup to build"
This reverts commit cb55c88a8b7817d5891ff06a447ea190b0e77479.
2016-11-22 15:03:20 -08:00

25 строки
559 B
Fortran

!
! Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved.
! $COPYRIGHT$
!
! Sample "example" MPI extension application for Open MPI
!
program main
implicit none
include 'mpif.h'
include 'mpif-ext.h'
integer ierr, rank, size
call MPI_INIT(ierr)
call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr)
call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierr)
write(*, '("Hello, world, I am ", i2, " of ", i2)') rank, size
call OMPI_PROGRESS(3, MPI_COMM_WORLD, ierr)
call MPI_FINALIZE(ierr)
end program