This is the content of the input file:
units metal
dimension 3
boundary p p p
atom_style atomic
lattice fcc 3.56
region box block 0 50 0 50 0 60 units box
create_box 3 box
mass 1 55.8470 # Fe
mass 2 51.9600 # Cr
mass 3 89.9600 # Mo
region sub block 0 50 0 50 0 40 units box
region boundary_layer block 0 50 0 50 0 5 units box
region thermostat_layer block 0 50 0 50 5 10 units box
region newton_layer block 0 50 0 50 10 40 units box
create_atoms 1 region sub # Fe
group jidi region sub
group boundary region boundary_layer
group thermostat region thermostat_layer
group newton region newton_layer
variable Fe_fraction equal 0.91
variable Cr_fraction equal 0.045
variable Mo_fraction equal 1.0-{Fe_fraction}-{Cr_fraction}
set group jidi type/fraction 2 {Cr_fraction} 12393 set group jidi type/fraction 3 {Mo_fraction} 89342
comm_modify cutoff 2.0
pair_style meam
pair_coeff * * meam library.meam Mo Co Ni V Fe Al Cr MoCoNiVFeAlCr.meam Fe Cr Mo
write_data intial.data
LAMMPS (29 Aug 2024)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
using 1 OpenMP thread(s) per MPI task
Loaded 1 plugins from C:\Users\huangxu\AppData\Local\LAMMPS 64-bit 29Aug2024-MSMPI\plugins
Lattice spacing in x,y,z = 3.56 3.56 3.56
Created orthogonal box = (0 0 0) to (50 50 60)
1 by 2 by 2 MPI processor grid
Created 9672 atoms
using lattice units in orthogonal box = (0 0 0) to (50 50 60)
create_atoms CPU = 0.001 seconds
9672 atoms in group jidi
1262 atoms in group boundary
1261 atoms in group thermostat
7149 atoms in group newton
Setting atom values …
405 settings made for type/fraction
Setting atom values …
450 settings made for type/fraction
ERROR: Cannot open MEAM library file (src/MEAM/pair_meam.cpp:213)
Last command: pair_coeff * * meam /path/to/library.meam Mo Co Ni V Fe Al Cr /path/to/MoCoNiVFeAlCr.meam Fe Cr Mo
How should I fix this?
Thank you.