[mpich-discuss] mpich2 some errors..
crgeng_medphys
crgeng_medphys at yahoo.cn
Wed Jul 4 02:05:59 CDT 2012
Dear Sir:
Thanks for your development of MPICH first.
And I have a problem after I install mpich to compile my application.
The error is following,
"
/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
/home/g/mpich2/lib/libmpichcxx.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
"
It probably means that I should recompile MPI with -fPIC.
But I cannot understand the definite mean of this error, could you give me some advice?
Thanks and best regards!
Geng
crgeng_medphys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120704/9a7beb04/attachment.html>
More information about the mpich-discuss
mailing list