CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CD-adapco (
-   -   MPICH : undefined reference to.. (

Vincent March 24, 2005 10:47

MPICH : undefined reference to..

I'm trying to get mpich working with proHPC but I got problems.

The mpich libraries are found, variable MPI_ROOT,_ARCH and _DEVICE are set. Starlink runs but I got error messages like these :

/usr/local/mpich/mpp/mpich/lib/LINUX/ch_shmem/libmpi.a(initutil.o): In function `MPIR_Init': initutil.o(.text+0x133): undefined reference to `MPID_Init' initutil.o(.text+0x15f): undefined reference to `MPID_MyWorldRank'

and much more.

What's the fuck ?! I tried to recompile mpich trying different device but no better result.

How can I get mpich working ?

Jörn Beilke March 24, 2005 12:08

Re: MPICH : undefined reference to..
Contact the support for precompiled versions.

4xF March 24, 2005 12:10

Re: MPICH : undefined reference to..
Which MPICH version are you using? Is it by chance a self-compiled version?

Vincent March 24, 2005 13:30

Re: MPICH : undefined reference to..
Well, it's ok now. I recompiled MPICH with the good options.

In fact there is a problem with monocase name for shared objects between the ABSoft compiler and the GNU one, use -f to correct that.

For information :

$export FC="f77 -f -N15" $./configure --prefix=/usr/local/mpich $make $make install (give errors on tests but prohpc/starlinks works)

All times are GMT -4. The time now is 02:14.