6
–
SHMEM Description and Configuration
SHMEM Programs
IB0054606-02 A
6-3
By default QLogic SHMEM is installed with a prefix of /usr/shmem/qlogic into the
following directory structure:
/usr/shmem/qlogic
/usr/shmem/qlogic/bin
/usr/shmem/qlogic/bin/mvapich
/usr/shmem/qlogic/bin/mvapich2
/usr/shmem/qlogic/bin/openmpi
/usr/shmem/qlogic/lib64
/usr/shmem/qlogic/lib64/mvapich
/usr/shmem/qlogic/lib64/mvapich2
/usr/shmem/qlogic/lib64/openmpi
/usr/shmem/qlogic/include
QLogic recommends that
/usr/shmem/qlogic/bin
is added onto your
$PATH
.
If it is not on your
$PATH
, then you will need to give full pathnamescd to find the
shmemrun
and
shmemcc
wrapper scripts.
SHMEM Programs
Basic SHMEM Program
Following is an example of a basic SHMEM program:
% cat shmem_world.c
#include <shmem.h>
#include <stdio.h>
int main ()
{
shmem_init();
printf("Hello from PE %d out of %d\n", my_pe(), num_pes());
return 0;
}
NOTE
There are subdirectories inside of bin for each MPI that are supported.
These contain SHMEM benchmark programs that are linked directly against
the MPI libraries as well as the SHMEM libraries.
Summary of Contents for OFED+ Host
Page 1: ...IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 14: ...xiv IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 22: ...1 Introduction Interoperability 1 4 IB0054606 02 A...
Page 96: ...4 Running MPI on QLogic Adapters Debugging MPI Programs 4 24 IB0054606 02 A...
Page 140: ...6 SHMEM Description and Configuration SHMEM Benchmark Programs 6 32 IB0054606 02 A...
Page 148: ...8 Dispersive Routing 8 4 IB0054606 02 A...
Page 164: ...9 gPXE HTTP Boot Setup 9 16 IB0054606 02 A...
Page 176: ...A Benchmark Programs Benchmark 3 Messaging Rate Microbenchmarks A 12 IB0054606 02 A...
Page 202: ...B SRP Configuration OFED SRP Configuration B 26 IB0054606 02 A Notes...
Page 206: ...C Integration with a Batch Queuing System Clean up PSM Shared Memory Files C 4 IB0054606 02 A...
Page 238: ...E ULP Troubleshooting Troubleshooting SRP Issues E 20 IB0054606 02 A...
Page 242: ...F Write Combining Verify Write Combining is Working F 4 IB0054606 02 A Notes...
Page 280: ...G Commands and Files Summary of Configuration Files G 38 IB0054606 02 A...
Page 283: ......