Closed haraldschilly closed 4 years ago
well, I found a related ticket. This is a duplicate of https://github.com/kpeeters/cadabra2/issues/123
Since this keeps coming up, I have just pushed a change which always puts icons below CMAKE_INSTALL_PREFIX. Be aware that many window managers will not show you icons if you have them in anything but CMAKE_INSTALL_PREFIX=/usr
. That's their bug of course.
That's commit b354300c95b5b9e41b2f6480f69c4f92c2c35a7b.
Thank you for the quick fix. I was able to install this in a project on https://cocalc.com without any issues and all tests pass.
I have a feature/jupyter-kernel branch which has some preliminary code for a Cadabra Jupyter kernel. Very experimental at this stage, but that's probably the best way forward for integration with a service like cocalc.
Is that feature (installing custom software) only available for non-free cocalc accounts? Care to write down in a few lines how you did this?
CoCalc is basically a remote linux environment and you're the user "user". You don't have admin rights and it's all confined in a container. Hence, the instructions for ubuntu work right out of the box, except for that prefix. CoCalc already puts ~/bin
and ~/.local/bin
into your PATH
, too.
The only obstacle with free accounts is that there is no remote internet access and lower grade hosting. But you can email us at help@cocalc.com your project ID and we can upgrade it for free, such that you can properly test and work in a terminal. No problem.
Besides that, we'll install cadabra2 globally for everyone, which will be released in the next few days. Then, everything should just work out of the box.
That jupyter kernel sounds interesting. Maybe we should work out how to deploy this on cocalc and test it? It does sound like it isn't too hard to setup…?
I've also tested the GTK app: below is a screenshot from a test project, running a notebook in the X11 desktop:
Very nice, drop me a line when cadabra2 is available for everyone, then I'll announce on the cadabra front page as well (this is potentially very useful for a number of users). I'm very busy this coming week but I'll try to get something more structured to you about the jupyter kernel asap. I was toying with the idea of running a jupyterlab server myself but cocalc is probably a much, much better idea.
This sounds exciting! Cadabra2 is available on CoCalc, see our software update notes!
Seems to work fine, I'll do an announcement on my end. Thanks!
There is now an experimental Jupyter kernel for Cadabra. See https://github.com/kpeeters/cadabra2/blob/master/JUPYTER.rst for build instructions. This lacks a few features, in particular proper error reporting, but any feedback on the build process at this stage is very welcome.
@haraldschilly I have been running the Jupyter kernel on a private VPS for some time now, and thing seem to work fine. Would you be willing to offer it on Cocalc as a Jupyter kernel as well?
@kpeeters in general yes, but could you please point me to some docs?
I've also made https://github.com/sagemathinc/cocalc/issues/4185 to track this as part of the cocalc tickets...
Setting an install prefix for cmake should change the location where the application is being installed. I.e. in particular, such that users can deploy this in their own
~/.local
directory (hence binaries will be in~/.local/bin
etc.)This is done by replacing
cmake ..
withcmake -DCMAKE_INSTALL_PREFIX:PATH=~/.local/ ..
Overall this works fine, and someone just has to add the
~/.local/bin
dir to thePATH
. However,make install
fails right here, which indicates that there are some paths which aren't using the install prefix properly:Still,
cadabra2
starts up and the tests pass. So, this is probably pretty much all that's missing here …