Main Content

Perform consistency check on parallel pool

Option to perform checks on parallel pool before starting parallel build

Since R2021a

Model Configuration Pane: Model Referencing

Description

The Perform consistency check on parallel pool configuration parameter determines whether to perform checks on the parallel pool before starting a parallel build.

The software performs these criteria checks:

  • The pool is spmd compatible.

  • The platform is consistent between workers and client.

  • The workers have a Simulink® Coder™ license.

  • The workers have write access to the current working folder.

Set Configuration Parameter for Referenced Model

In a model reference hierarchy, how you open the Configuration Parameters dialog box determines whether you edit the configuration parameter for the top model in the current model hierarchy or the current referenced model.

  • Top model in the current model hierarchy — In the Simulink Toolstrip, on the Modeling tab, click Model Settings.

  • Current referenced model — In the Simulink Toolstrip, on the Modeling tab, click the Model Settings button arrow. Then, in the Referenced Model section, select Model Settings.

Alternatively, open the referenced model as a top model. Then, in the Simulink Toolstrip, on the Modeling tab, click Model Settings.

Settings

on (default) | off
on

If a check fails, an error is issued and the parallel build stops.

off

If a check fails, a warning is issued and a serial build is performed.

Recommended Settings

ApplicationSetting
DebuggingNo recommendation
TraceabilityNo recommendation
EfficiencyNo recommendation
Safety precautionNo recommendation

Programmatic Use

Parameter: ParallelModelReferenceErrorOnInvalidPool
Value: 'on' | 'off'
Default: 'on'

Version History

Introduced in R2021a