<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I had some time this afternoon so dug into the source code (of slurm and pmix) and found the
<div class="">issue.</div>
<div class=""><br class="">
</div>
<div class="">In the file:</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>slurm-18.08.4/src/plugins/mpi/pmix/pmixp_client.c</div>
<div class=""><br class="">
</div>
<div class="">line 147 (first instance):</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>PMIX_VAL_SET(&kvp->value, flag, 0);<br class="">
<br class="">
“PMIX_VAL_SET” is a macro from /usr/include/pmix_common.h (version 2.2.1)</div>
<div class=""><br class="">
</div>
<div class="">In version 3.1.1 it is missing.</div>
<div class=""><br class="">
</div>
<div class="">Digging further it is pmix commit 47b8a8022a9d6cea8819c4365afd800b047c508e </div>
<div class="">(Sun Aug 12 11:27:28 2018 -0700) that removes the macros.</div>
<div class=""><br class="">
</div>
<div class="">I don’t understand pmix enough to understand why the change was made.</div>
<div class=""><br class="">
</div>
<div class=""> -Greg<br class="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 22 Jan 2019, at 5:10 pm, Michael Di Domenico <<a href="mailto:mdidomenico4@gmail.com" class="">mdidomenico4@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">i've seen the same error, i don't think it's you. but i don't know<br class="">
what the cause is either, i didn't have time to look into it so i<br class="">
backed up to pmix 2.2.1 which seems to work fine<br class="">
<br class="">
On Tue, Jan 22, 2019 at 12:56 AM Greg Wickham <<a href="mailto:greg.wickham@kaust.edu.sa" class="">greg.wickham@kaust.edu.sa</a>> wrote:<br class="">
<blockquote type="cite" class=""><br class="">
<br class="">
Hi All,<br class="">
<br class="">
I’m trying to build pmix 3.1.1 against slurm 18.08.4, however in the slurm<br class="">
pmix plugin I get a fatal error:<br class="">
<br class="">
pmixp_client.c:147:28: error: ‘flag’ undeclared (first use in this function)<br class="">
PMIX_VAL_SET(&kvp->value, flag, 0);<br class="">
<br class="">
Is there something wrong with my build environment?<br class="">
<br class="">
The variable ‘flag’ doesn’t appear to be defined anywhere in any file in<br class="">
the directory slurm-18.08.4/src/plugins/mpi/pmix<br class="">
<br class="">
thanks,<br class="">
<br class="">
-greg<br class="">
<br class="">
--<br class="">
</blockquote>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
--<br class="">
Dr. Greg Wickham<br class="">
Advanced Computing Infrastructure Team Lead<br class="">
Advanced Computing Core Laboratory<br class="">
King Abdullah University of Science and Technology<br class="">
Building #1, Office #0124<br class="">
<a href="mailto:greg.wickham@kaust.edu.sa" class="">greg.wickham@kaust.edu.sa</a> +966 544 700 330<br class="">
--</div>
</div>
<br class="">
</div>
</body>
</html>