eswagel / SymbolicsMathLink.jl

Julia package to seamlessly integrate Mathematica's MathLink with Julia's native Symbolics package
MIT License
7 stars 1 forks source link

Usage example does not work #6

Open kockahonza opened 1 week ago

kockahonza commented 1 week ago

Hi, I've just found this package and would love to use it but I'm having trouble getting it to work. I've tried to exact example as in the README and I get "Aborted" for anything besides the simplest things.

julia> using Symbolics; using SymbolicsMathLink

julia> @variables x;

julia> expr = x^2 + x - 1;

julia> result = wcall("Solve", expr==0)
var"\$Aborted"

I think the wolfram installation was found correctly as

julia> wcall("Sin", x)
sin(x)

seems to work as intended, but anything involving Solve fails.

eswagel commented 1 week ago

Unfortunately, as far as I can tell that's something going wrong with MathLink, which handles the interface with Mathematica. I'll do some more testing to figure out for sure if that's the case, but if it is that's not easy for me to fix.

kockahonza commented 1 week ago

I was thinking it might be, thanks for checking though.