← Back to team overview

yade-users team mailing list archive

[Question #680653]: Boost Pointer Assertion when running yade in parallel

 

New question #680653 on Yade:
https://answers.launchpad.net/yade/+question/680653

Dear Group,
I am a sys-admin assisting a researcher using yade. His problem works OK with yade in single threaded  mode, but when he tried to make it parallel ( -j 4)  he gets a Boost pointer assertion failure. Is anybody able to assist with this error?

We are using yade 1.20.0, running inside a Xenial Singularity container, with yade installed via the package managers

singularity exec /usr/local/yade/1.20.0-cpu/bin/yade-cpu.img yade -j4 ./Clump.py
Welcome to Yade 1.20.0 
TCP python prompt on localhost:9000, auth cookie `cyudss'
XMLRPC info provider on http://localhost:21000
Running script ./Clump.py
./Clump.py:544: SyntaxWarning: name 'direct' is assigned to before global declaration
  global direct, cc
./Clump.py:544: SyntaxWarning: name 'cc' is assigned to before global declaration
  global direct, cc
 python: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = Body; typename boost::detail::sp_member_access<T>::type = Body*]: Assertion `px != 0' failed.
python: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = Body; typename boost::detail::sp_member_access<T>::type = Body*]: Assertion `px != 0' failed.
python: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = Body; typename boost::detail::sp_member_access<T>::type = Body*]: Assertion `px != 0' failed.
Aborted (core dumped)

thanks
Simon Michnowicz


-- 
You received this question notification because your team yade-users is
an answer contact for Yade.