Very new to LIGGGHTS. Tried to set up my first simulation: particle dumping from a cone into a cylinder. I see this error:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
[sm1:04137] *** Process received signal ***
[sm1:04137] Signal: Aborted (6)
[sm1:04137] Signal code: (-6)
[sm:04137] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fa8182034b0]
[sm:04137] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fa818203428]
[sm:04137] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7fa81820502a]
[sm:04137] [ 3] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x16d)[0x7fa81903684d]
[sm:04137] [ 4] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6)[0x7fa8190346b6]
[sm:04137] [ 5] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701)[0x7fa819034701]
[sm:04137] [ 6] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919)[0x7fa819034919]
[sm:04137] [ 7] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8debc)[0x7fa819034ebc]
[sm:04137] [ 8] L360[0x447172]
[sm:04137] [ 9] L360[0x448fea]
[sm:04137] [10] L360[0x4deee2]
[sm:04137] [11] L360[0x4da7c1]
[sm:04137] [12] L360[0xa16584]
[sm:04137] [13] L360[0xa16665]
[sm:04137] [14] L360[0xa2b1de]
[sm:04137] [15] L360[0x9b7146]
[sm:04137] [16] L360[0xa9290e]
[sm:04137] [17] L360[0x983386]
[sm:04137] [18] L360[0x47ad10]
[sm:04137] [19] L360[0x478573]
[sm:04137] [20] L360[0x479225]
[sm:04137] [21] L360[0x412566]
Can anybody please help? My input file is attached.
Attachment | Size |
---|---|
![]() | 2.24 KB |
![]() | 5.09 KB |
mschramm | Fri, 06/16/2017 - 18:26
Where does it break?
Could you run this again with the -echo both command?
$LIGGGHTS -echo both < in.file
at_ati | Fri, 06/16/2017 - 19:09
That's what I did. The above
That's what I did. The above error is echoed right after "Setting up run at Fri Jun 16 13:06:34 2017" (which is after "run 1") command.
j-kerbl | Tue, 06/20/2017 - 13:11
Hi,
Hi,
i tested your input script without the stls, since I don't have them and it ran without a problem.
Which LIGGGHTS version are you using. Can you post the full log with echo both?
Cheers,
Josef
at_ati | Tue, 06/20/2017 - 16:50
Hi Joseph. I use 3.6. This
Hi Joseph. I use 3.6. This website doesn't allow me to upload stl files (otherwise I would have). I attached the full log as a text file. please let me know. -thanks.
j-kerbl | Mon, 07/17/2017 - 14:48
Hi,
Hi,
there isn't really anything to read from this error. I went again through the input script and my guess is you run out of memory. The reason is the simulation domain (2x2x2 m) is rather big compared to the particles and you'll need to increase the binsize.
At the neigh_modify line at the beginning to the other neigh_modify:
neigh_modify binsize 0.1
I hope that fixes it.
Cheers,
Josef