[PVFS2-users] Re: pvfs2 + mpich2
Rob Ross
rross at mcs.anl.gov
Tue Mar 8 17:35:12 EST 2005
ADIO_PVFS2_operations is a ROMIO thing, not a PVFS2 thing, so it will
not appear in libpvfs2.a or libpvfs2.so.
Not that I have a solution to the problem yet, but that's why you don't
see that symbol...
Rob
Ryuta Suzuki wrote:
> I tried to build mpich2-1.0.1 and it seemed to build successfully but
> when I test by typing "make testing" it spits out the same link error
>
> /h/suzu0037/Local/MPI/mpich2/lib/libmpich.so: undefined reference to
> `ADIO_PVFS2_operations'
>
> When I checked name in libpvfs2.so I didn't even see what libmpich.so
> tries to refer to. I want to believe the fact that I'm using Intel
> compiler to build mpich2 don't matter for this issue. I just put the
> script I use to build mpich2.
>
>
> #!/bin/sh
>
> MPICH2DIR=${PWD}
> CC=icc
> CXX=icpc
> FC=ifort
> F90=ifort
> export CC CXX FC F90
>
> # set up for pvfs2 with romio
> export CFLAGS="-I${HOME}/Local/opt/include"
> export LDFLAGS="-L${HOME}/Local/opt/lib"
> export LIBS="-lpvfs2 -lpthread"
>
> cd /tmp/mpich2
> ${MPICH2DIR}/configure --prefix=${HOME}/Local/MPI/mpich2 \
> --enable-error-messages=generic \
> --enable-threads=funneled \
> --enable-f77 \
> --enable-f90 \
> --enable-cxx \
> --enable-romio \
> --with-file-system=ufs+nfs+pvfs2 \
> --with-device=ch3:ssm \
> --with-pm=forker:mpd \
> --with-thread-package=posix \
> --with-mpe \
> --enable-sharedlibs=gcc
>
> make 2>&1 | tee make.log
> make install
>
>
>
> Robert Latham wrote:
>
>> On Tue, Mar 08, 2005 at 04:39:21PM -0500, Yongquan (Cathy) Yuan wrote:
>>
>>
>>> I got the same problem when building it last week. There is a little
>>> bit trick. Here is the step I made to avoid the errors if you build
>>> mpich2 with romio (I use tcsh):
>>>
>>
>>
>> Yyuta, Cathy, what distribution are you running? This is not an error
>> I've seen before.
>> Thanks
>> ==rob
>>
>>
>>
>
> _______________________________________________
> PVFS2-users mailing list
> PVFS2-users at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
More information about the PVFS2-users
mailing list