spacetelescope/JWSTUserTraining2016

check_env core dumps on Ubuntu on Windows 10

pllim opened this issue · 1 comments

pllim commented

I'm running bash on Ubuntu on Windows 10. I have installed astroconda without error. I have astroconda/bin on my PATH. Here is the output of check_env.py, with:

./check_env.py
OMP: Error #100: Fatal system error detected.
OMP: System error #22: Invalid argument
Aborted (core dumped)

I have a feeling it would be easier and less complicated for me to install all of the needed packages myself, e.g. using pip.

I'm not sure doing it yourself is going to fix the problem.

microsoft/WSL#785

The fix is to turn off KMP affinity:

export KMP_AFFINITY=disabled