[PVFS2-users] pvfs2 + mpich2

gray at cs.uni.edu gray at cs.uni.edu
Mon Mar 7 17:37:40 EST 2005


On Mon, Mar 07, 2005 at 05:30:13PM -0600, Ryuta Suzuki wrote:
> Thank you, Rob! It makes sense now. I appreciate it very much. Now I 
> have another question which may or may not be  relevant to PVFS2 itself.
> 
> When I reconfigure MPICH2 for PVFS2, I got the following link error
> 
> /h/suzu0037/Local/MPI/mpich2/lib/libmpich.so: undefined reference to 
> `ADIO_PVFS2_operations'
> 

You just need to link with the pvfs2 lib's during the mpicc stage.

If you have pvfs2 compiled with --enable-shared, and have run ldconfig -a, then
put -lpvfs2 in the mpicc script under MPI_OTHERLIBS (line ~44) or somewhere
better in ${prefix}/bin/mpicc

There's probably a better way ... If so, hoping to hear it here, too.
-- 
Paul Gray                                         -o)
323 Wright Hall                                   /\\
University of Northern Iowa                      _\_V
Message void if penguin violated ...  Don't mess with the penguin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20050307/c7d719e3/attachment.bin


More information about the PVFS2-users mailing list