Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow changing the number of threads used for parmodauto when launchi…
…ng simulation. (#9609) - A new simulation option `-parmodNumThreads=N` is added. This can be used to specify the number of theads to be uses for parallel simulations. The default value is 0, signifying that the max concurrency of the host should be used (note that this includes hyperthreading.) - The new simulation option has no effect if the Modelica model is not compiled/translated with `--parmodauto` option set.
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,6 +172,7 @@ enum _FLAG | |
FLAG_DATA_RECONCILE_Sx, | ||
FLAG_UP_HESSIAN, | ||
FLAG_W, | ||
FLAG_PARMODNUMTHREADS, | ||
|
||
FLAG_MAX | ||
}; | ||
|