forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Description
Describe the Testing Issue
I am using intel oneapi toolchain, and I could build abacus3.3.4 normally,
but when I tried to build the unit test on my pc, but I met some error like :
[ 17%] Linking CXX executable Container_Kernels_UTs
icpc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.
icpc: command line warning #10148: option '-Wno-tautological-constant-compare' not supported
CMakeFiles/Container_Kernels_UTs.dir/blas_op_test.cpp.o:(.data._ZTIN9container2op10BlasOpTestISt5tupleIJfNS_10DEVICE_CPUEEEEE[_ZTIN9container2op10BlasOpTestISt5tupleIJfNS_10DEVICE_CPUEEEEE]+0x10): undefined reference to `typeinfo for testing::Test'
CMakeFiles/Container_Kernels_UTs.dir/blas_op_test.cpp.o:(.data._ZTIN9container2op10BlasOpTestISt5tupleIJdNS_10DEVICE_CPUEEEEE[_ZTIN9container2op10BlasOpTestISt5tupleIJdNS_10DEVICE_CPUEEEEE]+0x10): undefined reference to `typeinfo for testing::Test'
CMakeFiles/Container_Kernels_UTs.dir/blas_op_test.cpp.o:(.data._ZTIN9container2op10BlasOpTestISt5tupleIJSt7complexIfENS_10DEVICE_CPUEEEEE[_ZTIN9container2op10BlasOpTestISt5tupleIJSt7complexIfENS_10DEVICE_CPUEEEEE]+0x10): undefined reference to `typeinfo for testing::Test'
CMakeFiles/Container_Kernels_UTs.dir/blas_op_test.cpp.o:(.data._ZTIN9container2op10BlasOpTestISt5tupleIJSt7complexIdENS_10DEVICE_CPUEEEEE[_ZTIN9container2op10BlasOpTestISt5tupleIJSt7complexIdENS_10DEVICE_CPUEEEEE]+0x10): undefined reference to `typeinfo for testing::Test'
CMakeFiles/Container_Kernels_UTs.dir/lapack_op_test.cpp.o:(.data._ZTIN9container2op12LapackOpTestISt5tupleIJfNS_10DEVICE_CPUEEEEE[_ZTIN9container2op12LapackOpTestISt5tupleIJfNS_10DEVICE_CPUEEEEE]+0x10): undefined reference to `typeinfo for testing::Test'
CMakeFiles/Container_Kernels_UTs.dir/lapack_op_test.cpp.o:(.data._ZTIN9container2op12LapackOpTestISt5tupleIJdNS_10DEVICE_CPUEEEEE[_ZTIN9container2op12LapackOpTestISt5tupleIJdNS_10DEVICE_CPUEEEEE]+0x10): more undefined references to `typeinfo for testing::Test' follow
source/module_base/module_container/ATen/kernels/test/CMakeFiles/Container_Kernels_UTs.dir/build.make:310: recipe for target 'source/module_base/module_container/ATen/kernels/test/Container_Kernels_UTs' failed
make[2]: *** [source/module_base/module_container/ATen/kernels/test/Container_Kernels_UTs] Error 1
CMakeFiles/Makefile2:2859: recipe for target 'source/module_base/module_container/ATen/kernels/test/CMakeFiles/Container_Kernels_UTs.dir/all' failed
make[1]: *** [source/module_base/module_container/ATen/kernels/test/CMakeFiles/Container_Kernels_UTs.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
Additional Context
No response
Task list for Issue attackers
- Understand the testing issue described by the developer.
- Review the specific test case, expected and actual results, and any error messages.
- Identify the root cause of the test failure or issue.
- If a possible solution is suggested, evaluate its feasibility and effectiveness.
- Implement a fix for the test failure or issue, or create a new test case if needed.
- Verify that the fix resolves the testing issue and the test case passes.
- Review and update any relevant documentation, such as test plans or user guides.
- Ensure the testing issue is resolved and close the ticket.
- Share any lessons learned or best practices with the team to prevent similar issues in the future.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels