[mpich2-dev] undefined symbol: MPIR_Thread

Anthony Chan chan at mcs.anl.gov
Tue Feb 1 12:41:54 CST 2011


mpich2-dev for mpich2 development not general MPICH usage questions,
please send your question to mpich-discuss at mcs.anl.gov.

----- Original Message -----
> All,
> 
> when running a model with mpirun ./exe
> I get the following error:
> ./exe: symbol lookup error: ./exe: undefined symbol: MPIR_Thread
> 
> I have no idea how to deal with this. I use mpich2-1.3.1, compiled
> with
> gfortran, with the following libraries:
> gfortran -O2 -I/usr/local/mpich2-1.3.1/include
> -I/usr/local/mpich2-1.3.1/include -L/usr/local/mpich2-1.3.1/lib
> -lmpichf90 -lmpichf90 -lmpich -lopa -lmpl -lrt -lpthread

Did you use mpif90/mpif77 to link your code or just use above link
command which seems incomplete ?

A.Chan

> 
> Could anybody help me with this?
> 
> Regards,
> Matthias
> 
> --
> 
> 
> -------------------------------------------------------------
> FWO Post-doctoral Research Fellow
> Department of Earth& Environmental Sciences
> Physical and Regional Geography Research Group
> Regional climate studies
> 
> Celestijnenlaan 200E
> 3001 Heverlee (Leuven)
> BELGIUM
> 
> Tel: + 32 16 326424
> Fax: + 32 16 322980
> 
> http://geo.kuleuven.be/aow/
> www.kuleuven.be/geography
> -------------------------------------------------------------


More information about the mpich2-dev mailing list