Error in Building MOOSE #28531
Replies: 4 comments 20 replies
-
Hello This looks like your version of moose and wasp are not in sync. Guillaume |
Beta Was this translation helpful? Give feedback.
-
I am using GCC compiler and building the stack manually. |
Beta Was this translation helpful? Give feedback.
-
I was able to find a solution for the issue and compiled the moose successfully. I think the order of modules loaded to the local environment is critical as there might be a conflict between some of them that can create Tcl command execution, However, I have added the output of diagnostic script below. If you have any recommendations, please let me know. #################################################################################################### CC=gcc which $CC; /usr/local/gcc/alt/9.2.0/bin/gcc CXX not set FAIL: One or more compiler environment variables not set, or set incorrectly /usr/bin/env python3 --version; (reporting as: Python 3.9.16) matches /usr/local/python/3.9.16/bin/python3 --version; == Python 3.9.16 This will likely result in the TestHarness failing. Or WASP/HIT parsing errors. WARNING: missing module(s): jinja2 Either install the above packages, or perhaps you have yet Missing 'warning' Python modules may cause miscellaneous runtime issues. WARNING: One or more Python issues present. checks FAILED |
Beta Was this translation helpful? Give feedback.
-
I compiled the moose and did a ./run_tests -j 40. Here is the output: Ran 4227 tests in 329.0 seconds. Average test time 1.6 seconds, maximum test time 124.9 seconds. There are 12 FAILED with the following errors: misc/hit_cli.find/parameter_exists ^[[90m...........................................................^[[0m ^[[31mFAILED (CODE 1)^[[0m Could you let me know if the FAILED cases would be detrimental to the whole processes in moose? |
Beta Was this translation helpful? Give feedback.
-
Check these boxes if you have followed the posting rules.
Issue or question about MOOSE
I am running into an error message, when trying to run the command:
make -j 6
Traceback (most recent call last):
/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::dir_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::HITNodeView::dataabi:cxx11 const'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::NodeView::data[abi:cxx11]() const' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::Value::operator[](std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::HITNodeView::to_string[abi:cxx11](bool*) const' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::strip_quotes(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::lsp::buildCompletionObject(wasp::DataObject&, std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, int)' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::lsp::RPCStringToObject(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, wasp::DataObject&, std::ostream&)'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::HITNodeView::last_as_string[abi:cxx11](bool*) const' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::DataObject::operator[](std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::HITNodeView::first_child_by_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::lsp::buildLocationObject(wasp::DataObject&, std::ostream&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, int, int, int)'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::HITNodeView::path[abi:cxx11]() const' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::lsp::buildDocumentSymbolObject(wasp::DataObject&, std::ostream&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, bool, int, int, int, int, int, int, int, int)'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::lsp::objectToRPCString(wasp::DataObject&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::ostream&)' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::lsp::buildTextEditObject(wasp::DataObject&, std::ostream&, int, int, int, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::file_exists(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to
wasp::lsp::buildDiagnosticObject(wasp::DataObject&, std::ostream&, int, int, int, int, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'/usr/apps/sreihani/projects/moose/framework/libmoose-opt.so: undefined reference to `wasp::HITNodeView::child_count_by_name(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned long) const'
collect2: error: ld returned 1 exit status
make: *** [/usr/apps/sreihani/projects/moose/test/moose_test-opt] Error 1
(Optional) code in question / simulation log / errors
No response
Encountering Errors? Please include diagnostic output
No response
Beta Was this translation helpful? Give feedback.
All reactions