[Darshan-users] darshan-3.1.2 compilation Issue with lustre libs
Glenn Lockwood
glock at lbl.gov
Wed Nov 30 12:30:10 CST 2016
Hi Pankaj
It looks like earlier versions of Lustre didn't define a constant
correctly. As a temporary work-around, you can add the following line:
#define LOV_MAX_STRIPE_COUNT 2000
to the top of darshan-runtime/darshan-lustre.h
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.
Glenn
Date: Wed, 30 Nov 2016 12:58:08 +0530 (IST)
> From: Pankaj Dorlikar <pankajd at cdac.in>
> To: darshan-users at lists.mcs.anl.gov
> Subject: [Darshan-users] darshan-3.1.2 compilation Issue with lustre
> libs
> Message-ID:
> <348240992.395.1480490888121.JavaMail.open-xchange at webmail.cdac.in
> >
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
>
>
> I am getting below error while compiling darshan-3.1.2 on cent os 6.2 ,
> intel 64
> bit machine with lustre client installed as below :
>
> lustre-client-debuginfo-2.1.1-2.6.32_220.el6.x86_64.x86_64
>
> lustre-client-2.1.1-2.6.32_220.el6.x86_64.x86_64
>
> lustre-client-modules-2.1.1-2.6.32_220.el6.x86_64.x86_64
>
> For compilation, I am using below command line and it thorows the below
> error :
>
> mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I .
> -I./../
> -g -O2 -D_LARGEFILE64_SOURCE -DDARSHAN_LUSTRE -c lib/darshan-lustre.c -o
> lib/darshan-lustre.o
> lib/darshan-lustre.c: In function ?darshan_instrument_lustre_file?:
> lib/darshan-lustre.c:59: error: ?LOV_MAX_STRIPE_COUNT? undeclared (first
> use in
> this function)
> lib/darshan-lustre.c:59: error: (Each undeclared identifier is reported
> only
> once
> lib/darshan-lustre.c:59: error: for each function it appears in.)
> make: *** [lib/darshan-lustre.o] Error 1
>
>
>
> Any pointers regarding this would be helpful..
>
>
>
>
>
> Thanks,
>
> Pankaj
> ------------------------------------------------------------
> -------------------------------------------------------------------
> [ C-DAC is on Social-Media too. Kindly follow us at:
> Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
>
> This e-mail is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. If you are not the
> intended recipient, please contact the sender by reply e-mail and destroy
> all copies and the original message. Any unauthorized review, use,
> disclosure, dissemination, forwarding, printing or copying of this email
> is strictly prohibited and appropriate legal action will be taken.
> ------------------------------------------------------------
> -------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20161130/55a09493/attachment.html>
More information about the Darshan-users
mailing list