Skip to content

Pywrap Error  #45

@testcan

Description

@testcan

Hello all,

I am quite new with pyjac, so please apologies stupid questions.
My target is to calculate the jacobian matrix during the time integration and feeding back to my stiff ode solver to speed-up the calculation.
Pyjac sounds very interesting to my task so i decided to take a look on the documentation and use it.,

I install pyjac with the conda command conda install -c slackha pyjac under Windows and i started to understand the basic running the first example H2O2 chemistry. Everything run smoothyl creating the out folder with all *c and *h files. So I assumed the installation was successfull.

The second step was to generate the the python wrapper to import into cantera script with the following command: python -m pyjac.pywrap --source_dir out -l c but i got the following error: "FileNotFoundError: [WinError 2] The system cannot find the file specified". (as C compiler i have instlled 'mingw-w64' with the following command conda install libpython m2w64-toolchain -c msys2

The detailed description of the error is reported in the attacched file.
pywrapper_error.txt

Do you know how to fix the issue?

Thanks in advance for any help

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