Thanks for your reply .
There is no difference between 4*1 and 4x1 .
When I use : mpirun -np 4 lmp_mpi -p 4×1 -in in.input
for input file that I mentioned below I get this error :World variable count doesn’t match # of partitions (…/variable.cpp:225)
Can you please let me know what the problem is ?
I use lammps-30Jul16 .
This is my input file :
variable t world 300 310 320 330
units real
dimension 3
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
pair_style lj/cut/tip4p/cut 2 1 1 1 0.1546 12.0 8.5
Thanks for your reply .
There is no difference between 4*1 and 4x1 .
When I use : mpirun -np 4 lmp_mpi -p 4×1 -in in.input
for input file that I mentioned below I get this error : World variable
count doesn't match # of partitions (../variable.cpp:225)
Can you please let me know what the problem is ?
LAMMPS (30 Jul 2016)
Running on 1 partitions of processors
this indicates, that you are not providing a correctly formatted argument to -p.
possibly it has some non-ascii characters or something else is wrong.
you can try switch to a C locale and turning of native language
support. LAMMPS is written with the assumption that all strings (in
input files and arguments) are valid 7-bit ASCII characters.
you could try using -p 1 1 1 1 instead of -p 4x1. these are equivalent.
at the moment, the code doing the parsing of the arguments to the
partition flag assumes, that the user provides correct input.
i have just submitted some changes for inclusion into the next patch
release for LAMMPS, that checks more carefully.
-------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus
causing
the job to be terminated. The first process to do so was:
Thanks for you reply .
Your ideas are always so helpful , Thanks a lot . When I use -p 1 1 1 1 instead of -p 4x1 it works .
When I don’t use " variable world " and " temper" command , I mean when I use this : mpirun -np 4 lmp_mpi -p 4x1 -in in.input
for a simple NVT simulation , it works but when I change it to "variable world " & “temper” it doesn’t !