about the lammps ERROR: Unknown fix style (../modify.cpp:815)

Dear All,

Hope this letter can find valued you a nice beginning of the new year!

This is a Lammps user from Korea Aerospace University. I wrote for some help in lammps.

In order to use the fix deposit command and fix pour style command, I am trying to build a lammps executable “lmp_ubuntu” with misc package and granular package on the ubuntu 16.04 LTS.

After building the lmp_ubunt**u,

(1) when I type make ps in lammps/src library, it was shown that

Installed YES: package GRANULAR

Installed YES: package MISC

(2) when I type make lmp_ubuntu -h in lammps/src library to check the style options compiled with this executable,

however*,* I cannot find the style name deposit and pour in the * Fix styles part.

Now when I run this lmp_ubunt**u, an error was produced as follows: ERROR: Unknown fix style (…/modify.cpp:815)

I am just wondering why I cannot use the fix deposit command and fix pour style command in my input script.

Could you please help me check the log.lammps file as follows?

Thanks in advance!

LAMMPS (5 Nov 2016)
units real
atom_style full
atom_modify id yes map array first alloy
boundary p p p
newton on
dimension 3
lattice fcc 3.52
Lattice spacing in x,y,z = 3.52 3.52 3.52
region whole block 0 10 0 10 0 25
create_box 5 whole bond/types 4 angle/types 2 dihedral/types 1 improper/types 0
Created orthogonal box = (0 0 0) to (35.2 35.2 88)
1 by 1 by 1 MPI processor grid
read_data data.Ni_Cr_Fe add merge
orthogonal box = (0 0 0) to (35.2 35.2 88)
1 by 1 by 1 MPI processor grid
reading atoms …
48 atoms
0 = max # of 1-2 neighbors
0 = max # of 1-3 neighbors
0 = max # of 1-4 neighbors
1 = max # of special neighbors
mass 1 58.69000
mass 2 52.00000
mass 3 55.85000
mass 4 1.00800
mass 5 16.00000
pair_style reax/c lmp_control checkqeq no lgvdw no safezone 1.2 mincap 50
pair_coeff * * ffield.reax Ni Cr Fe H O
neighbor 2.0 bin
neigh_modify every 10 delay 0 check yes once no cluster no exclude none page 100000 one 2000 binsize 0.0
timestep 0.05
min_style cg
min_modify dmax 0.1 line quadratic
molecule template h2o.txt offset 3 0 0 0 0 scale 1.0
Read molecule template:
21 atoms with 32076275 types
14 bonds with 0 types
7 angles with 1 types
0 dihedrals with 0 types
0 impropers with 0 types
group alloy type 1 2 3
48 atoms in group alloy
group medium type 4 5
0 atoms in group medium
region upper block 0 10 0 10 23 25 side in
fix h medium deposit 7 3 1 123 region upper id max mol template units box
ERROR: Unknown fix style (…/modify.cpp:815)

Did you re-compile (make ubuntu) after this step?

Ray

apparently didn’t compile the fix styles, try cleaning and remaking everything.