Hi:
--- On Wed, 4/16/08, C. Ahlstrom <[EMAIL PROTECTED]> wrote: > From: C. Ahlstrom <[EMAIL PROTECTED]> > Subject: Re: Error message 'std::bad_alloc' > To: "Lennart Sorensen" <[EMAIL PROTECTED]> > Cc: "Francesco Pietra" <[EMAIL PROTECTED]>, "debian64" > <debian-amd64@lists.debian.org> > Date: Wednesday, April 16, 2008, 2:49 PM > ++++++++ Lennart Sorensen 14:49 Wed 16 Apr ++++++++ > > >On Wed, Apr 16, 2008 at 10:04:56AM -0700, Francesco > Pietra wrote: > >> > >> terminate called after throwing an instance of > 'std::bad_alloc' > >> what(): St9bad_alloc > >> > >> which occurs on running a chemical computational > program (serial run) on a eighth logical 875 opterons > system with 24GB RAM (all activated with shmmax and also > setting the stack size to 'unlimited'), Debian > amd64 etch. > > > >The std:: would to me make me think C++ namespace > 'std' function > >'bad_alloc'. So probably a bad_alloc function > exists in C++ and is > >returning an error. > > It is a standard exception thrown when the new() operator > fails. > > Your running out of RAM, perhaps. > > Do you build this program yourself from source? Yes (g77-3.4 g++ 4.1.2 lib2c0-dev) from the configure file provided by developers. No errors in either the serial or parallel compilations (openmpi). Also, there is a very long test for both the serial and parallel execution. All passed with a few marginal warnings for different precision on different machines. Finally, docking of a slightly smaller ligands occurs with no errors. francesco > > >I personally try to avoid dealing with C++ code > anymore. It is getting > >too ugly after the STL stuff went in. > > Nahhh, the STL is great stuff! > > -- > Only two kinds of witnesses exist. The first live in a > neighborhood where > a crime has been committed and in no circumstances have > ever seen anything > or even heard a shot. The second category are the > neighbors of anyone who > happens to be accused of the crime. These have always > looked out of their > windows when the shot was fired, and have noticed the > accused person standing > peacefully on his balcony a few yards away. > -- Sicilian police officer > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]