Add USER-MDI README file

This commit is contained in:
taylor-a-barnes
2021-04-27 13:25:11 -04:00
parent a731c43000
commit 64fa70f8d2
2 changed files with 20 additions and 12 deletions

View File

@ -14,15 +14,3 @@ wait
python driver.py -mdi "-name driver -role DRIVER -method TCP -port 8021" &
mpiexec -n 2 ../../../src/lmp_mdi -mdi "-name LAMMPS -role ENGINE -method TCP -port 8021 -hostname localhost" -in lammps.in > lammps.out &
wait
# MPI, running LAMMPS on one proc
mpiexec -n 1 python driver.py -mdi "-name driver -role DRIVER -method MPI" : \
-n 1 ../../../src/lmp_mdi -mdi "-name LAMMPS -role ENGINE -method MPI -out lammps.out" -in lammps.in
# MPI, running LAMMPS on two procs
mpirun -n 1 python driver.py -mdi "-name driver -role DRIVER -method MPI" : \
-n 2 ../../../src/lmp_mdi -mdi "-name LAMMPS -role ENGINE -method MPI -out lammps.out" -in lammps.in