[kepler-dev] [Bug 4041] New: - synchronization in matlab actor

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Apr 30 10:28:07 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4041

           Summary: synchronization in matlab actor
           Product: Kepler
           Version: 1.x dev
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: actors
        AssignedTo: crawl at sdsc.edu
        ReportedBy: crawl at sdsc.edu
         QAContact: kepler-dev at kepler-project.org


The matlab actor starts a new matlab process in preinitialize and closes it in
wrapup. Each instance of the actor in a model starts and stops a separate
matlab process. However, they all synchronize on a shared object, which
prevents concurrent matlab execution.

Ideally, the actors should be able to run concurrently. Why are they
synchronized? (Maybe the matlab engine shared library is not thread-safe)?

If they cannot run concurrently, then only one matlab process should be used
per JVM.


More information about the Kepler-dev mailing list