ELIFE-ASU / PyInform

A Python Wrapper for the Inform Information Analysis Library
https://elife-asu.github.io/PyInform
MIT License
45 stars 9 forks source link

Segmentation fault while using the Transfer Entropy #35

Open srujansai1997 opened 2 years ago

srujansai1997 commented 2 years ago

Hello, 

I am using a two time series to compute transfer entropy using the below lines. 

pyinform.transferentropy.transfer_entropy(x_timeseries,y_timeseries,1)

But I am getting a segmentation fault in Linux and tcmalloc (in collab) when interchanging the time series (y to x) using the below line.

pyinform.transferentropy.transfer_entropy(y_timeseries,x_timeseries,1)

The interesting part is that I am getting this error only in one condition. 

To compute the y_timeseries, I need to read nearly 100 GB of data (different .npz files of 3D data (time, lat, lon) ) which is being done in the same code, so there is no such error. But, when I saved the prepared y_timeseries in a separate .npz file (which is about 500 MB) and read this file, I am getting the above mentioned error. I do not understand why reading such a small file gets an error while reading large data sets there is no error. 

Please, someone help me in this regard. 

Thanks 

mb-Ma commented 2 years ago

I also meet this error. "Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)"

However, this library looks like it is not maintained.