ngraph icon indicating copy to clipboard operation
ngraph copied to clipboard

Backend 'CPU' not registered. Error:dlopen: cannot load any more object with static TLS.

Open liuchangready opened this issue 8 years ago • 2 comments

hi i follwed Build nGraph bridge from source using TensorFlow source,but when i install the tensorflow and ngraph and then run the axpy.py .The program show the what(): Backend 'CPU' not registered. Error:dlopen: cannot load any more object with static TLS. my gcc version is 7.3.0 system are Red Hat 4.8.2-16

liuchangready avatar Nov 20 '18 08:11 liuchangready

Just to clarify, did you use the bazel based TensorFlow build with --config=ngraph selected? Please provide the TF version number so that we can try to reproduce this.

avijit-nervana avatar Nov 29 '18 15:11 avijit-nervana

@liuchangready please try using LD_PRELOAD for the libcpu_backend.so TF has way too many libraries that want to use static TLS and the default loader might not be able to support all of them. Please see this for an explanation of the issue: https://stackoverflow.com/questions/19268293/matlab-error-cannot-open-with-static-tls

jbobba avatar Nov 29 '18 18:11 jbobba