willirath / ABCDE-demo

MIT License
1 stars 1 forks source link

Add SZ #11

Closed willirath closed 3 years ago

willirath commented 3 years ago

38aa1c7 should install a working™️ pysz. One thing left to do: It does not find the libSZ.so without explicitly setting the LD_LIBRARY_PATH.

willirath commented 3 years ago

Dirty library loading trick (use in a Jupyter notebook):

from ctypes import cdll
lib1 = cdll.LoadLibrary('/home/jovyan/pysz/lib/libSZ.so')
lib2 = cdll.LoadLibrary('/home/jovyan/pysz/lib/libzstd.so')

import pysz
ucyo commented 3 years ago

Are the variables lib1 and lib2 used? Or ignored?

willirath commented 3 years ago

They are ignored.

ucyo commented 3 years ago

Just tested the new setup. I tested it and it seems to be working. But I discovered #13

ucyo commented 3 years ago

If we can be use that #13 is not a problem at our end (do not see a reason why not), we should merge.