Skip to content

Arkane takes a long time to run due to loading Julia dependencies #2547

@jonwzheng

Description

@jonwzheng

Bug Description

Running Arkane.py takes much longer than expected (i.e. close to 1 hour rather than 1 second on a local machine) for simple TST calculations.

How To Reproduce

Go to RMG-Py/examples/arkane/reactions/ and run Arkane.py on any of the input.py files in any of the examples.
You will see that Arkane starts executing, but slows down as it starts processing the Julia imports.

Expected Behavior

Arkane should finish running in just a few seconds.

Installation Information

  • Ubuntu 20.04.6 LTS
  • install from source with Anaconda, RMG-Py tag 3.2.0-115-g87b96e1b0, RMG-database tag 3.2.0

Additional Context

The slowdown is from Arkane importing RMG's CoreEdgeReactionModel , which imports RMG reactors, which then import the Julia modules (loading the Julia stuff is really slow.)

Since I'm only using Arkane for conventional TST, I was able to get the runtime back to the expected ~1 seconds by commenting out all of the instances where CoreEdgeReactionModel or ExplorerJob are imported when Arkane.py is called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions