Well, thanks for the suggestion, but the problem is still happening. <br><br><br>Thanks<br><br><div class="gmail_quote">2009/10/19 Mário Costa <span dir="ltr"><<a href="mailto:mario.silva.costa@gmail.com" target="_blank">mario.silva.costa@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
The problem is that the irradiancecache.so library is dynamic, and you<br>
are using mpich static library version libpmpich++.a.<br>
<br>
Either you are compiling with -static with gnu, or you are specifying<br>
the static library libpmpich++.a.<br>
<br>
If that is the case remove the -static flag from gnu compiler in the<br>
byuild script, or use -lmpich++ instead of the library ...<br>
<br>
Hope this helps,<br>
Regards,<br>
Mário<br>
<div><div></div><div><br>
On Mon, Oct 19, 2009 at 11:56 AM, Luís Miranda <<a href="mailto:luistm@gmail.com" target="_blank">luistm@gmail.com</a>> wrote:<br>
> Hi<br>
><br>
> I'm having this problem, when i try to compile my software in a rocks4.2<br>
> cluster.<br>
><br>
> /usr/bin/ld: /opt/mpich/myrinet/gnu/lib/libpmpich++.a(intercepts.o):<br>
> relocation R_X86_64_32S against `a local symbol' can not be used when making<br>
> a shared object; recompile with -fPIC<br>
> /opt/mpich/myrinet/gnu/lib/libpmpich++.a: could not read symbols: Bad value<br>
> collect2: ld returned 1 exit status<br>
> make: *** [bin/irradiancecache.so] Error 1<br>
><br>
> A solution to the problem, isto to compile the mpich with CFLAGS=-fPIC, but<br>
> i can't do this, becouse i'm not the cluster's admin.<br>
> Anyone knows any other workaround to the problem?<br>
><br>
> Thanks<br>
><br>
</div></div>> _______________________________________________<br>
> mpich-discuss mailing list<br>
> <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Mário Costa<br>
<br>
Laboratório Nacional de Engenharia Civil<br>
LNEC.CTI.NTIEC<br>
Avenida do Brasil 101<br>
1700-066 Lisboa, Portugal<br>
Tel : ++351 21 844 3911<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br>