Open khuck opened 4 years ago
Update: a similar error is happening with kmeans:
{stack-trace}: 17 frames:
0x7f50a31bc718 : /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1(+0x63b718) [0x7f50a31bc718] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
0x7f50a31aa450 : std::__exception_ptr::exception_ptr hpx::detail::get_exception<hpx::exception>(hpx::exception const&, 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&, long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [0x2c0] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
0x7f50a31aa520 : void hpx::detail::throw_exception<hpx::exception>(hpx::exception const&, 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&, long) [0x60] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
0x7f50a31ae517 : hpx::detail::throw_exception(hpx::error, 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&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long) [0x97] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
0x7f50a43d52ee : phylanx::execution_tree::compiler::compiler_helper::handle_define(std::multimap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, phylanx::ast::expression, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, phylanx::ast::expression> > >&, phylanx::ast::tagged const&, hpx::naming::id_type const&) [0xa7e] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-Release/lib/libhpx_phylanx.so.0
0x7f50a43d15db : phylanx::execution_tree::compiler::compiler_helper::operator()(phylanx::ast::expression const&) [0x35b] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-Release/lib/libhpx_phylanx.so.0
0x7f50a43c2b84 : phylanx::execution_tree::compiler::compile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, phylanx::ast::expression const&, phylanx::execution_tree::compiler::function_list&, phylanx::execution_tree::compiler::environment&, std::multimap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, phylanx::execution_tree::compiler::expression_pattern, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, phylanx::execution_tree::compiler::expression_pattern> > > const&, hpx::naming::id_type const&) [0x84] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-Release/lib/libhpx_phylanx.so.0
0x7f50a43b7458 : phylanx::execution_tree::detail::compile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, phylanx::ast::expression const&, phylanx::execution_tree::compiler::function_list&, phylanx::execution_tree::compiler::environment&, hpx::naming::id_type const&) [0x48] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-Release/lib/libhpx_phylanx.so.0
0x7f50a43b96ba : phylanx::execution_tree::compile(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&, std::vector<phylanx::ast::expression, std::allocator<phylanx::ast::expression> > const&, phylanx::execution_tree::compiler::function_list&, hpx::naming::id_type const&) [0xfa] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-Release/lib/libhpx_phylanx.so.0
0x7f50a43bad47 : phylanx::execution_tree::compile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, phylanx::execution_tree::compiler::function_list&, hpx::naming::id_type const&) [0xb7] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-Release/lib/libhpx_phylanx.so.0
0x4106a8 : /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-Release/bin/kmeans() [0x4106a8] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/phylanx-Release/bin/kmeans
0x7f50a32b2a0d : hpx::runtime::run_helper(hpx::util::function<int (), false> const&, int&, bool) [0xcd] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
0x7f50a30bac69 : hpx::runtime_distributed::run_helper(hpx::util::function<int (), false> const&, int&) [0x2c9] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
0x7f50a30bd3f9 : /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1(+0x53c3f9) [0x7f50a30bd3f9] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
0x7f50a31a001b : hpx::threads::coroutines::detail::coroutine_impl::operator()() [0xeb] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
0x7f50a319f8d9 : /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1(+0x61e8d9) [0x7f50a319f8d9] in /home/users/khuck/nightly/phylanx/phylanx/tools/buildbot/build-delphi-x86_64-Linux-gcc/hpx-Release/lib/libhpx.so.1
{locality-id}: 0
{hostname}: [ ]
{process-id}: 67915
{os-thread}: 0, worker-thread#0
{thread-id}: 0000000001bdd380
{thread-description}: hpx_main
{state}: state_running
{auxinfo}:
{file}: /home/users/khuck/nightly/phylanx/phylanx/src/execution_tree/compiler/compiler.cpp
{line}: 818
{function}: phylanx::execution_tree::compiler::handle_define
{what}: <unknown>(39, 12): the variable 'kmeans' was already used as a name for a primitive (as: 'kmeans(_1_points)'): HPX(bad_parameter)
New error:
{what}: lra(14, 20): the variable 'gradient' was already used as a name for a primitive (as: 'gradient(_1, _2)'): HPX(bad_parameter)
@khuck just rename the variable to not be "gradient" and all will be well.
Yes, I have the same error when running lra_csv:
{file}: /home/nanmiao/Documents/project/dev/src/phylanx/src/execution_tree/compiler/compiler.cpp
{line}: 818
{function}: phylanx::execution_tree::compiler::handle_define
{what}: lra(14, 20): the variable 'gradient' was already used as a name for a primitive (as: 'gradient(_1, _2)'): HPX(bad_parameter)
This should be fixed in #1202, but it hasn't been merged yet
This should be fixed in #1202, but it hasn't been merged yet
I'm still waiting for the tests to cycle. I'll merge it asap.
Running the lra_csv example results in the following error: