iwolfram icon indicating copy to clipboard operation
iwolfram copied to clipboard

Support Wolfram Engine

Open szhorvat opened this issue 5 years ago • 7 comments

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.

szhorvat avatar May 21 '19 21:05 szhorvat

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

Ludwiggle avatar May 21 '19 21:05 Ludwiggle

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?

szhorvat avatar May 21 '19 21:05 szhorvat

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

Ludwiggle avatar May 21 '19 21:05 Ludwiggle

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.

rljacobson avatar May 24 '19 16:05 rljacobson

Indeed, the current project would require some extra work to be "ironed" properly. Sadly, I can work on it just during my scarce extra time.

Dr. Juan Mauricio Matera

CONICET IFLP - Dto. de Física UNLP, Casilla de Correos 67 Calle 49 y 115 s/n, 1900 La Plata, Argentina Tel +54 221 4246062 (int 294) Fax +54 221 4236335 e-Mail: [email protected] homepage: http://www.fisica.unlp.edu.ar/Members/matera Skype: mauricio5831

El vie., 24 may. 2019 a las 13:53, Robert Jacobson (< [email protected]>) escribió:

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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mmatera/iwolfram/issues/11?email_source=notifications&email_token=AAV2ZUH3WL36LPNTWWCUBV3PXAMO5A5CNFSM4HOOXOW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWF6O3Q#issuecomment-495708014, or mute the thread https://github.com/notifications/unsubscribe-auth/AAV2ZUBIBPT26XM77UBB4IDPXAMO5ANCNFSM4HOOXOWQ .

mmatera avatar May 24 '19 17:05 mmatera

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

rljacobson avatar May 24 '19 18:05 rljacobson

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.

Ludwiggle avatar May 24 '19 20:05 Ludwiggle