<div dir="ltr">Hello,<div>Thank you for your replies. I think another version of MPICH may not work as I am following a tutorial (<a href="https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php">https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php</a>) that requires specific library versions.</div><div>My /etc/hosts file contains only these two lines:</div><div><br></div><div>"</div><div>::1                       localhost localhost.my.domain<br>127.0.0.1                localhost localhost.my.domain<br></div><div>"</div><div><br></div><div>uname -n returns an empty string as I have not set a hostname. I guess I do not need this because I need to run MPICH only on this machine, that is on localhost? uname -a gives the following output:</div><div><br></div><div>"</div><div>marto@% uname -a<br>DragonFly  5.8-RELEASE DragonFly v5.8.1-RELEASE #1: Thu May  7 08:26:21 CEST 2020     root@:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64<br></div><div>"</div><div><br></div><div>Apart from providing a --prefix, I configured MPICH with the default options. During the configure step I got some interesting messages though:</div><div><br></div><div>"</div><div>checking for architecture... x86_64<br>configure: WARNING: Unknown architecture x86_64... proceeding anyway<br></div><div>...</div><div>###<br>### Configuring hwloc core<br>###<br>checking hwloc building mode... embedded<br>configure: hwloc builddir: /home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc<br>configure: hwloc srcdir: /home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc<br>checking if want hwloc maintainer support... disabled (embedded mode)<br>checking for hwloc directory prefix... tools/topo/hwloc/hwloc/<br>checking for hwloc symbol prefix... hwloc_<br>checking size of void *... 8<br>checking which OS support to include... Unsupported! (x86_64-unknown-dragonfly5.8)<br>configure: WARNING: ***********************************************************<br>configure: WARNING: *** hwloc does not support this system.<br>configure: WARNING: *** hwloc will *attempt* to build (but it may not work).<br>configure: WARNING: *** hwloc run-time results may be reduced to showing just one processor.<br>configure: WARNING: *** You have been warned.<br>configure: WARNING: *** Pausing to give you time to read this message...<br>configure: WARNING: ***********************************************************<br>checking which CPU support to include... x86_64<br></div><div>...</div><div>configure: creating ./config.status<br>config.status: creating tools/topo/hwloc/hwloc/Makefile<br>config.status: creating tools/topo/hwloc/hwloc/include/Makefile<br>config.status: creating tools/topo/hwloc/hwloc/src/Makefile<br>config.status: creating Makefile<br>config.status: creating tools/bootstrap/src/bsci_init.c<br>config.status: creating hydra-doxygen.cfg<br>config.status: creating include/hydra_config.h<br>config.status: include/hydra_config.h is unchanged<br>config.status: creating tools/topo/hwloc/hwloc/include/private/autogen/config.h<br>config.status: tools/topo/hwloc/hwloc/include/private/autogen/config.h is unchanged<br>config.status: creating tools/topo/hwloc/hwloc/include/hwloc/autogen/config.h<br>config.status: tools/topo/hwloc/hwloc/include/hwloc/autogen/config.h is unchanged<br></div><div>"</div><div>I am looking forward to your replies.</div><div><br></div><div>Best regards,</div><div>Martin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 7, 2020 at 8:59 PM Tony Curtis via discuss <<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><br><div><br><blockquote type="cite"><div>On May 7, 2020, at 2:30 PM, Zhou, Hui via discuss <<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>> wrote:</div><br><div><div style="font-family:TrebuchetMS;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Hi Martin,<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Could you try the latest version<span> </span><a href="https://www.mpich.org/downloads/" style="color:rgb(5,99,193);text-decoration:underline" target="_blank">https://www.mpich.org/downloads/</a><span> </span>?<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div><div><div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">-- <br>Hui Zhou<u></u><u></u></div></div></div></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(181,196,223);padding:3pt 0in 0in"><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span style="font-size:12pt">From:<span> </span></span></b><span style="font-size:12pt">Martin Ivanov via discuss <<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br><b>Reply-To:<span> </span></b>"<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>" <<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br><b>Date:<span> </span></b>Thursday, May 7, 2020 at 11:35 AM<br><b>To:<span> </span></b>"<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>" <<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br><b>Cc:<span> </span></b>Martin Ivanov <<a href="mailto:marto1980@gmail.com" target="_blank">marto1980@gmail.com</a>><br><b>Subject:<span> </span></b>[mpich-discuss] Run mpich on localhost<u></u><u></u></span></div></div><div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div></div><div><div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif">Hello,</span><span style="font-family:Helvetica"><u></u><u></u></span></div></div><div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif">I installed mpich-3.0.4 on a x86_64 BSD machine. I need to run MPI on this single machine, which has 8 cores. When I run the cpi example, I get:</span><span style="font-family:Helvetica"><u></u><u></u></span></div></div><div><div id="gmail-m_-8591050940585915848gmail-:1jd" style="margin-top:6pt;font-size:0.875rem"><div id="gmail-m_-8591050940585915848gmail-:1jc"><div><div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif"><u></u> <u></u></span></div><div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif">marto@% mpiexec -n 3 mpich-3.0.4/examples/cpi<br>ssh: Could not resolve hostname : hostname nor servname provided, or not known<u></u><u></u></span></div></div></div><div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif"><u></u> <u></u></span></div></div></div></div></div></div></div></div></div></blockquote><br></div><div>Also, how did you configure MPICH?  What is your hostname (uname -n), and what is in /etc/hosts?</div><div><br></div><div>Tony</div><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" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</blockquote></div>