dump cfg

Hi,

I’m having a problem with using ’ dump cfg ’ which is for viewing the simulation box in AtomEye visualization tool. I used the following commands:

dump 1 all cfg 100 runstep_*.cfg id type xs ys zs
dump_modify 1 element Ni

But in output file, simulation is being terminated with the error message " Failed to allocate 61039614200bytes for array dump:rbuf ".

I’m using June 03, 2011 version of lammps.

Any comment on this would be much appreciated.

Thanks,

  • Piyas

How big is your system? If it is small
can you post a simple input script (without extraneous
stuff) that duplicates the problem?

Steve

Here’s the simplified system that I am having the problem with. Please let me know about your comments.

I have no problem running that script on my box in serial
or parallel (with a Ni EAM potential in potentials) The size of the
dump:rbuf allocation is small
and correct. Are you using the current version of LAMMPS?

Steve

I tested the input script below with two most recent versions of lammps. It runs fine with May 19 2011 version with no error and dumping cfg files as expected. But June 03 2011 version (which is what I was running previously) is giving me the error with no dumps.

  • Piyas

Please try the most current version of LAMMPS.
Since I don't get any issue I can't debug it.
If you still get the same error (huge memory),
I suggest you put a print statement in the code
jn dump_cfg.cpp where the error string is printed
(dump:rbuf), and see what sizes it thinks
the 2 dimensional array is. From there you
could backtrack to how that huge size got set.

Steve

I used the most current version ( 3 June, 2001) which is giving the huge memory error. But a little earlier version ( 19 May, 2011) works fine.

Thanks for the suggestions.

  • Piyas

If you can try the most current version (tarball that
you download today), that would be better.

Since I can't reproduce the problem, you will probably
need to instrument the code as I indicated and print
out some values to see what is going wrong.

Steve

Thanks, Steve. I’ll compile the latest one and see if it works out.

  • Piyas