Location of MPI implementation
[primaryLib,extras] = mpiLibConf
| MPI implementation library used by a communicating job. |
| Cell array of other required library names. |
[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
.
Your matlabroot
/toolbox/distcomp/usermpiLibConf.m
file must be higher on the cluster
workers' path than
.
(Sending matlabroot
/toolbox/distcomp/mpimpiLibConf.m
as a file dependency for
this purpose does not work.) After your mpiLibConf.m
file
is in place, update the toolbox path caching with the following command
in MATLAB:
rehash toolboxcache
Use the mpiLibConf
function to view the current
MPI implementation library:
mpiLibConf
mpich2.dll