<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:10pt; color:rgb(0,0,0); font-family:"Courier New",monospace,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:10pt; color:rgb(0,0,0); font-family:"Courier New",monospace,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p>Thank you for the quick answer; it is much appreciated.</p>
<p><br>
</p>
<p>Your suggestion seems to do the trick. Thanks a lot!<br>
</p>
<p><br>
</p>
ciao</div>
<div dir="ltr" style="font-size:10pt; color:rgb(0,0,0); font-family:"Courier New",monospace,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
Per<br>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Zhou, Hui <zhouh@anl.gov><br>
<b>Sent:</b> 28 May 2020 22:12<br>
<b>To:</b> discuss@mpich.org<br>
<b>Cc:</b> Per Berg<br>
<b>Subject:</b> Re: [mpich-discuss] troubles with 3.3.2 and libslurm</font>
<div> </div>
</div>
<div>
<div style="">
<p style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
Unfortunately, there isn’t an easy way not to link with some optional libraries that is available on the building host. Probably at some point we’ll clean up our configure scripts to approach optional libraries more consistently. For now, all I can suggest
 is to hack it: modify `src/pm/hydra/configure.ac`, search for `have_libslurm`, it should land you somewhere that has `AC_CHECK_HEADERS` and `AC_CHECK_LIB` for slurm, delete both. Re-run `autogen.sh` follow by the usual `configure` and `make`.</p>
<p style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
 </p>
<div>
<div>
<div>
<p style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
-- <br>
Hui Zhou</p>
</div>
</div>
</div>
<p style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
 </p>
<p style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
 </p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<b><span style="font-size:12.0pt; color:black">From: </span></b><span style="font-size:12.0pt; color:black">Per Berg via discuss <discuss@mpich.org><br>
<b>Reply-To: </b>"discuss@mpich.org" <discuss@mpich.org><br>
<b>Date: </b>Thursday, May 28, 2020 at 3:13 AM<br>
<b>To: </b>"discuss@mpich.org" <discuss@mpich.org><br>
<b>Cc: </b>Per Berg <peb@fcoo.dk><br>
<b>Subject: </b>[mpich-discuss] troubles with 3.3.2 and libslurm</span></p>
</div>
<div>
<p style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
 </p>
</div>
<div id="divtagdefaultwrapper">
<div>
<div>
<div id="x_divtagdefaultwrapper">
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">Hi,</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">I have version 3.2 running smoothly. Now I want to upgrade to vers 3.3.2, but I get a problem that the libslurm.so is required by the mpiexec in v3.3.2. This is a pitty since I don't
 have that on the compute nodes (and I don't use slurm). In vers3.2 this was not a problem. 
</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">I use the same compiler suite and the same configure arguments for both versions (except prefix path, of course).
</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">From ldd on the mpiexec from v3.3.2 I get:</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">    libslurm.so.29 => /usr/lib64/libslurm.so.29 (0x00007fc91ebf8000)</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">which will eventually lead to runtime errors when running across nodes that don't have it.</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">As said, vers3.2 doesn't have the slurm lib path burned into the mpiexec (and I don't need it).</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">How do I get rid of the libslurm in mpiexec? Which combination of configure args should I use? I have tried a tons of different args, but without success.</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">Please, help.</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">Regards,</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black">Per</span></p>
<p><span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
</div>
</div>
</div>
<p style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri",sans-serif">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>