I have installed the 64 bit Pre-compiled Windows installers version of Lammps and Mpich2 in my windows7, 64 bit as described in "http://git.icms.temple.edu/rpm/windows.html".
I tried to run the simulation with “mpiexec -np 4 lmp_mpi < run.in” command, but almost when I entered to run don’t anything occurred. but some times when abort the job and try to do it more, it start to run correctly. (it is really random) I tried this on 2 other PC with windows7, but the problem is exist. when I used lmp_serial everything is OK.
Dear Lammps users and Developers
I have installed the 64 bit Pre-compiled Windows installers version of
Lammps and Mpich2 in my windows7, 64 bit as described in
"http://git.icms.temple.edu/rpm/windows.html".
I tried to run the simulation with "mpiexec -np 4 lmp_mpi < run.in" command,
but almost when I entered to run don't anything occurred. but some times
when abort the job and try to do it more, it start to run correctly. (it is
really random) I tried this on 2 other PC with windows7, but the problem is
exist. when I used lmp_serial everything is OK.
input redirection is broken with many MPI implementations (in fact, i
am always surprised that people expect it to work, because it is far
from trivial). use the -in flag.
Happens on some linux boxes, too with some more obscure mpi implementations. multiplexing stdin across many processes properly is far from trivial. And since lammps supports the -in flag there is no need to go this way.
Thanks Axel, I use -in flag and the problem solved.
I have a problem when using dump cfg in windows. I use the following command.
"dump cfgrelax all cfg ${relaxcfgstep} relax.*.cfg id type xs ys zs vx vy vz c_stress[3] c_stress[5] c_stress[6] c_enperatom c_keperatom
dump_modify cfgrelax element A B"
I don’t have any problem in linux but when I used in windows7 I have the following error.
“ERROR: Dump cfg arguments must start with ‘mass type xs ys zs’ or ‘mass type xsu ysu zsu’”
I don’t know why this happened but I used mass instead of id and then the job aborted. please guide me where is my problem.
hanks
Hadi
I tried by adding "dump 2 all cfg 10 relax.*.cfg mass type xs ys zs vx
vy vz" to in.RDX example in example/reax/RDX folder and test it. But
the job aborted again. I am sorry, because I didn't attached the
in.RDX script, because I am sendin this email by mobile.
Thanks in advance
Hadi
I tried by adding "dump 2 all cfg 10 relax.*.cfg mass type xs ys zs vx
vy vz" to in.RDX example in example/reax/RDX folder and test it. But
the job aborted again. I am sorry, because I didn't attached the
in.RDX script, because I am sendin this email by mobile.
I tried the new version of lammps for windows and the problem solved. The version of ‘22 Nov’ have problem to dump cfg file. (I don’t know why)
Thanks
Hadi