User`s guide
11 Functions — Alphabetical List
11-172
mpiLibConf
Location of MPI implementation
Syntax
[primaryLib, extras] = mpiLibConf
Arguments
primaryLib MPI implementation library used by a communicating job.
extras Cell array of other required library names.
Description
[primaryLib, extras] = mpiLibConf returns the MPI implementation library
to be used by a communicating job. primaryLib is the name of the shared library file
containing the MPI entry points. extras is a cell array of other library names required
by the MPI library.
To supply an alternative MPI implementation, create a file named mpiLibConf.m, and
place it on the MATLAB path. The recommended location is matlabroot/toolbox/
distcomp/user. Your mpiLibConf.m file must be higher on the cluster workers'
path than matlabroot/toolbox/distcomp/mpi. (Sending mpiLibConf.m as a file
dependency for this purpose does not work.)
Examples
Use the mpiLibConf function to view the current MPI implementation library:
mpiLibConf
mpich2.dll