multisphere and restart command cause abortion

PaulWinkler's picture
Submitted by PaulWinkler on Fri, 10/02/2015 - 09:23

Hi all,

in version 3.3.0 of LIGGGHTS®-PUBLIC a serial multisphere method is included. I played around with the provided example and modified one of my spherical simulations for the use of multispheres, what worked very well. The simulation is divided in different steps, at the end of step 1 a restart file is written, which is read at the beginning of step 2, but the read_write cause on abortion of the script which seems to be related to MPI. For verification I added a write_restart and read_restart to to original example multisphere_stone_restitution. The test case multisphere_restart is provided in the zip-archive.
Is the error caused as a consequence of the limitation to serial?

Regards,
Paul

Error:
LIGGGHTS (Version LIGGGHTS-PUBLIC 3.3.0, compiled 2015-09-25-12:57:40 by paul, git commit 9b1fc57b77c483deaf2c0a6c69241c5d4f91e3c2 based on LAMMPS 23 Nov 2013)
------ Read Restart ----------------------------------------
Reading restart file ...
orthogonal box = (-0.1 -0.1 0) to (0.1 0.1 0.5)
1 by 1 by 1 MPI processor grid
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
[GRB-PW01:21788] *** Process received signal ***
[GRB-PW01:21788] Signal: Aborted (6)
[GRB-PW01:21788] Signal code: (-6)
[GRB-PW01:21788] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f0a44382340]
[GRB-PW01:21788] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f0a43fe3cc9]
[GRB-PW01:21788] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f0a43fe70d8]
[GRB-PW01:21788] [ 3] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x155) [0x7f0a450a7535]
[GRB-PW01:21788] [ 4] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e6d6) [0x7f0a450a56d6]
[GRB-PW01:21788] [ 5] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e703) [0x7f0a450a5703]
[GRB-PW01:21788] [ 6] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e922) [0x7f0a450a5922]
[GRB-PW01:21788] [ 7] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_Znwm+0x7d) [0x7f0a450a5e0d]
[GRB-PW01:21788] [ 8] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_Znam+0x9) [0x7f0a450a5ea9]
[GRB-PW01:21788] [ 9] liggghts330() [0x96267c]
[GRB-PW01:21788] [10] liggghts330() [0x9e9776]
[GRB-PW01:21788] [11] liggghts330() [0x935c96]
[GRB-PW01:21788] [12] liggghts330() [0x93391f]
[GRB-PW01:21788] [13] liggghts330() [0x934456]
[GRB-PW01:21788] [14] liggghts330() [0x4105d6]
[GRB-PW01:21788] [15] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f0a43fceec5]
[GRB-PW01:21788] [16] liggghts330() [0x4114ff]
[GRB-PW01:21788] *** End of error message ***
Aborted

AttachmentSize
Binary Data multisphere_restart.tar_.gz2.3 KB
ckloss's picture

ckloss | Sun, 10/11/2015 - 16:54

Hi Paul,

the public version does not support multisphere and restart. I'll have a look and include a clearer error message for the next release and mention this in the doc

Christoph

deepakpawar.2310 | Sat, 02/01/2020 - 14:38

Hi PAUL

What is the status of multi sphere and restart now, They are available in LIGGGHTS Public version?

Thank You