<div>Hello,</div>
<div> </div>
<div>I am trying to install PETSc on one of the workstations in my university. I use the following commands for configuration:</div>
<div>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div><font size="2">
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p>config/configure.py \</p>
<p>--with-cc=mpicc \</p>
<p>--with-fc=mpif90 \</p>
<p>--with-mpi-dir=/opt/hpmpi/lib/linux_amd64/ \</p>
<p>--with-mpi-shared=yes \</p>
<p>LIBS=-lpgf90rtl \</p>
<p>--with-debugging=yes \</p>
<p>--with-superlu=yes \</p>
<p>--with-superlu-dir=/usr/apps/src/superlu/SuperLU_3.0 \</p>
<p>--download-superlu=no \</p>
<p>--with-superlu_dist=yes \</p>
<p>--with-superlu_dist-dir=/usr/apps/src/superlu/SuperLU_DIST_2.0 \</p>
<p>--download-superlu_dist=no \</p>
<p>--with-batch</p></blockquote></blockquote>
<p></p></blockquote></font>After this I got a message saying that:
<p>Since your compute nodes require use of a batch system or mpirun you must: </p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">1) Submit ./conftest to 1 processor of your batch system or system you are</span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"> cross-compiling for; this will generate the file reconfigure</span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"> 2) Run "python reconfigure" (to complete the configure process).</span></font></p></blockquote>
<p class="MsoPlainText"></p></span></font>So I tyoed:
<p class="MsoPlainText">mpirun -np 1 conftest</p>
<p class="MsoPlainText">and got the following error message:</p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">*************************************************************</span></font></p>
<p class="MsoPlainText"><b><i><font face="Courier New" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic">mpid: MPI BUG: execvp failed: Cannot execute conftest: No such file or directory</span>
</font></i></b></p>
<p class="MsoPlainText"><b><i><font face="Courier New" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic">MPI Application rank 0 exited before MPI_Init() with status 1</span></font></i></b></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">**************************************************************<span id=""></span></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">I found that there is only conftest.o !<span id=""></span></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">Can anybody help me?<span id=""></span></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt">Thanks a lot.</span></font></p>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"><span id=""></span></span></font> </p>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"><span id=""></span></span></font> </p>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p class="MsoPlainText"><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"><span id=""></span></span></font></p></blockquote></blockquote></blockquote></blockquote></span></font>
<p class="MsoPlainText"><br clear="all"><br>-- <br>Yours truly,<br><br>Bin Xu </p></div>