Qlogic QME7342 Guide de l'utilisateur Page 111

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 284
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 283 284

Commentaires sur ces manuels

Pas de commentaire