CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

MPICH : undefined reference to..

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 24, 2005, 10:47
Default MPICH : undefined reference to..
  #1
Vincent
Guest
 
Posts: n/a
Hi,

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 ?
  Reply With Quote

Old   March 24, 2005, 12:08
Default Re: MPICH : undefined reference to..
  #2
Jörn Beilke
Guest
 
Posts: n/a
Contact the support for precompiled versions.
  Reply With Quote

Old   March 24, 2005, 12:10
Default Re: MPICH : undefined reference to..
  #3
4xF
Guest
 
Posts: n/a
Which MPICH version are you using? Is it by chance a self-compiled version?
  Reply With Quote

Old   March 24, 2005, 13:30
Default Re: MPICH : undefined reference to..
  #4
Vincent
Guest
 
Posts: n/a
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)

  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined reference mateusz_slowikowski OpenFOAM Running, Solving & CFD 7 February 27, 2015 15:35
Undefined reference to %60mainb seang OpenFOAM Installation 8 February 1, 2014 14:48
Undefined reference to %60yyFlexLexeryywrapb arjaan OpenFOAM Installation 12 October 29, 2008 12:25
Undefined reference to %60yyFlexLexeryywrapb zhoubinwx OpenFOAM Bugs 1 May 28, 2008 05:57
Undefined reference mateusz_slowikowski OpenFOAM Running, Solving & CFD 3 March 11, 2008 13:19


All times are GMT -4. The time now is 18:39.