Hi,
Can you share the list of packages installed in your Conda environment (run conda list with the environment activated), and the contents of the config.log generated by build process? I just tested the build process and the environment.yaml provided still works for me, even though quite a few of the dependencies have had significant new versions.
Regards,
Ray
Hi,
I figured out why it was working on my local machine — I had a different (older) copy of SUNDIALS installed that was being used instead of the one from the Conda environment.
I’ve just pushed a commit to the Ember repo that should fix the compatibility issues with SUNDIALS 7.x.
I also ran into an issue with getting consistent versions of the Cantera Python module and shared library installed, which was a problem for the Conda packages for Cantera 3.0. If you run into this, you may need to specify matching builds of each. For example, if the build is different among the packages shown by conda list | grep cantera, e.g.
cantera 3.0.1 py313h4beef36_12 conda-forge libcantera 3.0.1 h4beef36_12 conda-forge libcantera-devel 3.0.1 h4beef36_12 conda-forgedoes not show the same build (here, h4beef36_12) for all packages, you can install a consistent version by running:
conda install libcantera=3.0.1=h4beef36_12 where the build specified in this command is the one matching the Python package (minus the part specifying the Python version). This part shouldn’t be an issue once I get around to migrating Ember to Cantera 3.1.
Regards,
Ray
Hi Gautham,
That looks like an issue with conflicting versions of Cantera — the member function mentioned (after demangling the C++ symbol name) is Transport::setThermo(ThermoPhase&) which was removed in Cantera 3.1. It is not called directly from Ember. My best guess is that your compilation process picked up header files for Cantera 3.0 rather than Cantera 3.1, where the latter is the version installed in your Conda environment. It might be that Ember wasn’t fully recompiled after updating the Cantera version, or you have another copy of Cantera 3.0 installed somewhere that the compiler is picking up (e.g. /usr/local/include).
One thing you can try is a fresh build of Ember, deleting all build artifacts, by running rm -rf build .sconf_temp from the Ember source directory before running scons build again.
Does the scons test step work correctly, before installation?
Regards,
Ray