[MOAB-dev] debugging mbparallelcomm_test on cosmea

Jason Kraftcheck kraftche at cae.wisc.edu
Tue Jan 19 08:38:00 CST 2010


Dmitry Karpeev wrote:
> I'm trying to get some parallel runs out of mbparallelcomm_test on cosmea,
> but I keep getting this error (when running in parallel):
> terminate called after throwing an instance of 'std::bad_alloc'
>   what():  St9bad_alloc
> 
> The exception appears to be thrown on rank 0, which causes an abort
> across the comm.
> Any ideas about what's going on?
> I'm about to dig in to see what the problem may be, but I thought someone might
> save me the trouble :-)
> 

This is the result of a failed memory allocation (new, malloc, or perhaps an
increase in the stack size.)  Are you trying to allocate a very large array?

- jason


More information about the moab-dev mailing list