<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16446">
<STYLE>BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT style="" size=2 face=Verdana>Dear Sir:</FONT></DIV>
<DIV> </DIV>
<DIV>Thanks for your development of MPICH first.</DIV>
<DIV>And I have a problem after I install mpich to compile my application.</DIV>
<DIV>The error is followingŁ¬</DIV>
<DIV>"</DIV>
<DIV>/usr/bin/ld: /home/g/mpich2/lib/libmpichcxx.a(initcxx.o): relocation
R_X86_64_32S against `vtable for MPI::Datatype' can not be used when making a
shared object; recompile with -fPIC<BR>/home/g/mpich2/lib/libmpichcxx.a: could
not read symbols: Bad value<BR>collect2: ld returned 1 exit status</DIV>
<DIV>"</DIV>
<DIV><FONT style="" size=2 face=Verdana></FONT> </DIV>
<DIV>It probably means that I should recompile MPI with -fPIC. </DIV>
<DIV><FONT style="" size=2 face=Verdana>But I cannot understand the
definite mean of this error, could you give me some advice?</FONT></DIV>
<DIV>Thanks and best regards!</DIV>
<DIV><FONT size=2 face=Verdana>Geng</FONT></DIV>
<DIV><FONT size=2 face=Verdana> </DIV>
<DIV>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
</DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>crgeng_medphys</SPAN>
</FONT></DIV></FONT></BODY></HTML>