Skip to content

Commit

Permalink
- Don't run modpar if +d=openmp is used
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10818 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 22, 2011
1 parent a80c5ec commit 977f2a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Compiler/Main/Main.mo
Expand Up @@ -801,8 +801,7 @@ algorithm
BackendDAE.StrongComponents comps;
case _
equation
n = Config.noProc() "If modpar not enabled, nproc = 0, return" ;
(n == 0) = true;
true = 0==Config.noProc() or Flags.isSet(Flags.OPENMP) "If modpar not enabled, nproc = 0, return" ;
then
();
case (dae as BackendDAE.DAE(eqs={BackendDAE.EQSYSTEM(matching=BackendDAE.MATCHING(comps=comps))}))
Expand Down

0 comments on commit 977f2a4

Please sign in to comment.