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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4–Running <strong>QLogic</strong> MPI on <strong>QLogic</strong> Adapters<br />

<strong>QLogic</strong> MPI Details<br />

To Use Another Compiler<br />

<strong>QLogic</strong> MPI and all other MPIs that run on TrueScale, support a number of<br />

compilers, in addition to the default GNU Compiler Collection (GCC, including gcc,<br />

g++ and gfortran, but g77 is not supported) versions 3.3 and later. These include<br />

the PathScale Compiler Suite 3.0, 3.1, and 3.2; PGI 5.2, 6.0, 7.1, 8.0, and 9.0;<br />

and Intel 9.x, 10.1, and 11.x.<br />

NOTE:<br />

The PathScale compiler suite is not supported on the RHEL 4 U8 or the<br />

SLES 11 distribution.<br />

These compilers can be invoked on the command line by passing options to the<br />

wrapper scripts. Command line options override environment variables, if set.<br />

Tables 4-3, 4-4, and 4-5 show the options for each of the compilers.<br />

In each case, ..... stands for the remaining options to the mpicxx script, the<br />

options to the compiler in question, and the names of the files that it operates.<br />

Table 4-3. Intel<br />

Compiler<br />

Command<br />

C $ mpicc -cc=icc .....<br />

C++<br />

$ mpicc -CC=icpc<br />

Fortran 77 $ mpif77 -fc=ifort .....<br />

Fortran 90/95 $ mpif90 -f90=ifort .....<br />

$ mpif95 -f95=ifort .....<br />

Table 4-4. Portland Group (PGI)<br />

Compiler<br />

Command<br />

C mpicc -cc=pgcc .....<br />

C++<br />

mpicc -CC=pgCC<br />

Fortran 77 mpif77 -fc=pgf77 .....<br />

Fortran 90/95 mpif90 -f90=pgf90 .....<br />

mpif95 -f95=pgf95 .....<br />

D000046-005 B 4-9

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

Saved successfully!

Ooh no, something went wrong!