You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying setup C++ kernel, and i downloaded file from below link and Python3.6 is default https://root.cern.ch/download/cling/cling_2020-08-25_ROOT-centos7.tar.bz2
i have installed and added kernel to jupyterhub, but C++ kernel is dying every time.
cp cling_2020-08-25_ROOT-centos7/* /share/apps/platform/ai/cling
my .bashrc file
export PATH=/share/apps/platform/ai/cling/bin:/share/apps/platform/ai/cling/include:$PATH
export LD_LIBRARY_PATH=/share/apps/platform/ai/cling/lib:$LD_LIBRARY_PATH
cd /share/apps/platform/ai/cling/
pip install -e .
jupyter-kernelspec install cling-cpp14
[root@master ~]# jupyter-kernelspec list
Available kernels:
python3 /share/apps/platform/ai/py36/3_6_9/share/jupyter/kernels/python3
cling-cpp14 /usr/local/share/jupyter/kernels/cling-cpp14
I am getting below error
and my logs are
Aug 26 23:20:25 master jupyterhub: [I 2020-08-26 23:20:25.429 SingleUserNotebookApp log:174] 200 GET /user/zain/api/kernels?1598464225689 ([email protected]) 2.
22ms
Aug 26 23:20:27 master jupyterhub: [I 2020-08-26 23:20:27.142 SingleUserNotebookApp log:174] 200 GET /user/zain/api/terminals?1598464227384 ([email protected])
6.62ms
Aug 26 23:20:27 master jupyterhub: [I 2020-08-26 23:20:27.302 SingleUserNotebookApp restarter:110] KernelRestarter: restarting kernel (4/5), new random ports
Aug 26 23:20:28 master jupyterhub: Traceback (most recent call last):
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/py36/3_6_9/bin/jupyter-cling-kernel", line 7, in <module>
Aug 26 23:20:28 master jupyterhub: exec(compile(f.read(), __file__, 'exec'))
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/cling/share/cling/Jupyter/kernel/scripts/jupyter-cling-kernel", line 4, in <module>
Aug 26 23:20:28 master jupyterhub: main()
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/cling/share/cling/Jupyter/kernel/clingkernel.py", line 364, in main
Aug 26 23:20:28 master jupyterhub: ClingKernelApp.launch_instance()
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/py36/3_6_9/lib/python3.6/site-packages/traitlets/config/application.py", line 663, in launch_in
stance
Aug 26 23:20:28 master jupyterhub: app.initialize(argv)
Aug 26 23:20:28 master jupyterhub: File "<decorator-gen-124>", line 2, in initialize
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/py36/3_6_9/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_conf
ig_error
Aug 26 23:20:28 master jupyterhub: return method(app, *args, **kwargs)
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/py36/3_6_9/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 562, in initialize
Aug 26 23:20:28 master jupyterhub: self.init_kernel()
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/py36/3_6_9/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 447, in init_kernel
Aug 26 23:20:28 master jupyterhub: user_ns=self.user_ns,
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/py36/3_6_9/lib/python3.6/site-packages/traitlets/config/configurable.py", line 412, in instance
Aug 26 23:20:28 master jupyterhub: inst = cls(*args, **kwargs)
Aug 26 23:20:28 master jupyterhub: File "/share/apps/platform/ai/cling/share/cling/Jupyter/kernel/clingkernel.py", line 105, in __init__
Aug 26 23:20:28 master jupyterhub: raise RuntimeError('Cannot find cling in $PATH. No cling, no fun.')
Aug 26 23:20:28 master jupyterhub: RuntimeError: Cannot find cling in $PATH. No cling, no fun.
Aug 26 23:20:30 master jupyterhub: [I 2020-08-26 23:20:30.101 SingleUserNotebookApp log:174] 200 GET /user/zain/metrics?1598464230321 ([email protected]) 14.56m
s
Aug 26 23:20:30 master jupyterhub: [I 2020-08-26 23:20:30.120 SingleUserNotebookApp log:174] 200 GET /user/zain/metrics?1598464230340 ([email protected]) 15.78m
s
Aug 26 23:20:30 master jupyterhub: [W 2020-08-26 23:20:30.316 SingleUserNotebookApp restarter:100] KernelRestarter: restart failed
Aug 26 23:20:30 master jupyterhub: [W 2020-08-26 23:20:30.317 SingleUserNotebookApp kernelmanager:135] Kernel 195987df-4889-4f51-b2de-a337cffa85fd died, removin
g from map.
Please anyone help me out with this issue.
Regards,
Zain
The text was updated successfully, but these errors were encountered:
Hi, I am trying setup C++ kernel, and i downloaded file from below link and Python3.6 is default
https://root.cern.ch/download/cling/cling_2020-08-25_ROOT-centos7.tar.bz2
i have installed and added kernel to jupyterhub, but C++ kernel is dying every time.
cp cling_2020-08-25_ROOT-centos7/* /share/apps/platform/ai/cling
my .bashrc file
export PATH=/share/apps/platform/ai/cling/bin:/share/apps/platform/ai/cling/include:$PATH
export LD_LIBRARY_PATH=/share/apps/platform/ai/cling/lib:$LD_LIBRARY_PATH
cd /share/apps/platform/ai/cling/
pip install -e .
jupyter-kernelspec install cling-cpp14
cat /usr/local/share/jupyter/kernels/cling-cpp14/kernel.json
{
"display_name": "C++14",
"argv": [
"jupyter-cling-kernel",
"-f",
"{connection_file}",
"--std=c++14"
],
"language": "C++"
}
[root@master ~]# jupyter-kernelspec list
Available kernels:
python3 /share/apps/platform/ai/py36/3_6_9/share/jupyter/kernels/python3
cling-cpp14 /usr/local/share/jupyter/kernels/cling-cpp14
I am getting below error
and my logs are
Please anyone help me out with this issue.
Regards,
Zain
The text was updated successfully, but these errors were encountered: