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

Failure of installation #746

Open
63pxyx opened this issue May 19, 2024 · 1 comment
Open

Failure of installation #746

63pxyx opened this issue May 19, 2024 · 1 comment

Comments

@63pxyx
Copy link

63pxyx commented May 19, 2024

When I install CB Geo, execute the ’make‘. There are a large number of errors reported for :

[ 1%] Building CXX object CMakeFiles/mpmtest.dir/tests/mpi_transfer_particle_test.cc.o
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc: In function ‘void ____C_A_T_C_H____T_E_S_T____0()’:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:42: error: ‘Graph’ is not a member of ‘mpm’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^~~~~
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:42: error: ‘Graph’ is not a member of ‘mpm’
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:51: error: no match for ‘operator>’ (operand types are ‘’ and ‘mpm::Vector<mpm::Cell<2> >’)
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
| | |
| mpm::Vector<mpm::Cell<2> >
In file included from /usr/include/c++/10/bits/stl_algobase.h:64,
from /usr/include/c++/10/memory:63,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/stl_pair.h:502:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator>(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)’
502 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/usr/include/c++/10/bits/stl_pair.h:502:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::pair<_T1, _T2>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/bits/stl_algobase.h:67,
from /usr/include/c++/10/memory:63,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/stl_iterator.h:378:5: note: candidate: ‘template bool std::operator>(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)’
378 | operator>(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/10/bits/stl_iterator.h:378:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::reverse_iterator<_Iterator>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/bits/stl_algobase.h:67,
from /usr/include/c++/10/memory:63,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/stl_iterator.h:416:5: note: candidate: ‘template<class _IteratorL, class _IteratorR> bool std::operator>(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)’
416 | operator>(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/10/bits/stl_iterator.h:416:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::reverse_iterator<_IteratorR>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/bits/stl_algobase.h:67,
from /usr/include/c++/10/memory:63,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/stl_iterator.h:1469:5: note: candidate: ‘template<class _IteratorL, class _IteratorR> bool std::operator>(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)’
1469 | operator>(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/10/bits/stl_iterator.h:1469:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::move_iterator<_IteratorR>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/bits/stl_algobase.h:67,
from /usr/include/c++/10/memory:63,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/stl_iterator.h:1519:5: note: candidate: ‘template bool std::operator>(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)’
1519 | operator>(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/10/bits/stl_iterator.h:1519:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::move_iterator<_IteratorL>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/tuple:39,
from /usr/include/c++/10/bits/unique_ptr.h:37,
from /usr/include/c++/10/memory:83,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/array:293:5: note: candidate: ‘template<class _Tp, long unsigned int _Nm> bool std::operator>(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)’
293 | operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/usr/include/c++/10/array:293:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::array<_Tp, _Nm>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/bits/unique_ptr.h:37,
from /usr/include/c++/10/memory:83,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/tuple:1454:5: note: candidate: ‘template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const std::tuple<_Tps ...>&, const std::tuple<_Elements ...>&)’
1454 | operator>(const tuple<_TElements...>& __t,
| ^~~~~~~~
/usr/include/c++/10/tuple:1454:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::tuple<_Elements ...>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/memory:83,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/unique_ptr.h:845:5: note: candidate: ‘template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)’
845 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/usr/include/c++/10/bits/unique_ptr.h:845:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::unique_ptr<_Up, _Ep>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/memory:83,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/unique_ptr.h:852:5: note: candidate: ‘template<class _Tp, class _Dp> bool std::operator>(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)’
852 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/usr/include/c++/10/bits/unique_ptr.h:852:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: couldn’t deduce template parameter ‘_Tp’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/memory:83,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/unique_ptr.h:861:5: note: candidate: ‘template<class _Tp, class _Dp> bool std::operator>(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)’
861 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/usr/include/c++/10/bits/unique_ptr.h:861:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/bits/shared_ptr.h:52,
from /usr/include/c++/10/memory:84,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/shared_ptr_base.h:1529:5: note: candidate: ‘template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)’
1529 | operator>(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/usr/include/c++/10/bits/shared_ptr_base.h:1529:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::__shared_ptr<_Tp2, _Lp>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/bits/shared_ptr.h:52,
from /usr/include/c++/10/memory:84,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/shared_ptr_base.h:1535:5: note: candidate: ‘template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)’
1535 | operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/10/bits/shared_ptr_base.h:1535:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: couldn’t deduce template parameter ‘_Tp’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/bits/shared_ptr.h:52,
from /usr/include/c++/10/memory:84,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/shared_ptr_base.h:1540:5: note: candidate: ‘template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)’
1540 | operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/10/bits/shared_ptr_base.h:1540:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/memory:84,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/shared_ptr.h:534:5: note: candidate: ‘template<class _Tp, class _Up> bool std::operator>(const std::shared_ptr<_Tp>&, const std::shared_ptr<_Tp>&)’
534 | operator>(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/usr/include/c++/10/bits/shared_ptr.h:534:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::shared_ptr<_Tp>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/memory:84,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/shared_ptr.h:540:5: note: candidate: ‘template bool std::operator>(const std::shared_ptr<_Tp>&, std::nullptr_t)’
540 | operator>(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/10/bits/shared_ptr.h:540:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: couldn’t deduce template parameter ‘_Tp’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/memory:84,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:2:
/usr/include/c++/10/bits/shared_ptr.h:546:5: note: candidate: ‘template bool std::operator>(std::nullptr_t, const std::shared_ptr<_Tp>&)’
546 | operator>(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/10/bits/shared_ptr.h:546:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::shared_ptr<_Tp>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /home/cbgeo/research/mpm/external/catch.hpp:384,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:4:
/usr/include/c++/10/bits/basic_string.h:6305:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
6305 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/10/bits/basic_string.h:6305:5: note: template argument deduction/substitution failed:
/home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:332:67: note: ‘mpm::Vector<mpm::Cell<2> >’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
332 | auto graph = std::make_shared<mpm::Graph>(mesh->cells());
| ^
In file included from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /home/cbgeo/research/mpm/external/catch.hpp:384,
from /home/cbgeo/research/mpm/tests/mpi_transfer_particle_test.cc:4:
/usr/include/c++/10/bits/basic_string.h:6318:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)’
6318 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~

@kks32
Copy link
Contributor

kks32 commented May 20, 2024

Seems like the tests are failing. Could you try compiling with make mpm

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

No branches or pull requests

2 participants