[Pvfs2-users] Build issue with pvfs-2.7.0, GM, and x86_64
Craig Tierney
Craig.Tierney at noaa.gov
Mon Feb 11 10:23:56 EST 2008
Pete Wyckoff wrote:
> Craig.Tierney at noaa.gov wrote on Thu, 10 Jan 2008 11:54 -0700:
>> Pete Wyckoff wrote:
>>> Craig.Tierney at noaa.gov wrote on Thu, 10 Jan 2008 09:48 -0700:
>>>> I found a problem building pvfs-2.7.0, GM, on an
>>>> x86_64 platform. The file Makefile.in assumes that
>>>> the libraries for GM are found in -L at GM_HOME@/lib,
>>>> but since the system is 64-bit, they are in -L at GM_HOME@/lib64.
>>>> I have never used MX, but I suspect it has the same problem.
>>>>
>>>> Changing the Makefile.in file allowed me to build the
>>>> code, but I suspect this should be automated.
>>> I don't use GM or MX, so can't really test this. But I did the IB
>>> configure rules a while back and it is still fresh enough in my mind
>>> for me to do similar for these. Here's a first stab at a patch. If
>>> you are willing to test the GM part and make it work for you, we can
>>> check it in and cross fingers there are no typos.
>> I will test it out and send it back for inclusion.
>
> Craig, did you get a chance to look at this?
>
> Scott, I think it's a worthwhile cleanup regardless. Can you glance
> over the MX bits and see if I made any obvious mistakes? Some
> differences:
>
> -I @MX_HOME@/include only affects mx.c now, not entire tree.
>
> Removed the "-g -O0" global CFLAGS, hoping mx will work for
> whatever CFLAGS one might choose.
>
> Addition of --with-mx-includes and --with-mx-libs with defaults
> as @MX_HOME@/include; and @MX_HOME@/lib64 or @MX_HOME@/lib,
> whichever exists, in that order.
>
> Check for existence of libmyriexpress.so or .a in libdir.
>
> I think it will be more robust in case you run into vendor-installed
> RPMs or such where you don't have the handy lib soft link into the
> right place. We must fix it on GM at least to address Craig's
> 64-bit machine config problem, but the MX bit is your call.
>
Pete,
I thought I sent the patch the following day. I got a response from
someone Scott Atchley who said that MX did not have the same issue.
Here is the patch again:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gm-lib64-build.patch
Type: text/x-patch
Size: 12159 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20080211/83cd73f0/gm-lib64-build-0001.bin
More information about the Pvfs2-users
mailing list