<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">yes I also observed that. But still when I link petsc to a simple hello world example, I can see that the binary requires libmpi_f77 and libmpi_f90.<div>Can you please compile the following snippet with mpicc and link it with petsc library, do a ldd on the binary and see if it asks for these 2 libraries or not?</div><div><br></div><div>#include "stdio.h"</div><div>int main()</div><div>{</div><div>printf("hello world\n");</div><div>return 0</div><div>}</div><div><br></div><div>best,</div><div>Suraj</div><div><br></div><div><br><div><br></div><div><br><div><div>On Sep 17, 2013, at 6:25 PM, Satish Balay wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I just attempted a build with openmpi 1.7  and 'make test' ran fine with it.<br><br>Satish<br><br>-------<br><br>./configure --download-openmpi=http://www.open-mpi.org/software/ompi/v1.7/downloads/openmpi-1.7.2.tar.gz<br>make all<br>make test<br><br><br>On Tue, 17 Sep 2013, Satish Balay wrote:<br><br><blockquote type="cite">On Tue, 17 Sep 2013, Suraj Prabhakaran wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Hello,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I am trying to compile petsc with openmpi 1.7 version. I can compile and install petsc successfully. but my application doesn't run <br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Do PETSc examples run?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What do you get for 'make test'?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">If it doesn't work - send us the corresponding logs.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Satish<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">since petsc is not able to find the libmpi_f77.so.1 and libmpi_f90.so.1.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The problem is, in openmpi 1.7 version, these fotran libraries are completely replaced with libmpi_mpifh.so<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">When I configure petsc with this mpi (I specifiy --with-mpi-dir option), I can see from the output that petsc only uses the libmpi_mpifh library rather than the other two. But still, when petsc is linked with my application, the binary ends up looking for libmpi_f90 and libmpi_f77, along with the correct libmpi_mpifh.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To really be sure, I also used a hello world program and linked it with all libraries to see which one really asks for libmpi_f90 and libmpi_f77 and it was for sure libpetsc.so.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Has anyone tried to compile and use petsc with openmpi 1.7 series? <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Is there anything special I have to do for this case?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Best,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Suraj<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Suraj Prabhakaran<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">German Research School for<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Simulation Sciences GmbH<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Laboratory for Parallel Progreamming<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">52062 Aachen | Germany<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Tel    <span class="Apple-tab-span" style="white-space:pre">     </span>+49 241 80 99743<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Fax   <span class="Apple-tab-span" style="white-space:pre">    </span>+49 241 80 92742<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">EMail <span class="Apple-tab-span" style="white-space:pre">      </span><a href="mailto:s.prabhakaran@grs-sim.de">s.prabhakaran@grs-sim.de</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Web  <span class="Apple-tab-span" style="white-space:pre">      </span><a href="http://www.grs-sim.de">www.grs-sim.de</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Members:  Forschungszentrum Jülich GmbH | RWTH Aachen University<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Registered in the commercial register of the local court of Düren (Amtsgericht Düren) under registration number HRB 5268<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Registered office:  Jülich<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Executive board:  Prof. Marek Behr Ph.D. | Prof. Dr. Sebastian M. Schmidt<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--------------------------<br>Suraj Prabhakaran<br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br>German Research School for<br>Simulation Sciences GmbH<br>Laboratory for Parallel Progreamming<br>52062 Aachen | Germany<br><br>Tel    <span class="Apple-tab-span" style="white-space: pre; ">        </span>+49 241 80 99743<br>Fax  <span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre; ">      </span>+49 241 80 92742</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">EMail <span class="Apple-tab-span" style="white-space: pre; ">    </span><a href="mailto:s.prabhakaran@grs-sim.de">s.prabhakaran@grs-sim.de</a></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Web  <span class="Apple-tab-span" style="white-space: pre; "> </span><a href="http://www.grs-sim.de">www.grs-sim.de</a><br><br>Members:  Forschungszentrum Jülich GmbH | RWTH Aachen University<br>Registered in the commercial register of the local court of Düren (Amtsgericht Düren) under registration number HRB 5268<br>Registered office:  Jülich<br>Executive board:  Prof. Marek Behr Ph.D. | Prof. Dr. Sebastian M. Schmidt</div></span></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br></div></div></body></html>