Search code examples
sundialsassimulo

Sundials installed but not running in python with assimulo


Cheerio,

I am trying to use Assimulo 2.9. on a Mac OS X. For that I downloaded and installed sundials via cmake by creating a builddir to the Download file and ../Downloads/sundials-2.7.0 running

        $cmake ../Downloads/sundials-2.7.0
        $make 
        $make install 

This should install everything in /usr/local. It gives me no error warning when doing this. But when I am trying to use assimulo in python, following error message occurs:

        from .sundials import IDA, CVode
        ImportError: No module named sundials

Any suggestions?

Thank you very much.


Solution

  • The trick was to install everything through homebrew and get the missing sundials.so file. It seems that the current assimulo-2.9 distribution on pypi does not provide this shared object library and therefore triggers this error message.