1
1
openmpi/examples/hello_oshmemfh.f90
Mike Dubman daaf1d441d OSHMEM: added bunch of examples according to SPEC 1.0
fixed by Roman, reviewed by Igor/Mike

cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r31449.
2014-04-19 05:03:44 +00:00

25 строки
505 B
Fortran

!
! Copyright (c) 2014 Mellanox Technologies, Inc.
! All rights reserved.
! Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
! $COPYRIGHT$
!
! Additional copyrights may follow
!
! $HEADER$
!
program hello_oshmem
implicit none
include 'shmem.fh'
integer proc, nproc
integer my_pe, num_pes
call START_PES(0)
proc = MY_PE()
nproc = NUM_PES()
write(*, '("Hello, world, I am ", i2, " of ", i2)') proc, nproc
end program hello_oshmem