Skip to content
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

error with attribute of TasmanianSparseGrid() #25

Open
jfan3 opened this issue Jul 15, 2018 · 2 comments
Open

error with attribute of TasmanianSparseGrid() #25

jfan3 opened this issue Jul 15, 2018 · 2 comments

Comments

@jfan3
Copy link

jfan3 commented Jul 15, 2018

Has anyone run into the following error by any chance? Thanks!

File "OSM_example.py", line 52, in
grid = TasmanianSG.TasmanianSparseGrid()
File "/home/jfan3/Desktop/OSM2018/day1_SparseGrid/SparseGridCode/analytical_examples/TASMANIAN_Python/TasmanianSG.py", line 107, in init
self.pLibTSG = cdll.LoadLibrary("../../TasmanianSparseGrids/libtasmaniansparsegrid.so")
File "/software/python-2.7-2015q2-el6-x86_64/lib/python2.7/ctypes/init.py", line 443, in LoadLibrary
return self._dlltype(name)
File "/software/python-2.7-2015q2-el6-x86_64/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: /lib64/libm.so.6: version `GLIBC_2.15' not found (required by ../../TasmanianSparseGrids/libtasmaniansparsegrid.so)
Exception AttributeError: "TasmanianSparseGrid instance has no attribute 'pLibTSG'" in <bound method TasmanianSparseGrid.del of <TasmanianSG.TasmanianSparseGrid instance at 0x7f56ac8cc170>> ignored

@rebekahanne
Copy link

It looks like you're trying to run this .py file from your local machine. Just to double check -- did you install Tasmanian on your laptop? During class we ran an install script for Tasmanian on Midway so our code would compile there, but you might not have done so on your laptop.

@jfan3
Copy link
Author

jfan3 commented Jul 16, 2018

Thanks Rebekah! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants