mpiSettings
Configure options for MPI communication
Syntax
Description
mpiSettings('DeadlockDetection',
toggles deadlock detection on workers DeadlockDetection
)on
or off
. When
DeadlockDectection
is on, a worker can return an error if a deadlock is
detected during calls to spmdReceive
and spmdSend
.
Although it is not necessary to enable deadlock detection on all workers, this is the most
useful option.
mpiSettings('MessageLogging',
toggles message logging on workers MessageLogging
)on
or off
. When
MessageLogging
is on, the default message destination is MATLAB® Command Window.
mpiSettings('MessageLoggingDestination',
changes the MPI logging message logging destination. Options include MATLAB Command Window, the standard log file or a specified file.MessageLoggingDestination
)
Examples
Input Arguments
Tips
Setting the
MessageLoggingDestination
does not automatically enable message logging. A separate call is required to enable message logging.You must call the
mpiSettings
function on the worker, not the client. To change MPI communication settings within a communicating job, usempiSettings
in the task function, or in the user-defined options in thejobStartup.m
, andtaskStartup.m
files.To change the MPI communication settings for all workers in a parallel pool, use
mpiSettings
in thepoolStartup
file.For more information, see the
jobStartup
,taskStartup
, andpoolStartup
functions.
Version History
Introduced before R2006a