1.2.3 beta has bug

raguelmoon's picture
Submitted by raguelmoon on Tue, 12/28/2010 - 18:35

Hi,
The new LIGGGHTS 1.2.3 beta doesn't write restart file, may be there is bug.
Thanks,
Ram

AttachmentSize
Plain text icon inputfile.txt2.94 KB
ckloss's picture

ckloss | Wed, 12/29/2010 - 14:40

can you give an example? there were no changes in the restart compared to 1.2.2
Christoph

raguelmoon's picture

raguelmoon | Wed, 12/29/2010 - 14:53

Hi Christoph,
Here is error:

....
...
Histogram: 1 1 0 0 0 1 0 0 0 1
Neighs: 58.25 ave 73 max 38 min
Histogram: 1 0 0 0 1 0 0 0 1 1

Total # of neighbors = 233
[localhost:13087] *** Process received signal ***
[localhost:13089] *** Process received signal ***
[localhost:13089] Signal: Segmentation fault (11)
[localhost:13089] Signal code: Address not mapped (1)
[localhost:13089] Failing at address: 0x7fbe2d8
[localhost:13087] Signal: Segmentation fault (11)
[localhost:13087] Signal code: Address not mapped (1)
[localhost:13087] Failing at address: 0x894cbf8
Ave neighs/atom = 1.52288
Neighbor list builds = 0
Dangerous builds = 0
[localhost:13090] *** Process received signal ***
[localhost:13090] Signal: Segmentation fault (11)
[localhost:13090] Signal code: Address not mapped (1)
[localhost:13090] Failing at address: 0x8fb0858
[localhost:13089] [ 0] [0x11040c]
[localhost:13089] [ 1] beta3(_ZN9LAMMPS_NS12WriteRestart7commandEiPPc+0x131) [0x82307cd]
[localhost:13089] [ 2] beta3(_ZN9LAMMPS_NS5Input15execute_commandEv+0x107a) [0x8187a04]
[localhost:13089] [ 3] beta3(_ZN9LAMMPS_NS5Input4fileEv+0x276) [0x8187cbc]
[localhost:13089] [ 4] beta3(main+0x68) [0x818bc34]
[localhost:13089] [ 5] /lib/libc.so.6(__libc_start_main+0xe6) [0x6e0cc6]
[localhost:13089] [ 6] beta3() [0x80a3351]
[localhost:13089] *** End of error message ***
[localhost:13090] [ 0] [0xaed40c]
[localhost:13090] [ 1] beta3(_ZN9LAMMPS_NS12WriteRestart7commandEiPPc+0x131) [0x82307cd]
[localhost:13090] [ 2] beta3(_ZN9LAMMPS_NS5Input15execute_commandEv+0x107a) [0x8187a04]
[localhost:13090] [ 3] beta3(_ZN9LAMMPS_NS5Input4fileEv+0x276) [0x8187cbc]
[localhost:13090] [ 4] beta3(main+0x68) [0x818bc34]
[localhost:13090] [ 5] /lib/libc.so.6(__libc_start_main+0xe6) [0x6e0cc6]
[localhost:13090] [ 6] beta3() [0x80a3351]
[localhost:13090] *** End of error message ***
[localhost:13087] [ 0] [0xfb840c]
[localhost:13087] [ 1] beta3(_ZN9LAMMPS_NS12WriteRestart7commandEiPPc+0x131) [0x82307cd]
[localhost:13087] [ 2] beta3(_ZN9LAMMPS_NS5Input15execute_commandEv+0x107a) [0x8187a04]
[localhost:13087] [ 3] beta3(_ZN9LAMMPS_NS5Input4fileEv+0x276) [0x8187cbc]
[localhost:13087] [ 4] beta3(main+0x68) [0x818bc34]
[localhost:13087] [ 5] /lib/libc.so.6(__libc_start_main+0xe6) [0x6e0cc6]
[localhost:13087] [ 6] beta3() [0x80a3351]
[localhost:13087] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 13089 on node localhost.localdomain exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------
2 total processes killed (some possibly by mpirun during cleanup)
....
I am also attaching/sending input file,
Best,
Ram

Ram

ckloss's picture

ckloss | Thu, 12/30/2010 - 09:57

I could not reproduce the error but I think I found the issue

Could you change line 95-98 of write_restart.cpp to

if(narg == 4)
{
iregion = domain->find_region(arg[3]);
if (iregion == -1) error->all("Write_restart region ID does not exist");
else region = domain->regions[iregion];
}

Christoph

raguelmoon's picture

raguelmoon | Fri, 12/31/2010 - 09:06

Hi,
Thanks, it works now,
Wish you advance happy new year 2011...!!!
Ram

Ram

raguelmoon's picture

raguelmoon | Sun, 01/02/2011 - 03:09

Hi,
But, it still bugs with restart files. I ran long simulation and created restart file consisted of CAD. After that I again ran the simulation with this restart-file for whole day with moving CAD to another position and made new restart-file. That restart couldn't work. However, if I do same with old version, everything is fine.
Best,
Ram

Ram