Expected integer parameter in input script or data file

Dear Lammps users,

I’m simulating nano indentation process. Unfortunately, I’m receiving the error “Expected integer parameter in input script or data file”, in dumping the indenter retraction. Here is the the indentation and retraction steps;

variable y equal “221-stepdt0.2”
print “y is $y”

indenter position and radius at onset of loading

fix 4 mobile indent 200.0 sphere 150 v_y 150 20 units box #compute temperature other temp
compute strs mobile stress/atom NULL
compute s11 mobile reduce sum c_strs[1]
compute s22 mobile reduce sum c_strs[2]
compute s33 mobile reduce sum c_strs[3]
compute s12 mobile reduce sum c_strs[4]
compute s13 mobile reduce sum c_strs[5]
compute s23 mobile reduce sum c_strs[6]

variable mises atom “0.707106781 * sqrt( (c_strs[1] - c_strs[2])^2 + (c_strs[2] - c_strs[3])^2 + (c_strs[1] - c_strs[3])^2 + 6*(c_strs[4]^2 + c_strs[5]^2 + c_strs[6]^2))” # Computes the von Mises stress for each atom

fix_modify 4 energy yes
thermo 500
thermo_style custom step temp etotal pe ke vol press time v_y f_4[1] f_4[2] f_4[3] c_s11 c_s22 c_s33 c_s12 c_s13 c_s23
thermo_modify lost warn flush yes
reset_timestep 0
dump 2 all custom 2000 CSN.indent id type x y z c_csym c_pnrg c_strs[1] c_strs[2] c_strs[3] c_strs[4] c_strs[5] c_strs[6] v_mises
run 140000
undump 2

Retract Indenter

thermo 500
thermo_style custom step temp etotal pe ke vol press time v_y f_4[1] f_4[2] f_4[3]
thermo_modify lost warn flush yes
dump 3 all 2000 CSN.retract id type x y z c_csym c_pnrg v_mises
variable y0 equal y variable y delete variable y equal {y0}+50.2elapsed*dt
run 30000

When I run the code, after passing indentation steps, it says;

dump 3 all 2000 CSN.retract id type x y z c_csym c_pnrg v_mises
ERROR: Expected integer parameter in input script or data file (…/output.cpp:555)

I tried to find the error in archive, but I couldn’t find a clear answer.

Moreover, in running another code I received the error of “Incorrect args for pair coefficients (…/pair_eam_alloy.cpp:52)” after the following lines,

pair_style eam/alloy
pair_coeff * * Au_GLJ10_3.eam.alloy Au

I tried to solve it by changing the potential file name, but it didn’t help. I would appreciate if anyone could help me on any of these errors.

Thanks