-
Notifications
You must be signed in to change notification settings - Fork 31
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
Suggestions for ECL ? #2
Comments
Hi Emmanuel, thanks for your interest in maxima-jupyter. About using ECL, I believe it is possible and worth trying. About threads, maxima-jupyter uses the Lisp package bordeaux-threads and, on looking at the source code, I see that bordeaux-threads seems to work with ECL. I haven't actually tested that, however. About dumping an image, ECL doesn't support that, so the recipe I gave won't work. However, it seems like it should work OK to execute ECL-Maxima and then load the necessary maxima-jupyter Lisp code into it. I will try to load maxima-jupyter into ECL and see how that turns out. Ping me again in a few days if you don't hear from me. best, Robert. |
Le samedi 24 octobre 2015 à 18:22 -0700, Robert Dodier a écrit :
|
Emmanuel, thanks for suggesting it, but I find that ECL can't compile the source code unmodified, and if I make some trivial modifications to make it compile, it doesn't run. I may be able to resolve this eventually, but for now my advice is to use some other variety of Lisp. What platform are you running on? I might be able to compile a binary for you. |
Le jeudi 29 octobre 2015 à 13:27 -0700, Robert Dodier a écrit :
My interest for an ECL-compatible version of Maxima-Jupyter derives Since a few months, Sage offers a Jupyter interface, which does not I have found that for some problems, Maxima offers some advantages on Having the ability to add a Maxima kernel to the Jupyter notebook used Another possibility would be to use the distribution's Maxima package. So I'll probably end up having three Maxima installations : Any suggestions ? |
Well, if you are working with Linux, so am I, so maybe I can compile a package for you. I have Ubuntu 14.04 installed on x86 (32-bit). I have been creating rpm's which can be installed on Ubuntu via alien (I do that all the time, so I know it works). If you can install such a package, there is no need for the Debian GCL+Maxima package, so that reduces the complexity a little bit. |
Emmanuel, for what it's worth, I have compiled Maxima 5.37.3 with Clozure CL to produce rpms (RedHat package manager) which can be installed on Ubuntu/Debian via There are two files: |
@robert-dodier: After failing to install maxima-jupyter with maxima bulid with clisp from the repositories (I'm on linux: OpenSuse 13.2) I tried your maxima rpm with the hope that this will work better, but maxima fails to load with the error message: Heap image is too old for this kernel; Couldn't load lisp heap image from /usr/lib/maxima/5.37.3/binary-openmcl/maxima.image. ccl -V gives me: could you provide a newer Heap image or what kernel I should install? |
@Joehein I've compiled Maxima 5.40.0 with that same version of CCL (Version 1.11-r16635 (LinuxX8632)). I've uploaded maxima-exec-ccl-5.40.0-1.i386.rpm to the project file manager: https://sourceforge.net/projects/maxima/files/Maxima-Linux/5.40.0-Linux/ You should be able to download that rpm plus maxima-5.40.0-1.i386.rpm and install those two to get a working Maxima system. You might need to supply "-l ccl" as a command line option to maxima to get it to select the CCL executable. Sorry for the very late reply. Let me know if you're still interested, I'm spending some more time working out the issues with maxima-jupyter so I'd be interested to hear if it works for you. |
@Joehein I'm closing this old thread. If you're still interested, and I hope you are, please open a new thread. |
Dear Robert,
I am quite interested in using Maxima in a notebook format (much easier for my students, which are possibly interested, than a command-line interface or, worse for them, imaxima in emacs...).
My basic installation of Maxima is via the Debian package. Unfortunately, this distribution uses GCL, which has no threads...
I also use Sage (which, BTW, arisen my interest in Jupyter and led me to explore ihe IRKernel...). This aggregate uses a (slightly out of date) implementation of Maxima using ECL. ECL has native threads.
However, I haven't the slightest idea on how to create and save a Lisp image with ECL.
Have you any suggestion ?
The text was updated successfully, but these errors were encountered: