04b134eace
2. Oshmem examples moved to 'mpi' build target. 3. Oshmem examples renamed as 'shmem' => 'oshmem'. 4. Fixed warnings in oshmem_info. Refs: 3763 This commit was SVN r29663.
23 строки
415 B
Fortran
23 строки
415 B
Fortran
!
|
|
! Copyright (c) 2013 Mellanox Technologies, Inc.
|
|
! All rights reserved.
|
|
! $COPYRIGHT$
|
|
!
|
|
! Additional copyrights may follow
|
|
!
|
|
! $HEADER$
|
|
!
|
|
program hello_oshmem
|
|
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_oshmem
|
|
|