-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi,
Since upgrading to Ubuntu 24.04, I have problems loading FiniteFlow in Mathematica (I tested v13.3 and v14.1).
CMake finds the Mathematica installation and things seem to compile properly. I build using cmake -DCMAKE_INSTALL_PREFIX=$HOME/software . so I end up with /home/josh/software/lib/libfflow.so and /home/josh/.Wolfram/SystemFiles/LibraryResources/Linux-x86-64/fflowmlink.so after make install.
In Mathematica though, I get:
<< FiniteFlow`
LibraryFunction::load: The library /home/josh/.Wolfram/SystemFiles/LibraryResources/Linux-x86-64/fflowmlink.so cannot be loaded.
LibraryFunction::libload: The function fflowml_default_nthreads was not loaded from the file /home/josh/.Wolfram/SystemFiles/LibraryResources/Linux-x86-64/fflowmlink.so.
LibraryFunction::libload: The function fflowml_graph_new was not loaded from the file /home/josh/.Wolfram/SystemFiles/LibraryResources/Linux-x86-64/fflowmlink.so.
LibraryFunction::libload: The function fflowml_graph_dummy was not loaded from the file /home/josh/.Wolfram/SystemFiles/LibraryResources/Linux-x86-64/fflowmlink.so.
General::stop: Further output of LibraryFunction::libload will be suppressed during this calculation.
This seems related to the version of Flint which FiniteFlow is linked to. Ubuntu 24.04's package is 3.0.1. If I link against https://github.com/peraro/flint-finiteflow-dep then things work OK.
Is FiniteFlow supposed to be compatible with Flint 3? Mathematica also links against its own libflint these days, which I think is also 2.x. I don't know if the version mismatch there can cause problems.
Thanks,
Josh.