[mpich-discuss] undefined symbol: MPI_UNWEIGHTED

Robert Baurle robert.a.baurle at nasa.gov
Tue Aug 2 14:00:01 CDT 2016


Sorry, I should have also stated that /opt/mpich is a symbolic link to 
/opt/mpich_gfc. I define /opt/mpich to be a symbolic link to either:

/opt/mpich_gfc

or

/opt/mpich_lahey

depending on which Fortran90 compiler I want to use. I currently have 
/opt/mpich symbolically linked to /opt/mpich_gfc, and /opt/mpich is 
defined in my paths as shown below

hyp22 rbaurle > echo $LD_LIBRARY_PATH
/usr/lib64/atlas:/opt/tecplotex/bin:/opt/mpich/lib:/opt/lahey-64/lib64:/usr/local/lib

hyp22 rbaurle > echo $PATH
/home/rbaurle/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/opt/lahey-64/bin:/opt/tecplot/bin:/opt/gridpro/bin:/opt/mpich/bin:.:/home/rbaurle/Vulcan/vulcan.bzr/Vulcan/Scripts


Rob

On 08/02/2016 02:48 PM, Halim Amer wrote:
> you are probably linking to the wrong MPICH. You installed MPICH to 
> /opt/mpich_gfc but the error occurs for MPICH installed at /opt/mpich.
>
> Do you have /opt/mpich in LD_LIBRARY_PATH? If that's the case, then 
> you should remove it or place /opt/mpich_gfc before it.
>
> --Halim
>
> www.mcs.anl.gov/~aamer
>
> On 8/2/16 11:33 AM, Robert Baurle wrote:
>> Hello,
>>
>> I have installed MPICH 3.2 on a CENTOS 6 machine with the following
>> configuration options:
>>
>> setenv CC /usr/bin/gcc
>> setenv FC /usr/bin/gfortran
>> setenv CXX /usr/bin/c++
>> setenv INS_DIR /opt/mpich_gfc
>>
>> ../mpich-3.2/configure --prefix=$INS_DIR --with-device=ch3:nemesis |&
>> tee configure.log
>>
>> make --jobs 4 |& tee make.log
>>
>> make install
>>
>> and the installation appeared to have completed without error (see the
>> attached configure.log and make.log files). However, when I attempt to
>> run a simple hello_world FORTRAN 90 program, I get the following error:
>>
>> hyp22 rbaurle 2293> mpirun -n 3 a.out < hello.inp
>> a.out: symbol lookup error: /opt/mpich/lib/libmpifort.so.12: undefined
>> symbol: MPI_UNWEIGHTED
>>
>> If I repeat the installation, but change the Fortran90 compiler from
>> GFORTRAN to the Lahey 8.1 compiler, i.e.:
>>
>> setenv FC /opt/lahey-64/bin/lf95
>>
>> then the hello_world program runs just fine. Do you have any idea what
>> might be going on here? I should also mention that the same error
>> appears if I install MPICH 3.1.3.
>>
>> Thanks,
>>
>> Rob
>>
>>
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list