This is a similar issue to one that has been discussed in this forum in the past, but with slight differences. I see a segmentation fault using atom/swap with an atom style that defines per-type masses, which should work. It looks like this is an issue with the way the Buckingham is implemented in the pair hybrid/overlay. Removing the Buckingham and using the same input file modified for only two atoms runs fine. Am I not able to swap an eam atom for a Buckingham atom? Below are the important excerpts from the input file. Thanks!
#————————————————————————————————Initialization—————————————————————————————#
units metal
atom_style charge
atom_modify sort 0 0.0
atom_modify map array
dielectric 1.0
boundary p p p
variable tem equal 1500
variable lattpar equal 5.4
lattice fcc ${lattpar}
region box block 0 14 0 14 0 14 units lattice
create_box 3 box
create_atoms 3 box
lattice custom ${lattpar} a1 1 0 0 a2 0 1 0 a3 0 0 1 basis 0.25 0.25 0.25 basis 0.75 0.25 0.25 basis 0.25 0.75 0.25 basis 0.75 0.75 0.25 basis 0.25 0.25 0.75 basis 0.75 0.25 0.75 basis 0.25 0.75 0.75 basis 0.75 0.75 0.75
create_atoms 1 box
set type 3 type/ratio 2 0.5 97543
#Setting the variables to elements as they are assigned in the input structure file
variable O equal 1
variable Gd equal 2
variable U equal 3
#Group Types
group Uranium type ${U}
group Gadolinium type ${Gd}
group Oxygen type ${O}
#————————————————————————————End Initialization————————————————————————————#
#————————————————————————————————Potential—————————————————————————————————#
set type ${O} charge -1.110400
set type ${Gd} charge 1.6656
set type ${U} charge 2.220800
kspace_style pppm 1.0e-5
variable SR_CUTOFF equal 11.0
#below text had to be modified to display properly. the {SR_CUTOFF} has a $ in front #
pair_style hybrid/overlay buck {SR_CUTOFF} coul/long {SR_CUTOFF} eam/alloy
pair_coeff * * coul/long
pair_coeff * * eam/alloy /home/beelbw/lammps_work/potentials/CeThUNpPuAmCmO.eam.alloy O NULL U
pair_coeff 1 2 buck 37562.031393379206 0.19377082164993292 0
mass 3 238.02861
mass 1 15.9994
mass 2 157.25
---- skipping some lines for brevity -----
#Equilibrate # removed $ in front of the {tem} to display properly
fix 1 all npt temp {tem} {tem} 0.1 iso 0.0 0.0 0.5
timestep 0.0005
fix center all recenter INIT INIT INIT
fix 44 all atom/swap 5 1 97531 1500 types 2 3
run 5000
error message
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions