Product specifications

Table Of Contents
D–Troubleshooting
QLogic MPI Troubleshooting
IB6054601-00 H D-21
A
Using MPI.mod Files
MPI.mod (or mpi.mod) are the Fortran 90/Fortran 95 mpi modules files. These
files contain the Fortran 90/Fortran 95 interface to the platform-specific MPI
library. The module file is invoked by ‘USE MPI’ or ‘use mpi’ in your application. If
the application has an argument list that does not match what mpi.mod expects,
errors such as this can occur:
$ mpif90 -O3 -OPT:fast_math -c communicate.F
call mpi_recv(nrecv,1,mpi_integer,rpart(nswap),0,
^
pathf95-389 pathf90: ERROR BORDERS, File = communicate.F, Line =
407, Column = 18
No specific match can be found for the generic subprogram call
"MPI_RECV".
If it is necessary to use a non-standard argument list, create your own MPI
module file and compile the application with it, rather than using the standard MPI
module file that is shipped in the mpi-devel-* RPM.
The default search path for the module file is:
/usr/include
To include your own MPI.mod rather than the standard version, use
-I/your/search/directory, which causes /your/search/directory to
be checked before /usr/include. For example:
$ mpif90 -I/your/search/directory myprogram.f90
Usage for Fortran 95 will be similar to the example for Fortran 90.
Extending MPI Modules
MPI implementations provide procedures that accept an argument having any
data type, any precision, and any rank. However, it is not practical for an MPI
module to enumerate every possible combination of type, kind, and rank.
Therefore, the strict type checking required by Fortran 90 may generate errors.
For example, if the MPI module tells the compiler that mpi_bcast can operate on
an integer but does not also say that it can operate on a character string, you may
see a message similar to the following:
pathf95: ERROR INPUT, File = input.F, Line = 32, Column = 14
No specific match can be found for the generic subprogram call
"MPI_BCAST".