Hello,
I have a weird problem. I set up a small coordinate system for tweaking an input script for the friction simulations that I am working on. The small test system runs fine in both serial and parallel. However, when I try to scale up the system size, lammps will only run in serial. If I try to run in parallel, the output hangs indefinitely at the “run” command after having read all the input data with no complaints. The only difference in the input scripts for the small and large system are filenames. The only difference in the coordinate files for the small and large system is the number of atoms and the same code was used to generate both coordinate files.
Any thoughts? Even more odd, I just checked and my original script will run on 1 and 8 processors but not 4.
Thanks, Dave
The input script is kind of long but here it is for reference. It stalls at the first run command.
Fe + lube simulation
dimension 3
boundary p p f
atom_style molecular
units metal
neighbor 0.5 bin
read_data tmp.dat
#read_restart fe+octane.restart.100000
#define pair styles
pair_style hybrid airebo 3.0 1 1 eam/fs lj/cut 9.433
#C-H interactions
pair_coeff * * airebo /gfs/software/lammps/potentials/CH.airebo C H NULL NULL NULL NULL NULL NULL
#Fe
pair_coeff * * eam/fs /gfs/software/lammps/potentials/Fe_mm.eam.fs NULL NULL Fe Fe Fe Fe Fe Fe
#Fe+C
pair_coeff 1 3* lj/cut 0.000904 3.7732 9.433
#Fe+H
pair_coeff 2 3* lj/cut 0.000208 3.3982 9.433
set groups
group octane type 1 2
group topfix type 3
group topthrm type 4
group topfree type 5
group botfree type 6
group botthrm type 7
group botfix type 8
group mobile union topfree topthrm botfree botthrm octane
group topall union topfix topthrm topfree
set initial velocity
velocity mobile create 300.0 4928459 rot yes mom yes dist gaussian
velocity botfix set 0.0 0.0 0.0 sum no units box
set fixes
fix 1 all nve
fix 11 topfix viscous 0.01
fix 2 topfix setforce 0.0 0.0 NULL
fix 3 topfix aveforce NULL NULL -0.05
fix 4 mobile temp/berendsen 300.0 300.0 0.1
fix 5 octane temp/berendsen 300.0 300.0 0.1
fix 6 botfix setforce 0.0 0.0 0.0
fix 7 topall ave/atom 1 1 100 fx fy fz
computes
compute c1 topthrm temp/com
compute c2 topthrm temp
compute c3 topfree temp/com
compute c4 topfree temp
compute c5 octane temp
compute c6 botfree temp
compute c7 botthrm temp
compute c8 mobile temp
compute c9 topall reduce sum f_7[1] f_7[2] f_7[3]
#run parameters
thermo 100
thermo_style custom step pe ke etotal press temp c_c8 c_c1 c_c2 c_c3 c_c4 c_c5 c_c6 c_c7 c_c9[1] c_c9[2] c_c9[3]
timestep 0.00025
dump 1 all atom 1000 fe+octane.dump
dump 2 all xyz 100 fe+octane.xyz
restart 1000 fe+octane.restart
bring tip in with therm on all atoms
run 100
start sliding
velocity topfix set 1.148 0.0 0.0 sum yes units box
unfix 4
fix 4 topthrm temp/berendsen 300. 300. 0.05
fix_modify 4 temp c1
fix 8 botthrm temp/berendsen 300. 300. 0.05
run 500