Localonly error

Hi Dear

I use MPI version of Lammps on Windows 7 to simulate my problem.

But when I type this command “mpiexec −np 4 −localonly lmp_win_mpi −in main.txt”, I meet following error:

“Unknown option: −localonly”

Please guide me how can I resolve this error.

Hi Dear
I use MPI version of Lammps on Windows 7 to simulate my problem.
But when I type this command "mpiexec -np 4 -localonly lmp_win_mpi -in
main.txt", I meet following error:
"Unknown option: -localonly"

Please guide me how can I resolve this error.

first and foremost. this is not a LAMMPS problem, but an MPI problem,
so you are asking in the wrong forum.
in the future for similar issues, please read or search through the
MPICH documentation that comes with your MPICH installation.

you just got very lucky, since i recently tested running LAMMPS on
windows and still remember, that you have to use *either* -localonly 4
*or* -np 4 using both is not correct. you can see a quick help of
mpiexec options by running mpiexec by itself. the README bundled with
the windows MPICH version explains that.

axel.