Qlogic QME7342 Guía de usuario Pagina 111

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 284
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 110
6SHMEM 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.
Vista de pagina 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 283 284

Comentarios a estos manuales

Sin comentarios