<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div class="moz-cite-prefix">Installing the libtool-bin package also
made the problem go away. (This was an Ubuntu system. The
package name may be different on another distribution.)<br>
<br>
On 5/2/22 2:02 PM, Allen McIntosh wrote:<br>
</div>
<blockquote type="cite" cite="mid:93ab8ab7-a965-c492-db25-831a38e09fb5@peratonlabs.com">
<div class="moz-cite-prefix">That was what I thought also.
Unfortunately this doesn't work. The purpose of setting
$LIBTOOL_VERSION is to embed the version in the .lo file
$LO_FILEPATH that is created in the next statement. Although
the version is placed in something that appears to be a comment,
it is required later by something else called 'libtool', and it
is considered to be an error if the version is missing:<br>
<br>
libtool: error:
'src/backend/cuda/pup/yaksuri_cudai_pup__Bool.lo' is not a valid
libtool object<br>
<br>
The file contains the line<br>
# Generated by<br>
<br>
This is a rather cryptic error message, but it goes away if the
libtool invocation on line 44 is changed to './libtool'. That
is marginally OK if cudalt.sh is only invoked in that directory
(which seems to be true just now) but it's not a permanent
solution IMHO.<br>
<br>
I have attached the build log for whatever that's worth. Let me
know if you want any config logs.<br>
<br>
On 5/2/22 11:01 AM, Zhou, Hui wrote:<br>
</div>
<blockquote type="cite" cite="mid:SA0PR09MB7417C558351F189D7C0F221BA9C19@SA0PR09MB7417.namprd09.prod.outlook.com">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);"> Hi Allen,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);"> The line was just
getting a libtool version to be included in a comment. I
suspect simply deleting the line would work fine. Could you
try that?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);"> Posting yaksa related
questions here is fine. Don't worry about reposting to
yaksa-users.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);"> -- <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);"> Hui<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b>
Allen McIntosh via discuss <a class="moz-txt-link-rfc2396E" href="mailto:discuss@mpich.org" moz-do-not-send="true"><discuss@mpich.org></a><br>
<b>Sent:</b> Monday, May 2, 2022 9:22 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org" moz-do-not-send="true">discuss@mpich.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:discuss@mpich.org" moz-do-not-send="true"><discuss@mpich.org></a><br>
<b>Cc:</b> Allen McIntosh <a class="moz-txt-link-rfc2396E" href="mailto:aamcintosh@peratonlabs.com" moz-do-not-send="true"><aamcintosh@peratonlabs.com></a><br>
<b>Subject:</b> [mpich-discuss] error building cuda from
yaksa</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Mpich version: 4.0.2<br>
OS: Ubuntu 20.04 (but likely irrelevant)<br>
<br>
Line 45 (approximately) of<br>
mpich-4.0.2/modules/yaksa/src/backend/cuda/cudalt.sh
invokes libtool<br>
without providing its own version. This results in an
error if there is<br>
no system version of libtool. I got around this by
changing the<br>
invocation to "./libtool", but that is pretty ugly. I
have asked to<br>
have libtool-bin installed on the build system. I can
post with any<br>
results.<br>
<br>
[I see that I really should have posted this to
yaksa-users. I will<br>
subscribe and post there.]<br>
_______________________________________________<br>
discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org" moz-do-not-send="true">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" moz-do-not-send="true">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</div>
</span></font></div>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>