Segmentation fault when using 'fix heat'

Dear LAMMPS users,

The simulations that I have been running has been terminated with the following error:

  • srun: error: compute-0-8: tasks 0-5: Segmentation fault

Narrowing down the source of error, I realize that the following ‘fix heat’ commands are causing the program to terminate:

  • fix 3 cold heat 1 -5
  • fix 4 hot heat 1 5

The simulations with the same commands were running fine in the previous version of LAMMPS.
I am currently using LAMMPS (stable version - 11 Aug 2017) which was updated in the linux machine on 15th December,2017. I would appreciate any advice on this.

Thank you.

Sushan Nakarmi

Dear LAMMPS users,

The simulations that I have been running has been terminated with the
following error:

   - srun: error: compute-0-8: tasks 0-5: *Segmentation fault*

Narrowing down the source of error, I realize that the following 'fix
heat' commands are causing the program to terminate:

   - fix 3 cold heat 1 -5
   - fix 4 hot heat 1 5

The simulations with the same commands were running fine in the previous
version of LAMMPS.
I am currently using LAMMPS (stable version - 11 Aug 2017) which was
updated in the linux machine on 15th December,2017. I would appreciate any
advice on this.

​there is not enough information here to provide any advice. if i add the
following lines to the melt example:

region hot block 0.1 2.1 0 10 0 10
region cold block 5.1 7.1 0 10 0 10
group cold region cold
group hot region hot
fix 2 cold heat 1 -5
fix 3 hot heat 1 5

there is no crash. in fact, even though the use of fix heat may trigger the
issue, it may not be the cause.

axel.​

Could it be related to thix fix: https://github.com/lammps/lammps/commit/19eb5d389778f0137e4ad09d82318f90614f4540#diff-208b0a1362d06196605a2d43591c5e94

Can you try the newest development version?

Anders