[lammps-users] Segmentation Fault

I’m running lammps on a linux desktop (ubuntu), and my run stops with a “Segmentation fault” message.

I checked the manual’s list of error messages but couldn’t find a listing for this event.

Does a segmentation fault just mean that I tried to run too large a simulation?

very respectfully,

I’m running lammps on a linux desktop (ubuntu), and my run stops with a “Segmentation fault” message.

I checked the manual’s list of error messages but couldn’t find a listing for this event.

The reason you didn’t find “segmentation fault” in the LAMMPS manual is that the error is an OS error, not a LAMMPS error. It means that something has gone wrong with the simulation, but it doesn’t really provide a lot of information as to what went wrong. Does it occur in the middle of the simulation, or right at the beginning? What’s the last command that executes before it crashes?

Does a segmentation fault just mean that I tried to run too large a simulation?

Not necessarily. It usually means there was a bad memory access operation, and the job crashed. It’s not necessarily symptomatic of a too-large job.

–AEI