On Wed, Jan 31, 2007 at 05:25:50PM -0200, Luiz Mendes wrote:
> Hi all,
>
> I am trying to install MPICH with support for PVFS. Well, i have done all
> things describe in PVFS.org site for installation over PVFS2, but in my
> case, i have applied to MPICH1.
>
> prompt% export CFLAGS="-I/usr/local/pvfs2/include"
> prompt% export LDFLAGS="-L/usr/local/pvfs2/lib"
> prompt% export LIBS="-lpvfs2 -lpthread"
>
>
> prompt% configure --with-file-system=ufs+nfs+testfs+pvfs2 --with-romio
> (this --with-romio) is needed for MPICH1?
Hi Luiz
While it's possible to use MPICH1 and PVFS2, it would be a good idea
for you to use MPICH2 if at all possible.
If you really need to use MPICH21, then I would suggest configuring
like this (you don't have to do it this way, but this is what worked
for me last time i built mpich1 with pvfs support):
prompt%: configure --with-romio=--with-file-system=pvfs+ufs+nfs+testfs+pvfs2 \
-cflags=-I${PVFS2_DIR}/include \
-lib="-L${PVFS2_DIR}/lib -lpvfs2 -lpthread"
> Well and i run configure script, this process finishes and it returns
> the following message:
>
> checking whether the compiler gcc runs... no
> conftest.c: In function 'main':
> conftest.c:2: warning: incompatible implicit declaration of built-in
> function 'exit'
> /usr/bin/ld: cannot find -lpvfs2
>
> Do you know what could be happening?
You can look at config.log for more information about that error. It
looks like configre is not honoring your LDFLAGS environment variable.
Odd, since it is honoring your LIBS environment variable.
==rob
--
Rob Latham
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA B29D F333 664A 4280 315B
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users