Skip to content

Commit

Permalink
- added HPC back-end
Browse files Browse the repository at this point in the history
- added node-description to GraphML

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16236 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Marcus Walther committed Jun 6, 2013
1 parent 97fa8dc commit 125f870
Show file tree
Hide file tree
Showing 12 changed files with 1,127 additions and 65 deletions.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -8298,7 +8298,7 @@ algorithm
funcs = getFunctions(ishared);
(syst,_,_,mapEqnIncRow,mapIncRowEqn) = getIncidenceMatrixScalar(isyst,BackendDAE.NORMAL(), SOME(funcs));
(syst,_) = BackendDAETransform.strongComponentsScalar(syst, ishared,mapEqnIncRow,mapIncRowEqn);
// IndexReduction.dumpSystemGraphML(syst,ishared,NONE(),"Comps" +& intString(systemSize(syst)) +& ".graphml");
// IndexReduction.dumpSystemGraphML(syst,ishared,NONE(),"Comps" +& intString(systemSize(syst)) +& ".graphml",false);
Debug.execStat("transformDAE -> sort components",CevalScript.RT_CLOCK_EXECSTAT_BACKEND_MODULES);
then (syst,ishared);
else
Expand Down
4 changes: 2 additions & 2 deletions Compiler/BackEnd/Causalize.mo
Expand Up @@ -211,7 +211,7 @@ algorithm
BackendDump.printEqSystem(outSyst);
comps := BackendDAETransform.tarjanAlgorithm(mT,ass2);
BackendDump.dumpComponentsOLD(comps);
IndexReduction.dumpSystemGraphML(outSyst,iShared,NONE(),"SingularSystemCheck" +& intString(nVars) +& ".graphml");
IndexReduction.dumpSystemGraphML(outSyst,iShared,NONE(),"SingularSystemCheck" +& intString(nVars) +& ".graphml",false);
*/
// free states matching information because there it is unkown if the state or the state derivative was matched
((_,ass1,ass2)) := BackendVariable.traverseBackendDAEVars(vars, freeStateAssignments, (1,ass1,ass2));
Expand Down Expand Up @@ -293,7 +293,7 @@ algorithm
BackendDump.dumpMatching(inAssignments1);
BackendDump.dumpMatching(inAssignments2);
syst := BackendDAEUtil.setEqSystemMatching(isyst, BackendDAE.MATCHING(inAssignments1,inAssignments2,{}));
// IndexReduction.dumpSystemGraphML(syst,ishared,NONE(),"SingularSystem" +& intString(n) +& ".graphml");
// IndexReduction.dumpSystemGraphML(syst,ishared,NONE(),"SingularSystem" +& intString(n) +& ".graphml",false);
*/
// get from scalar eqns indexes the indexes in the equation array
unmatched := List.flatten(eqns);
Expand Down
318 changes: 318 additions & 0 deletions Compiler/BackEnd/HpcOmSimCode.mo

Large diffs are not rendered by default.

0 comments on commit 125f870

Please sign in to comment.