Hi, <br><br>I am new in MPI and MPICH in particular.<br><br>I firstly installed mpich2 on two machines in same lan, both machines have same (admin) account name/password.<br>so I created file pwd.exe to store username and password.<br>
<br>than, I had set available hosts for <span style="font-family: courier new,monospace;">smpd </span>on both of them like this: <br><br><span style="font-family: courier new,monospace;">smpd -sethosts ipmachine1 ipmachine2 , <font face="arial,helvetica,sans-serif">where I put real ip addresses of machines.<br>
___________________________<br></font></span>I tried to run example cpi.exe on machine1:<br><br><span style="font-family: courier new,monospace;">mpiexec.exe -pwdfile pwd.txt cpi.exe</span> - and it worked<br><br>than similar from machine1 started cpi.exe on machine2:<br>
<br><span style="font-family: courier new,monospace;">mpiexec.exe -pwdfile pwd.txt -host ipmachine2 cpi.exe</span> <font face="arial,helvetica,sans-serif">- this also worked, no problem<br>__________________________<br></font><br>
but, when I tried to run on both machines, first like this:<br><span style="font-family: courier new,monospace;">mpiexec.exe -pwdfile pwd.txt -n 2 cpi.exe</span> <font face="arial,helvetica,sans-serif">- it doesen't work, it start cpi on machine1 and asks for number of intervals and then nothing is gonig on.. just cousor in new line blinking..<br>
and, when I cancel job with ctrl+c - i got this:<br><br><span style="font-family: courier new,monospace;">job aborted:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">rank: node: exit code[: error message]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">0: </span></font><span style="font-family: courier new,monospace;">ipmachine1 </span><font style="font-family: courier new,monospace;" face="arial,helvetica,sans-serif">: 123: mpiexec aborting job<br>
1: </font><span style="font-family: courier new,monospace;">ipmachine2 </span><font face="arial,helvetica,sans-serif"><span style="font-family: courier new,monospace;">: 123</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Terminate batch job (Y/N)?</span><br><br>so, after all, there is something happening on machine2, but I don't understand what is going on..<br><br>I also tried with <span style="font-family: courier new,monospace;">-machinefile</span> option.. - no results<br>
<br>I compiled <span style="font-family: courier new,monospace;">cpi.c</span> file and tired non-interactive version, same I got..<br><br>Can anybody help me?<br></font>