On 04/24/2014 08:42 AM, xihuang sun wrote:
I am compiling some mpi programs and I get these errors. ------- /usr/bin/ld: cannot find -lpvfs2 collect2: ld return 1 make: *** [IMAGERESAMPLE_DMC4] Error 1 ------- when compiling with intel mpi(impi) everything goes fine.
intel mpi probably does not have pvfs2 support compiled in
but when I changed to mpich2 this error comes out.
but your mpich2 does.
To check whether some pvfs2.so like things exist I use 'locate pvfs2', and only find the libmpi_pvfs2.so in intel mpi lib directory, but I'm not sure whether this matters.
Oh, that's interesting. Maybe it does have pvfs2 support but ships with the pvfs2 libraries?
Or some extra configuration needed before I compile & use mpich2?
If your system has a pvfs2 file system, you should install the pvfs2 libraries so you can use the optimized PVFS routines.
'
How about Openmpi since I need infiniband support?
MVAPICH and OpenMPI both have PVFS support, though you'll need a pretty recent OpenMPI -- I sent them some patches for some build errors we found a few months ago.
==rob
Thanks a lot. _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
-- Rob Latham Mathematics and Computer Science Division Argonne National Lab, IL USA _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
