Jupyter kernel dying repeatedly while woking with SHTns library
Hi, I am working on a model to study evolution of magnetic field on the Sun's Surface. I have installed SHTns version 3.4.2 in a anaconda (4.10.1) environment. But while working with the library after importing it in a Jupyter Notebook or spyder editor, the kernel dies everytime while running the code. I tried to work with python 3.8 and python 3.6 but the problem was'nt resolved. I installed the library using the command "conda install -c conda-forge shtns". Kindly provide a solution to the problem at the earliest.
Comments (3)
-
repo owner -
Thank you for the suggestion. While installing the library myself, I encountered a problem, when I run the second command “make” it says:
make: *** No targets specified and no makefile found. Stop.
and the installation is not being done properly.
Kindly suggest any solution for this!
-
repo owner - changed status to invalid
- Log in to comment
I have never experienced any such problem.
My guess is that the conda package (?) is broken or compiled for a machine other than yours. However, I don’t know anything about conda so I cannot help you further. I don’t know who added shtns to conda, but I think you should file a bug report there.
Easiest solution is to install shtns yourself. It is rather straightforward and you will achieve maximum performance:
./configure --enable-python --disable-openmp
make
python setup.py install --user
and you’re done (hopefully!).