[Warped-devel] TimeWarpSimulationManager

William Voorsluys williamvoor at gmail.com
Fri Oct 22 09:18:34 EDT 2004


Hello,

We've developed a version of PHOLD that works with Warped 2.0. The
plan is to use it to test the load balancing feature we're adding to
Warped. Actually that feature is not implemented yet, as we're still
familiarizing with the kernel.

When testing the application using MPICH with two hosts, we came
across the following problem. PHOLD suddenly hangs with a segmentation
fault error. It was possible to see that some objects (remote
objects), have a NULL pointer to their SimulationManager. We can see
that by printing a message in the following method of
SimulationObject.cpp.

void
SimulationObject::receiveEvent( const Event *newEvent ){
  ASSERT( newEvent != 0 );
  ASSERT( newEvent->getReceiver() == getName() );
  cerr << "receiveEvent(): " << getSimulationManager() << endl;
  getSimulationManager()->handleEvent( newEvent );
}

We suspect that some message is being lost, and the kernel is not
correctly setting the pointers to Object Proxies. Is that possible?
Which segment of code we could debug to certify? We're relatively new
to Warped and sometimes we have a hard time in figuring out what's
going on.
If necessary we can provide the source of PHOLD if someone would like
to test it.

Thank you in advance,

William.




More information about the warped-devel mailing list