gpilab / framework

The GPI framework provides the canvas for graphically assembling algorithms.
Other
20 stars 8 forks source link

GPI on Windows : Crash when loading 'matplotlib' node on canvas #5

Closed sudarshanragu closed 5 years ago

sudarshanragu commented 7 years ago

When loading the matplotlib node on the canvas, GPI crashes (canvas disappears) with the following error: OMP : Error #100: Fatal system error detected. OMP: System error #22: Invalid argument A screen shot of the error message has been attached : gpi_crash_matplotlib_repeat

This seems to be associated with scipy (at least in this particular case). A quick way to test this was to recreate the same error by typing the following at command line : $ python -c 'import scipy; scipy.test()'

sudarshanragu commented 7 years ago

A working solution for this issue seems to be achieved by typing the following at command line before starting a session of GPI (At this point it is still unclear to me why) : $export KMP_AFFINITY=disabled

Now either instantiating matplotlib or runnign the scipy test command work without issues.

nckz commented 7 years ago

Does this still happen with the nomkl conda package installed?

borupdaniel commented 5 years ago

Closing as stale - please feel free to re-open if this is still an issue!