[EMAIL PROTECTED] wrote on Tue, 14 Feb 2006 11:15 -0500:
> I'm not certain how to use --with-ib.
>
> So vapi.h is at:
>
> /usr/include/iba/vapi/vapi.h
>
> so I did
>
> setenv CFLAGS "-I/usr/include/iba/vapi"
>
> and then just configured like
>
> ./configure --with-ib=/usr
The --with-ib assumes a directory tree that looks something like
--with-ib=/usr/local/infiniband
/usr/local/infiniband
|-- bin
|-- etc
|-- include
..
|-- mosal.h
|-- mtl_common.h
..
`-- lib
..
|-- libmosal.so
..
But I see your include dirs are separate from your libs, so we
really should break this out into two separate checks. But in
the mean time you can continue your workaround with CFLAGS, but edit
Makefile.in, grep for IBLIBS, and change /lib to /lib64 for now.
I'll work on more resilient configurations if this seems to work.
So, assuming libmosal.so is found as /usr/lib64/libmosal.so:
vi Makefile.in
setenv CFLAGS "-I/usr/include/iba/vapi"
./configure --with-ib=/usr
> However, the libraries appear to be in /lib64, so I'm still not clear on
> what I'm doing. When I try to compile, I seem to get this error (there
> are alot of warnings so its hard to determine if this is the killer or not):
>
> In file included from /usr/include/iba/vapi/vapi_types.h:35,
> from /usr/include/iba/vapi/vapi_common.h:36,
> from src/io/bmi/bmi_ib/ib.c:14:
> /usr/include/iba/vapi/mtl_common.h:145:5: "notused" is not defined
There is no match for "notused" in my includes, nor in the latest
IBGD-1.8.2 from Mellanox that I just browsed through. I wonder what
SilverStorm has done to the Mellanox code. Agree that crossing
fingers and hoping for the best here is all you can do.
This hasn't been tested too widely, and frankly, I'm hoping this
gen1 IB stuff dies off soon so everyone can switch to OpenIB soon.
No, that isn't quite supported in PVFS2 yet, though.
Let me know what breaks next and we'll figure out how to fix it.
-- Pete
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers