DSimonne / gwaihir

Repository regarding the Gwaihir GUI used for Bragg Coherent Coherent Diffraction (BCDI) data analysis
GNU General Public License v3.0
9 stars 3 forks source link

Cannot import Gwaihir: cannot allocate memory in static TLS block #55

Open DSimonne opened 2 years ago

DSimonne commented 2 years ago

After typing:

from gwaihir.gui import gui

One gets the following error:

ImportError: /lib/powerpc64le-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block

We tested different step by step imports:

But this works:

Why ?

DSimonne commented 2 years ago

Only seem to happen on the p9, needs to test at SixS to see if it is really the case

ccechatelier commented 2 years ago

Good point indeed. From what I read on the Internet, it could be also linked to some openmp configuration issues. We might need to open a trouble ticket at ESRF.

DSimonne commented 2 years ago

Yes, Vincent is on it, he said it could be nice if we manage to reproduce the error with a few imports.

I think it is the same in the terminal as well , but always linked to the import of Gwaihir

ccechatelier commented 2 years ago

Yes it's the same error while loading in a terminal. Importing xrayutilities only does the same error as well !