Hp XC System 2.x Software Manuel d'utilisateur Page 118

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 154
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 117
If yo u would like to see the effects of using the TCP/IP protocol over a higher-speed system
interconnect, use the -TCP option and omit the -subnet option. Generally, performance as
measured by Pallas will be roughly 40% to 50% slower using TCP/IP over Elan, GM, or IT-A PI.
8.4.2 Global Environment Variable Setting s on the mpirun Command Line
Environment variables can be set globally o n the mpirun command line:
$ mpirun -e MPI_FLAGS=y -f appfile
In the above example, if som e MPI_FLAGS setting was specified in the application file, then
the global setting on the com m and line would override t he setting in the application file. To add
to an environment variable rather t han replacing it, use the following command:
$ mpirun -e MPI_FLAGS=%MPI_FLAGS,y -f appfile
The percent sign (%) is appended to the environment variable. For example, %MPI_FLAGS.
In the above example, if the application file (appfile) specified MPI_FLAGS=z, then the
resulting MPI_FLAGS seen by the application would be z,y.
8.5 32-Bit B uilds on XC4000
HP-MPI on HP XC provides sup port for 32-bit builds on XC4000 systems. Options provided
are:
$ mpicc [-mpi32|-mpi64] ...
$ mpif90 [-mpi32|-mpi64] ...
The [-mpi32|-mpi64] option tells the real compiler where t o find t he correct 32-bit or
64-bit MPI header files and library. They are n ot passed down to th e real compiler. You still
need to specify the other necessary compiler options to generate 32-bit or 64-bit code.
For example, to use gcc to generate 32-bit code:
$ mpicc -mpi32 ... -m32 ...
-mpi64 is the default.
8.6 Truncated Messages
An application will continue to run normally after receiving truncated messages if the
MPI_Errhandler is set to MPI_ERRORS_RETURN.
The receive call returns an error class of MPI_ERR_TRUNCATE.
The count field in the resulting status argument represents the amount of data received
by the receiver.
The receive buffer will only contain as much data as was specified in the receive call.
8.7 Allowing Windows to Use Exclusive Locks
An environment variable called MPI_ELANLOCK is provided with this release of HP-MPI on
HP XC. By d efault, MPI only provides exclusive windo w locks by means of Elan loc k when
using the Elan system interconnect.
In order to use MPI shared wind ow locks, you must turn off Elan lock and use window locks by
means of shared memory. In this w ay, both exclu sive and shared locks are from sh ared m emo ry.
To turn off Elan locks, enter the f ollowing command:
$ setenv MPI_ELANLOCK=0
8-8 Using HP-MPI
Vue de la page 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 153 154

Commentaires sur ces manuels

Pas de commentaire