Q-Logic IB6054601-00 D Switch User Manual


 
3 – Using InfiniPath MPI
InfiniPath MPI Details
IB6054601-00 D 3-7
Q
3.5.2
Compiling and Linking
These scripts invoke the compiler and linker for programs in each of the respective
languages, and take care of referring to the correct include files and libraries in each
case.
mpicc
mpicxx
mpif77
mpif90
mpif95
On x86_64, by default these call the PathScale compiler and linker. To use other
compilers, see section 3.5.3.
NOTE: The 2.x PathScale compilers aren’t currently supported on systems that
use the GNU 4.x compiler and environment. This includes FC4, FC5 and
SLES10. For suggestions on how to work around this issue, see
section 3.5.4. The 3.0 compiler release will support the GNU 4.x compiler
environment.
These scripts all provide the following command line options:
-help
Provides help.
-show
Lists each of the compiling and linking commands that would be called without
actually calling them.
-echo
Gets verbose output of all the commands in the script.
-compile_info
Shows how to compile a program.
-link_info
Shows how to link a program.
Further, each of these scripts allows a command line option for specifying the use
of a different compiler/linker as an alternative to the PathScale Compiler Suite.
These are described in the next section.
Most other command line options are passed on to the invoked compiler and linker.
The PathScale compiler and the usual alternatives all admit numerous command