<div dir="ltr"><div><div>Thanks for your answer Ken,<br><br></div>After your confirmation that <b>--enable-shared=yes</b> should has worked, I decided to backtrack and start again from scratch. Fortunately, I got it working properly.<br>
<br></div>Thanks a lot for your help.<br> <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 5:51 PM, Ken Raffenetti <span dir="ltr"><<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">John,<br>
<br>
Configuring with --enable-shared or --enable-shared=yes should have worked for this. Can you send your config.log so we can inspect and see what went wrong?<br>
<br>
Ken<br>
<div class="im"><br>
----- Original Message -----<br>
> From: "John S. Rivas M." <<a href="mailto:jsrivas@gmail.com">jsrivas@gmail.com</a>><br>
> To: <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> Sent: Wednesday, September 25, 2013 4:12:24 PM<br>
> Subject: [mpich-discuss] Building MPICH-3.0.4 to create libmpich.so<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> Greetings to all,<br>
><br>
> I have successfully built mpich-3.0.4 to work with some applications<br>
> that require parallel support. But, I face a problem that I haven't<br>
> been able to solve:<br>
><br>
</div>> I need to setup boost libraries (from <a href="http://boost.org" target="_blank">boost.org</a> ) in my system and an<br>
<div class="im">> error has popped up. The error indicates that, during the attempt to<br>
> setup boost, the library libmpich.a cannot be used when making<br>
> shared objects. It is my understanding that I should use a library<br>
> called libmpich.so (or something similar, that allows the creation<br>
> of shared objects), however such library is not created when I build<br>
> mpich-3.0.4 .<br>
><br>
> Can anybody indicate to me whether I don't get the libmpich.so (or<br>
> similar) because I'm missing something during the building of<br>
> mpich-3.0.4 or because it's simply not created and I need to find<br>
> another flavor of mpi for this? I appreciate any inputs.<br>
><br>
> Some extra info:<br>
> - system: Ubuntu 12.04 (64-bit)<br>
> - compilers used: GNU, including gcc, g++, cc, c++, cpp, f95, and<br>
> gfortran<br>
> - libraries built in /usr/local/lib/: libmpich.a, <a href="http://libmpich.la" target="_blank">libmpich.la</a> ,<br>
</div>> libmpichcxx.a, <a href="http://libmpichcxx.la" target="_blank">libmpichcxx.la</a> , libmpichf90.a, <a href="http://libmpichf90.la" target="_blank">libmpichf90.la</a><br>
<div class="im">> - attempts to run ./configure script with options: <none> and<br>
> --enable-shared=yes. Both produce the same libraries mentioned above<br>
> and not the desired libmpich.so (or similar)<br>
><br>
><br>
> Thanks a lot and best regards.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
><br>
><br>
> JSR<br>
> "Montani Semper Liberi"<br>
><br>
</div>> _______________________________________________<br>
> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><span style="font-family:verdana,sans-serif"><i>JSR<br></i></span></div><font size="1"><span style="font-family:verdana,sans-serif"><i>"Montani Semper Liberi"</i></span></font><br>
</div>
</div>