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
MessageLoggingDestinationdoes not automatically enable message logging. A separate call is required to enable message logging.You must call the
mpiSettingsfunction on the worker, not the client. To change MPI communication settings within a communicating job, usempiSettingsin the task function, or in the user-defined options in thejobStartup.m, andtaskStartup.mfiles.To change the MPI communication settings for all workers in a parallel pool, use
mpiSettingsin thepoolStartupfile.For more information, see the
jobStartup,taskStartup, andpoolStartupfunctions.
Version History
Introduced before R2006a