Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is a cycle in the constraint graph for mkldnn&ngraph cmake #15137

Closed
luotao1 opened this issue Jan 2, 2019 · 2 comments · Fixed by #15239
Closed

there is a cycle in the constraint graph for mkldnn&ngraph cmake #15137

luotao1 opened this issue Jan 2, 2019 · 2 comments · Fixed by #15239
Assignees

Comments

@luotao1
Copy link
Contributor

luotao1 commented Jan 2, 2019

http://ci.paddlepaddle.org/viewLog.html?buildId=44158&buildTypeId=Paddle_PrCi&tab=buildLog&_focus=14150#_state=85

[16:19:45][Step 1/1] CMake Warning at cmake/generic.cmake:251 (add_library):
[16:19:45][Step 1/1]   Cannot generate a safe runtime search path for target paddle_fluid_shared
[16:19:45][Step 1/1]   because there is a cycle in the constraint graph:
[16:19:45][Step 1/1] 
[16:19:45][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:45][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:45][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:45][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:45][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:45][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:45][Step 1/1] 
[16:19:45][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:45][Step 1/1] Call Stack (most recent call first):
[16:19:45][Step 1/1]   paddle/fluid/inference/CMakeLists.txt:61 (cc_library)
[16:19:45][Step 1/1] 
[16:19:45][Step 1/1] 
[16:19:48][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:48][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:48][Step 1/1]   test_inference_recognize_digits_mlp because there is a cycle in the
[16:19:48][Step 1/1]   constraint graph:
[16:19:48][Step 1/1] 
[16:19:48][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:48][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:48][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:48][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:48][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:48][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:48][Step 1/1] 
[16:19:48][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:48][Step 1/1] Call Stack (most recent call first):
[16:19:48][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:48][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:35 (inference_test)
[16:19:48][Step 1/1] 
[16:19:48][Step 1/1] 
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1]   test_inference_label_semantic_roles because there is a cycle in the
[16:19:49][Step 1/1]   constraint graph:
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:34 (inference_test)
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1]   test_inference_recognize_digits_conv because there is a cycle in the
[16:19:49][Step 1/1]   constraint graph:
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:35 (inference_test)
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1]   test_inference_image_classification_resnet because there is a cycle in the
[16:19:49][Step 1/1]   constraint graph:
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:33 (inference_test)
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1]   test_inference_image_classification_vgg because there is a cycle in the
[16:19:49][Step 1/1]   constraint graph:
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:33 (inference_test)
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1]   test_inference_recommender_system because there is a cycle in the
[16:19:49][Step 1/1]   constraint graph:
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:36 (inference_test)
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1]   test_inference_word2vec because there is a cycle in the constraint graph:
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:39 (inference_test)
[16:19:49][Step 1/1] 
[16:19:49][Step 1/1] 
[16:19:50][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:50][Step 1/1]   Cannot generate a safe runtime search path for target test_inference_nlp
[16:19:50][Step 1/1]   because there is a cycle in the constraint graph:
[16:19:50][Step 1/1] 
[16:19:50][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:50][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:50][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:50][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:50][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:50][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:50][Step 1/1] 
[16:19:50][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:50][Step 1/1] Call Stack (most recent call first):
[16:19:50][Step 1/1]   paddle/fluid/inference/tests/book/CMakeLists.txt:43 (cc_test)
[16:19:50][Step 1/1] 
[16:19:50][Step 1/1] 
[16:19:52][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:52][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:52][Step 1/1]   test_train_recognize_digits_conv because there is a cycle in the constraint
[16:19:52][Step 1/1]   graph:
[16:19:52][Step 1/1] 
[16:19:52][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:52][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:52][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:52][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:52][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:52][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:52][Step 1/1] 
[16:19:52][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:52][Step 1/1] Call Stack (most recent call first):
[16:19:52][Step 1/1]   paddle/fluid/train/CMakeLists.txt:17 (cc_test)
[16:19:52][Step 1/1]   paddle/fluid/train/CMakeLists.txt:28 (train_test)
[16:19:52][Step 1/1] 
[16:19:52][Step 1/1] 
[16:19:52][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:52][Step 1/1]   Cannot generate a safe runtime search path for target
[16:19:52][Step 1/1]   test_train_recognize_digits_mlp because there is a cycle in the constraint
[16:19:52][Step 1/1]   graph:
[16:19:52][Step 1/1] 
[16:19:52][Step 1/1]     dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:52][Step 1/1]       dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:52][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:52][Step 1/1]     dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:52][Step 1/1]       dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:52][Step 1/1]     dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:52][Step 1/1] 
[16:19:52][Step 1/1]   Some of these libraries may not be found correctly.
[16:19:52][Step 1/1] Call Stack (most recent call first):
[16:19:52][Step 1/1]   paddle/fluid/train/CMakeLists.txt:17 (cc_test)
[16:19:52][Step 1/1]   paddle/fluid/train/CMakeLists.txt:28 (train_test)
[16:19:52][Step 1/1] 
[16:19:52][Step 1/1] 
@luotao1
Copy link
Contributor Author

luotao1 commented Jan 2, 2019

@baojun-nervana @mozga-intel Could you help fix it?

@baojun-nervana
Copy link
Contributor

@luotao1 We have PR pending in ngraph repo to resolve this issue. Will update ngraph after the MKLDNN upgrade is done. NervanaSystems/ngraph#2291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants