MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library
Closed this issue · 0 comments
TaehwanKwon commented
I encountered below error while I am typing
python -m torch_ort.configure
"Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it."
I found the solution for this issue and wanted to leave it here.
export MKL_SERVICE_FORCE_INTEL=1
and
export MKL_THREADING_LAYER=GNU
solved the error of the above command.