<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Le 14/12/2021 à 21:40, Thompson, Matt
(GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] via discuss a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:57D55069-F6E0-4F62-A497-266486B350BE@nasa.gov">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 2 6 3 5 4 5 2 3 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Consolas;
color:windowtext;
font-weight:normal;
font-style:normal;}.MsoChpDefault
{mso-style-type:export-only;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:Consolas">MPICH
Discuss,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">I'm sure
I've done something stupid, but I'm not sure what. I tried
searching google, but my google-fu failed me.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Today I
decided to try and build MPICH 4.0b1 on a cluster I'm on
(NCCS Discover) using GCC 11.2. My configure line was quite
boring:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">./configure
CC=gcc CXX=g++ FC=gfortran \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">
FCFLAGS=-fallow-argument-mismatch \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">
FFLAGS=-fallow-argument-mismatch \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">
--prefix=/discover/swdev/gmao_SIteam/MPI/mpich/4.0b1/gcc-11.2.0
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">The
MPICH configure step was nice enough to let me know I needed
those FFLAGS and FCFLAGS. And it configured just happily.[1]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">When I
went to the make step I eventually it errored out with:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">make[3]:
Entering directory
'/gpfsm/dswdev/gmao_SIteam/MPI/src/mpich-4.0b1/src/pm/hydra'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">
CCLD libpm.la<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">
CCLD hydra_persist<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">/usr/bin/ld:
/discover/swdev/gmao_SIteam/MPI/src/mpich-4.0b1/src/pm/hydra/.libs/libhydra.a(topo_hwloc.o):
in function `HYDT_topo_hwloc_init':<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">/discover/swdev/gmao_SIteam/MPI/src/mpich-4.0b1/src/pm/hydra/tools/topo/hwloc/topo_hwloc.c:577:
undefined reference to `hwloc_topology_set_io_types_filter'</span></p>
</div>
</blockquote>
<p><br>
</p>
<p>Hello</p>
<p>I think this error usually occurs when compiling against hwloc
2.x (such as the one embedded inside MPICH) but linking against an
old hwloc 1.x. Do you have such an old hwloc installed on this
machine? The first line below likely says yes. I don't know why
configure would mix them like this, but you should be able to
avoid the error by uninstalling the old hwloc (or with a chmod 0
on its libhwloc.so during your configure).<br>
</p>
<p>Brice<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:57D55069-F6E0-4F62-A497-266486B350BE@nasa.gov">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:Consolas"><o:p></o:p></span></p>
<span style="font-family:Consolas">checking if hwloc meets
minimum version requirement... no<o:p></o:p></span>
<p class="MsoNormal"><span style="font-family:Consolas">configure:
===== configuring modules/hwloc =====<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">###
Configuring hwloc core<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">###<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">checking
hwloc building mode... embedded<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">configure:
hwloc builddir:
/discover/swdev/gmao_SIteam/MPI/src/mpich-4.0b1/modules/hwloc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">configure:
hwloc srcdir:
/discover/swdev/gmao_SIteam/MPI/src/mpich-4.0b1/modules/hwloc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p><br>
</o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">And I
can't see anything in the output that it's somehow picking
up on an hwloc I might have installed somewhere else (be it
Open MPI or just hwloc by hand).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Maybe
there are flags I need to pass? I do see reference to
--with-hwloc=embedded, but it looks like configure decided
to use that itself.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Thanks
for any help,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Matt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">[1]
Note: I'm building on an Infiniband system so maybe I need
to do a build with --with-device=ch4:ucx eventually, but
that's a runtime thing. I figure it can't be involved with
this error...right?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">-- <o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-family:Consolas">Matt Thompson, SSAI, Ld
Scientific Programmer/Analyst<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-family:Consolas">NASA GSFC, Global Modeling
and Assimilation Office<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-family:Consolas">Code 610.1, 8800 Greenbelt
Rd, Greenbelt, MD 20771<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-family:Consolas">Phone:
301-614-6712 Fax: 301-614-6246<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><u><span
style="font-family:Consolas;color:#0000E9"><a class="moz-txt-link-freetext" href="http://science.gsfc.nasa.gov/sed/bio/matthew.thompson">http://science.gsfc.nasa.gov/sed/bio/matthew.thompson</a></span></u><o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a>
</pre>
</blockquote>
</body>
</html>