Crash when optimizing a large amount of molecules

Hi ,
I want to congratulate Marcus for the work in stability on 0.9.8! It’s much
more stable to work on Avogadro.
But when I try to optimize a large number of molecules, it crashes. On Linux
it closes, and on Windows it throws a C++ runtime error. What could be
causing this? Is there something I can do?

Fernando Nakagawa

In Linux it throws:

terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Cancelado

Fernando Nakagawa

On Sun, Oct 4, 2009 at 4:34 PM, Fernando Nakagawa naka86@gmail.com wrote:

Hi ,
I want to congratulate Marcus for the work in stability on 0.9.8! It’s much
more stable to work on Avogadro.
But when I try to optimize a large number of molecules, it crashes. On
Linux it closes, and on Windows it throws a C++ runtime error. What could be
causing this? Is there something I can do?

Fernando Nakagawa

On Mon, Oct 5, 2009 at 8:05 PM, Fernando Nakagawa naka86@gmail.com wrote:

In Linux it throws:

terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Cancelado

Are you trying to minimize a molecule with more than 1000 atoms? The
current force field implementation tries to allocate memory for all
non-bonded interactions. With more than 1000 atoms, this usually
fails. This will be changed in the future, but there is no real
solution at the moment.

Tim

Fernando Nakagawa

On Sun, Oct 4, 2009 at 4:34 PM, Fernando Nakagawa naka86@gmail.com wrote:

Hi ,
I want to congratulate Marcus for the work in stability on 0.9.8! It’s
much more stable to work on Avogadro.
But when I try to optimize a large number of molecules, it crashes. On
Linux it closes, and on Windows it throws a C++ runtime error. What could be
causing this? Is there something I can do?
Fernando Nakagawa


Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf


Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
avogadro-devel List Signup and Options

On Oct 5, 2009, at 2:38 PM, Tim Vandermeersch wrote:

Are you trying to minimize a molecule with more than 1000 atoms? The
current force field implementation tries to allocate memory for all
non-bonded interactions.

Tim, are you saying it allocates memory even for non-bonded
interactions beyond the distance cut-off?

-Geoff

On Mon, Oct 5, 2009 at 9:19 PM, Geoffrey Hutchison
geoff.hutchison@gmail.com wrote:

On Oct 5, 2009, at 2:38 PM, Tim Vandermeersch wrote:

Are you trying to minimize a molecule with more than 1000 atoms? The
current force field implementation tries to allocate memory for all
non-bonded interactions.

Tim, are you saying it allocates memory even for non-bonded interactions
beyond the distance cut-off?

Yes, the memory requirements are currently N^2, regardless of the cut-off…

-Geoff