<div dir="ltr">I don't know much about mpi , as I am using gromacs which was complied with mpi option. , But I read somewhere that<div><br></div><div> " <span style="line-height:17.328125px;font-size:12px;font-family:Verdana,sans-serif">If a file named </span><samp style="font-size:10pt;font-family:'Courier New';color:rgb(128,0,0);line-height:17.328125px">.mpd.conf</samp><span style="line-height:17.328125px;font-size:12px;font-family:Verdana,sans-serif"> is available in the user's home directory, only the user can have read and write privileges. The file must minimally contain a line with </span><samp style="font-size:10pt;font-family:'Courier New';color:rgb(128,0,0);line-height:17.328125px">secretword=<i><secretword></i></samp><span style="line-height:17.328125px;font-size:12px;font-family:Verdana,sans-serif">. If you want to run MPD as root, create the </span><samp style="font-size:10pt;font-family:'Courier New';color:rgb(128,0,0);line-height:17.328125px">mpd.conf</samp><span style="line-height:17.328125px;font-size:12px;font-family:Verdana,sans-serif"> file in the </span><samp style="font-size:10pt;font-family:'Courier New';color:rgb(128,0,0);line-height:17.328125px">/etc</samp><span style="line-height:17.328125px;font-size:12px;font-family:Verdana,sans-serif"> directory instead of </span><samp style="font-size:10pt;font-family:'Courier New';color:rgb(128,0,0);line-height:17.328125px">.mpd.conf</samp><span style="line-height:17.328125px;font-size:12px;font-family:Verdana,sans-serif"> in the root's home directory to run </span><samp style="font-size:10pt;font-family:'Courier New';color:rgb(128,0,0);line-height:17.328125px">mpd</samp><span style="line-height:17.328125px;font-size:12px;font-family:Verdana,sans-serif"> as root. Avoid starting the MPD ring under the root account.</span>" Here'e the link <a href="http://software.intel.com/sites/products/documentation/hpc/ics/impi/41/lin/Reference_Manual/Multipurpose_Daemon_Commands.htm" target="_blank">http://software.intel.com/sites/products/documentation/hpc/ics/impi/41/lin/Reference_Manual/Multipurpose_Daemon_Commands.htm</a></div>
<div><br></div><div>And after using chmod 700 , I still get the same error, but when I create a file mpd.conf in /etc I get the and added the secretword=<secretword> line in the file and run the same command, I get this error:- </div>
<div><br></div><div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">root@localhost INGT]# mpirun -np 24 mdrun -v -deffnm mdrun</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">mpdroot: perror msg: No such file or directory</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">mpdroot: cannot connect to local mpd at: /tmp/mpd2.console_root</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px"> probable cause: no mpd daemon on this machine</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"> possible cause: unix socket /tmp/mpd2.console_root has been removed</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">mpiexec_localhost.localdomain (__init__ 1208): forked process failed; status=255</span><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 9:11 AM, Ricardo Román Brenes <span dir="ltr"><<a href="mailto:roman.ricardo@gmail.com" target="_blank">roman.ricardo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Try using chmod 700. Can you run any other mpi example? Like cpi.c</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Nov 6, 2013 6:08 PM, "bharat gupta" <<a href="mailto:bharat.85.monu@gmail.com" target="_blank">bharat.85.monu@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">It have changed the file permission (rw) for root , ls -l mpd.hosts gives the output <div>-rw-r--r--, 1 root root </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 9:02 AM, Ricardo Román Brenes <span dir="ltr"><<a href="mailto:roman.ricardo@gmail.com" target="_blank">roman.ricardo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">With rwx permission just for root?</p><div><div>
<div class="gmail_quote">On Nov 6, 2013 6:00 PM, "bharat gupta" <<a href="mailto:bharat.85.monu@gmail.com" target="_blank">bharat.85.monu@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I have created the file mpd.hosts in /etc folder in the root , but still it shows the same error ... <span style="font-family:arial,sans-serif;font-size:12.727272033691406px">/usr/bin/mpdroot: open failed for root's mpd conf filempiexec_localhost.</span><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">localdomain (__init__ 1208): forked process failed; status=255</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 8:45 AM, Ricardo Román Brenes <span dir="ltr"><<a href="mailto:roman.ricardo@gmail.com" target="_blank">roman.ricardo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">You need to create a mpd.hosts in /etc if you want to run mpd as root</p>
<div class="gmail_quote"><div><div>On Nov 6, 2013 5:41 PM, "bharat gupta" <<a href="mailto:bharat.85.monu@gmail.com" target="_blank">bharat.85.monu@gmail.com</a>> wrote:<br type="attribution"></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hi,<br><br></div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">I am getting the following error while using the command - </span><br clear="all" style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><div><br>[root@localhost INGT]# mpirun -np 24 mdrun_mpi -v -deffnm npt<br><br></div><div>Error - <br><br>/usr/bin/mpdroot: open failed for root's mpd conf filempiexec_localhost.localdomain (__init__ 1208): forked process failed; status=255<br>
<br></div><div>I complied gromacs using - ./configure --enable-shared --enable-mpi. I have installed the mpich package , this is what I get when I check for mpirun and mpiexec -<br><br>[root@localhost /]# which mpirun<br>
/usr/bin/mpirun<br>[root@localhost /]# which mpiexec<br>/usr/bin/mpiexec<br><br></div><div>What could be the problem here ??<br></div><div><br></div><div>Thanks<br></div><div>-------- <br>Bharat</div></div><div><br></div>
<br>
</div>
<br></div></div>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div>
<br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bharat<br>Ph.D. Candidate<br>
Biomolecular Engineering Laboratory<br>Pusan National University<br>South Korea<br>Mobile no. - 010-5818-3680<br><div><br></div>
</div>
<br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div>
</div></div><br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bharat<br>Ph.D. Candidate<br>
Biomolecular Engineering Laboratory<br>Pusan National University<br>South Korea<br>Mobile no. - 010-5818-3680<br><div><br></div>
</div>
<br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div>
</div></div><br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bharat<br>Ph.D. Candidate<br>
Biomolecular Engineering Laboratory<br>Pusan National University<br>South Korea<br>Mobile no. - 010-5818-3680<br><div><br></div>
</div>