Error running demo_notebook
Posted: Tue Oct 15, 2019 8:06 am
Hi,
I got the following error when running "demo_notebook". What I am doing wrong ?
--------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-bb6d99bb8a50> in <module>
5 import os, sys
6 sys.path.insert(0, os.path.dirname(os.getcwd()))
----> 7 from smartg.smartg import Smartg, Sensor
8 from smartg.smartg import RoughSurface, LambSurface, FlatSurface, Environment, Albedo_cst
9 from smartg.atmosphere import AtmAFGL, AeroOPAC, CloudOPAC, diff1, read_phase
/nfs/sdb1/RTMs/smartg-v0.9.2/smartg/smartg.py in <module>
23 import subprocess
24 from collections import OrderedDict
---> 25 from pycuda.gpuarray import to_gpu, zeros as gpuzeros
26 import pycuda.driver as cuda
27 from smartg.bandset import BandSet
/nfs/sdb1/Soft/anaconda3/envs/smartg/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/gpuarray.py in <module>
2
3 import numpy as np
----> 4 import pycuda.elementwise as elementwise
5 from pytools import memoize, memoize_method
6 import pycuda.driver as drv
/nfs/sdb1/Soft/anaconda3/envs/smartg/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/elementwise.py in <module>
33
34
---> 35 from pycuda.tools import context_dependent_memoize
36 import numpy as np
37 from pycuda.tools import dtype_to_ctype, VectorArg, ScalarArg
/nfs/sdb1/Soft/anaconda3/envs/smartg/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/tools.py in <module>
32 """
33
---> 34 import pycuda.driver as cuda
35 from decorator import decorator
36 import pycuda._driver as _drv
/nfs/sdb1/Soft/anaconda3/envs/smartg/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/driver.py in <module>
3 import six
4 try:
----> 5 from pycuda._driver import * # noqa
6 except ImportError as e:
7 if "_v2" in str(e):
ImportError: libcurand.so.8.0: cannot open shared object file: No such file or directory
I got the following error when running "demo_notebook". What I am doing wrong ?
--------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-bb6d99bb8a50> in <module>
5 import os, sys
6 sys.path.insert(0, os.path.dirname(os.getcwd()))
----> 7 from smartg.smartg import Smartg, Sensor
8 from smartg.smartg import RoughSurface, LambSurface, FlatSurface, Environment, Albedo_cst
9 from smartg.atmosphere import AtmAFGL, AeroOPAC, CloudOPAC, diff1, read_phase
/nfs/sdb1/RTMs/smartg-v0.9.2/smartg/smartg.py in <module>
23 import subprocess
24 from collections import OrderedDict
---> 25 from pycuda.gpuarray import to_gpu, zeros as gpuzeros
26 import pycuda.driver as cuda
27 from smartg.bandset import BandSet
/nfs/sdb1/Soft/anaconda3/envs/smartg/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/gpuarray.py in <module>
2
3 import numpy as np
----> 4 import pycuda.elementwise as elementwise
5 from pytools import memoize, memoize_method
6 import pycuda.driver as drv
/nfs/sdb1/Soft/anaconda3/envs/smartg/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/elementwise.py in <module>
33
34
---> 35 from pycuda.tools import context_dependent_memoize
36 import numpy as np
37 from pycuda.tools import dtype_to_ctype, VectorArg, ScalarArg
/nfs/sdb1/Soft/anaconda3/envs/smartg/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/tools.py in <module>
32 """
33
---> 34 import pycuda.driver as cuda
35 from decorator import decorator
36 import pycuda._driver as _drv
/nfs/sdb1/Soft/anaconda3/envs/smartg/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/driver.py in <module>
3 import six
4 try:
----> 5 from pycuda._driver import * # noqa
6 except ImportError as e:
7 if "_v2" in str(e):
ImportError: libcurand.so.8.0: cannot open shared object file: No such file or directory