Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Wolfram Engine #11

Open
szhorvat opened this issue May 21, 2019 · 7 comments
Open

Support Wolfram Engine #11

szhorvat opened this issue May 21, 2019 · 7 comments

Comments

@szhorvat
Copy link

It would be nice if this worked with http://wolfram.com/engine

Personally, I couldn't yet get it working with standard Mathematica either. The first problem was a space in the path (I have /Applications/Mathematica 12.0.app on OS X). Note that the Wolfram Engine installs to such a path by default on Mac. Once I removed the space, and provided the location as

python setup.py install --mma-exec /Applications/Mathematica12.0.app/Contents/MacOS/MathKernel

it just hangs, not sure way.

Back to the Wolfram Engine: note that the startup text is different than for Mathematica.

@Ludwiggle
Copy link

Ludwiggle commented May 21, 2019

@szhorvat yes you could delete the startup text matching from the installation script and from the kernel too

@szhorvat
Copy link
Author

szhorvat commented May 21, 2019

I don't think that's why it hangs because I was trying to get it working with actual Mathematica ... Did you get it working on Mac with M12.0, or did you try Linux only?

@Ludwiggle
Copy link

Ludwiggle commented May 21, 2019

I used it only with 11.3 on Linux. I am going to give it a try with the new Wolfram Engine (12) on Linux.
In the meantime you could have a look at the initialization script called wmath inside the kernel folder. That is supposed to run through wolframscript.

Update: setup.py does not work with Wolfram Engine 12 on Linux

@rljacobson
Copy link

I knew one of you would have beaten me to the punch with this question and its diagnosis. I just want to post a link-back to the SE question about this: https://mathematica.stackexchange.com/a/199040/27662.

@mmatera
Copy link
Owner

mmatera commented May 24, 2019 via email

@rljacobson
Copy link

I completely understand, @mmatera. I am just grateful you have shared your code with the world. :)

@Ludwiggle
Copy link

If you are looking for something that just works give a try to https://github.com/Ludwiggle/JWLS
If your wolframscript works, JWLS works too, cause JWLS is a bash kernel that reads and writes to fifos; as such, it hardly fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants