27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5–Using Other MPIs<br />

Platform (Scali) MPI 5.6<br />

To compile your program in C using the default compiler, type:<br />

$ mpicc mpi_app_name.c -o mpi_app_name<br />

Running Platform MPI 7 Applications<br />

Here is an example of a simple mpirun command running with four processes,<br />

over PSM:<br />

$ mpirun -np 4 -hostfile mpihosts -PSM mpi_app_name<br />

To run over InfiniBand Verbs, type:<br />

$ mpirun -np 4 -hostfile mpihosts -IBV mpi_app_name<br />

To run over TCP (which could be IPoIB if the hostfile is setup for IPoIB interfaces),<br />

type:<br />

$ mpirun -np 4 -hostfile mpihosts -TCP mpi_app_name<br />

More Information on Platform MPI 7<br />

For more information on Platform MPI 7, see the Platform Computing web site<br />

Platform (Scali) MPI 5.6<br />

Installation<br />

Platform MPI 5.6 was formerly known as Scali MPI Connect. The version tested<br />

with this release is 5.6.4.<br />

Follow the instructions for downloading and installing Platform MPI 5.6 from the<br />

Platform (Scali) web site.<br />

Setup<br />

To run over PSM, by default, add the line networks=infinpath to the file<br />

opt/scali/etc/ScaMPI.conf.<br />

If running over InfiniBand Verbs, Platform MPI needs to know which InfiniBand<br />

adapter to use. This is achieved by creating the file<br />

/opt/scali/etc/iba_params.conf using a line such as:<br />

hcadevice=qib0<br />

For a second InfiniPath card, ipath1 would be used, and so on.<br />

Compiling Platform MPI 5.6 Applications<br />

As with <strong>QLogic</strong> MPI, <strong>QLogic</strong> recommends that you use the included wrapper<br />

scripts that invoke the underlying compiler (see Table 5-5). The scripts default to<br />

using gcc/g++/g77.<br />

D000046-005 B 5-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!