1
1
openmpi/examples/hello_shmemfh.f90
2013-11-11 14:26:25 +00:00

23 строки
413 B
Fortran

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