LAMMPS - Segmentation fault

Hello,

I am working with a granular system and I am in need of displacing atoms during the run. After displacing a few atoms successfully, the run halts returning the following segmentation fault, which is quite unspecific.

LAMMPS (1 Feb 2014) version.

[localhost:07183] *** Process received signal ***
[localhost:07183] Signal: Segmentation fault (11)
[localhost:07183] Signal code: Address not mapped (1)
[localhost:07183] Failing at address: (nil)
[localhost:07181] *** Process received signal ***
[localhost:07181] Signal: Segmentation fault (11)
[localhost:07181] Signal code: Address not mapped (1)
[localhost:07181] Failing at address: (nil)
[localhost:07184] *** Process received signal ***
[localhost:07185] *** Process received signal ***
[localhost:07182] *** Process received signal ***
[localhost:07182] Signal: Segmentation fault (11)
[localhost:07182] Signal code: Address not mapped (1)
[localhost:07182] Failing at address: (nil)
[localhost:07186] *** Process received signal ***
[localhost:07186] Signal: Segmentation fault (11)
[localhost:07186] Signal code: Address not mapped (1)
[localhost:07186] Failing at address: (nil)
[localhost:07161] *** Process received signal ***
[localhost:07162] *** Process received signal ***
[localhost:07165] *** Process received signal ***
[localhost:07166] *** Process received signal ***
[localhost:07168] *** Process received signal ***
[localhost:07168] Signal: Segmentation fault (11)
[localhost:07168] Signal code: Address not mapped (1)
[localhost:07168] Failing at address: (nil)
[localhost:07172] *** Process received signal ***
[localhost:07177] *** Process received signal ***
[localhost:07156] *** Process received signal ***
[localhost:07156] Signal: Segmentation fault (11)
[localhost:07156] Signal code: Invalid permissions (2)
[localhost:07156] Failing at address: 0x31b2178a78
[localhost:07157] *** Process received signal ***
[localhost:07157] Signal: Segmentation fault (11)
[localhost:07157] Signal code: Address not mapped (1)
[localhost:07157] Failing at address: (nil)
[localhost:07158] *** Process received signal ***
[localhost:07158] Signal: Segmentation fault (11)
[localhost:07158] Signal code: Address not mapped (1)
[localhost:07158] Failing at address: (nil)
[localhost:07159] *** Process received signal ***
[localhost:07159] Signal: Segmentation fault (11)
[localhost:07159] Signal code: Address not mapped (1)
[localhost:07159] Failing at address: (nil)
[localhost:07160] *** Process received signal ***
[localhost:07160] Signal: Segmentation fault (11)
[localhost:07160] Signal code: Address not mapped (1)
[localhost:07160] Failing at address: (nil)
[localhost:07164] *** Process received signal ***
[localhost:07164] Signal: Segmentation fault (11)
[localhost:07164] Signal code: Address not mapped (1)
[localhost:07164] Failing at address: (nil)
[localhost:07167] *** Process received signal ***
[localhost:07167] Signal: Segmentation fault (11)
[localhost:07167] Signal code: Address not mapped (1)
[localhost:07167] Failing at address: (nil)
[localhost:07169] *** Process received signal ***
[localhost:07169] Signal: Segmentation fault (11)
[localhost:07169] Signal code: Address not mapped (1)
[localhost:07169] Failing at address: (nil)
[localhost:07170] *** Process received signal ***
[localhost:07170] Signal: Segmentation fault (11)
[localhost:07170] Signal code: Address not mapped (1)
[localhost:07170] Failing at address: (nil)
[localhost:07173] *** Process received signal ***
[localhost:07173] Signal: Segmentation fault (11)
[localhost:07173] Signal code: Address not mapped (1)
[localhost:07173] Failing at address: (nil)
[localhost:07178] *** Process received signal ***
[localhost:07178] Signal: Segmentation fault (11)
[localhost:07178] Signal code: Address not mapped (1)
[localhost:07178] Failing at address: (nil)
[localhost:07180] *** Process received signal ***
[localhost:07180] Signal: Segmentation fault (11)
[localhost:07180] Signal code: Address not mapped (1)
[localhost:07180] Failing at address: (nil)
[localhost:07176] *** Process received signal ***
[localhost:07176] Signal: Segmentation fault (11)
[localhost:07176] Signal code: Address not mapped (1)
[localhost:07176] Failing at address: (nil)
[localhost:07174] *** Process received signal ***
[localhost:07174] Signal: Segmentation fault (11)
[localhost:07174] Signal code: Address not mapped (1)
[localhost:07174] Failing at address: (nil)
[localhost:07175] *** Process received signal ***
[localhost:07175] Signal: Segmentation fault (11)
[localhost:07175] Signal code: Address not mapped (1)
[localhost:07175] Failing at address: (nil)
[localhost:07184] Signal: Segmentation fault (11)
[localhost:07184] Signal code: Address not mapped (1)
[localhost:07184] Failing at address: (nil)
[localhost:07185] Signal: Segmentation fault (11)
[localhost:07185] Signal code: Address not mapped (1)
[localhost:07185] Failing at address: (nil)
[localhost:07161] Signal: Segmentation fault (11)
[localhost:07161] Signal code: Address not mapped (1)
[localhost:07161] Failing at address: (nil)
[localhost:07162] Signal: Segmentation fault (11)
[localhost:07162] Signal code: Address not mapped (1)
[localhost:07162] Failing at address: (nil)
[localhost:07165] Signal: Segmentation fault (11)
[localhost:07165] Signal code: Address not mapped (1)
[localhost:07165] Failing at address: (nil)
[localhost:07166] Signal: Segmentation fault (11)
[localhost:07166] Signal code: Address not mapped (1)
[localhost:07166] Failing at address: (nil)
[localhost:07172] Signal: Segmentation fault (11)
[localhost:07172] Signal code: Address not mapped (1)
[localhost:07172] Failing at address: (nil)
[localhost:07172] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07172] *** End of error message ***
[localhost:07177] Signal: Segmentation fault (11)
[localhost:07177] Signal code: Address not mapped (1)
[localhost:07177] Failing at address: (nil)
[localhost:07177] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07177] *** End of error message ***
[localhost:07167] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07167] *** End of error message ***
[localhost:07169] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07169] *** End of error message ***
[localhost:07170] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07170] *** End of error message ***
[localhost:07173] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07173] *** End of error message ***
[localhost:07178] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07178] *** End of error message ***
[localhost:07180] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07180] *** End of error message ***
[localhost:07176] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07176] *** End of error message ***
[localhost:07174] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07174] *** End of error message ***
[localhost:07183] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07183] *** End of error message ***
[localhost:07181] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07181] *** End of error message ***
[localhost:07175] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07175] *** End of error message ***
[localhost:07184] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07184] *** End of error message ***
[localhost:07182] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07182] *** End of error message ***
[localhost:07186] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07186] *** End of error message ***
[localhost:07185] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07185] *** End of error message ***
[localhost:07161] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07161] *** End of error message ***
[localhost:07162] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07162] *** End of error message ***
[localhost:07165] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07165] *** End of error message ***
[localhost:07168] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07168] *** End of error message ***
[localhost:07166] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07166] *** End of error message ***
[localhost:07156] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07156] [ 1] /usr/lib64/openmpi/lib/libmpi.so.1() [0x31b2178a78]
[localhost:07156] *** End of error message ***
[localhost:07157] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07157] *** End of error message ***
[localhost:07158] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07158] *** End of error message ***
[localhost:07159] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07159] *** End of error message ***
[localhost:07164] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07164] *** End of error message ***
[localhost:07160] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07160] *** End of error message ***
[localhost:07187] *** Process received signal ***
[localhost:07187] Signal: Segmentation fault (11)
[localhost:07187] Signal code: Address not mapped (1)
[localhost:07187] Failing at address: (nil)
[localhost:07163] *** Process received signal ***
[localhost:07163] Signal: Segmentation fault (11)
[localhost:07163] Signal code: Address not mapped (1)
[localhost:07163] Failing at address: (nil)
[localhost:07179] *** Process received signal ***
[localhost:07179] Signal: Segmentation fault (11)
[localhost:07179] Signal code: Address not mapped (1)
[localhost:07179] Failing at address: (nil)
[localhost:07171] *** Process received signal ***
[localhost:07171] Signal: Segmentation fault (11)
[localhost:07171] Signal code: Address not mapped (1)
[localhost:07171] Failing at address: (nil)
[localhost:07179] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07179] *** End of error message ***
[localhost:07163] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07163] *** End of error message ***
[localhost:07187] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07187] *** End of error message ***
[localhost:07171] [ 0] /lib64/libpthread.so.0() [0x3c9520f000]
[localhost:07171] *** End of error message ***

Please do find the attached code. (check out the comment in the code)
It would be of great if someone guides me through this problem.

Regards,

Sandesh Kamath

in.seg_error_trial (4.97 KB)

Hello,

I am working with a granular system and I am in need of displacing atoms
during the run. After displacing a few atoms successfully, the run halts
returning the following segmentation fault, which is quite unspecific.
LAMMPS (1 Feb 2014) version.

a) please update to the current version and try again
b) please "deconvolute" your and build one that has only the minimal
amount of commands that reproduces the issue.
my guess is that you are simply doing something too extreme and will
move particles on top of other particles and then get unphysical
dynamics.

axel.