<div dir="ltr">Hi Pankaj<div><br></div><div>It looks like earlier versions of Lustre didn't define a constant correctly.  As a temporary work-around, you can add the following line:</div><div><br></div><div>#define LOV_MAX_STRIPE_COUNT 2000</div><div><br></div><div>to the top of darshan-runtime/darshan-lustre.h</div><div><br></div><div>We didn't test the Darshan Lustre module against older versions of Lustre, which is why we didn't catch this--sorry!  I'll put in a permanent fix for future releases of Darshan and try to find an older Lustre system on which we can test.</div><div><br></div><div>Glenn</div><div><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Date: Wed, 30 Nov 2016 12:58:08 +0530 (IST)<br>
From: Pankaj Dorlikar <<a href="mailto:pankajd@cdac.in">pankajd@cdac.in</a>><br>
To: <a href="mailto:darshan-users@lists.mcs.anl.gov">darshan-users@lists.mcs.anl.<wbr>gov</a><br>
Subject: [Darshan-users] darshan-3.1.2 compilation Issue with lustre<br>
        libs<br>
Message-ID:<br>
        <<a href="mailto:348240992.395.1480490888121.JavaMail.open-xchange@webmail.cdac.in">348240992.395.1480490888121.<wbr>JavaMail.open-xchange@webmail.<wbr>cdac.in</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
<br>
<br>
I am getting below error while compiling darshan-3.1.2 on cent os 6.2 , intel 64<br>
bit machine with lustre client installed as below :<br>
<br>
lustre-client-debuginfo-2.1.1-<wbr>2.6.32_220.el6.x86_64.x86_64<br>
<br>
lustre-client-2.1.1-2.6.32_<wbr>220.el6.x86_64.x86_64<br>
<br>
lustre-client-modules-2.1.1-2.<wbr>6.32_220.el6.x86_64.x86_64<br>
<br>
For compilation, I am using below command line and it thorows the below error :<br>
<br>
mpicc -DDARSHAN_CONFIG_H=\"darshan-<wbr>runtime-config.h\" -I . -I ../ -I . -I./../<br>
-g -O2 -D_LARGEFILE64_SOURCE -DDARSHAN_LUSTRE -c lib/darshan-lustre.c -o<br>
lib/darshan-lustre.o<br>
lib/darshan-lustre.c: In function ?darshan_instrument_lustre_<wbr>file?:<br>
lib/darshan-lustre.c:59: error: ?LOV_MAX_STRIPE_COUNT? undeclared (first use in<br>
this function)<br>
lib/darshan-lustre.c:59: error: (Each undeclared identifier is reported only<br>
once<br>
lib/darshan-lustre.c:59: error: for each function it appears in.)<br>
make: *** [lib/darshan-lustre.o] Error 1<br>
<br>
<br>
<br>
Any pointers regarding this would be helpful..<br>
<br>
<br>
<br>
<br>
<br>
Thanks,<br>
<br>
Pankaj<br>
------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-------<br>
[ C-DAC is on Social-Media too. Kindly follow us at:<br>
Facebook: <a href="https://www.facebook.com/CDACINDIA" rel="noreferrer" target="_blank">https://www.facebook.com/<wbr>CDACINDIA</a> & Twitter: @cdacindia ]<br>
<br>
This e-mail is for the sole use of the intended recipient(s) and may<br>
contain confidential and privileged information. If you are not the<br>
intended recipient, please contact the sender by reply e-mail and destroy<br>
all copies and the original message. Any unauthorized review, use,<br>
disclosure, dissemination, forwarding, printing or copying of this email<br>
is strictly prohibited and appropriate legal action will be taken.<br>
------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-------<br></blockquote></div></div></div></div>