<br><br>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Thanks, it works. But when I try to configure PETSc with --with-shared options,</div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span class="q">config/configure.py \<br>&nbsp; --with-cc=mpicc \<br>&nbsp; --with-fc=mpif90 \<br>&nbsp; --with-mpi-dir=/opt/hpmpi/lib/linux_amd64/ \<br>&nbsp; --with-mpi-shared=yes \<br>&nbsp; LIBS=-lpgf90rtl \<br>&nbsp; --with-debugging=yes \<br>
</span>&nbsp; --download-superlu=no \ <br>&nbsp; --download-superlu_dist=no \<br>&nbsp; --with-shared</div></blockquote>&nbsp;I got the following errors:</div>
<div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">*********************************************************************************&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNABLE to CONFIGURE with GIVEN OPTIONS&nbsp;&nbsp;&nbsp; (see configure.log for details):<br>---------------------------------------------------------------------------------------<br>C compiler you provided with -with-cc=mpicc does not work 
<br>*********************************************************************************</blockquote></div>
<div>Do you know why?&nbsp;</div>
<div>Thank you.<br>&nbsp;</div>
<div><span class="q"><span class="gmail_quote">On 3/14/07, <b class="gmail_sendername">Shaman Mahmoudi</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:shma7099@student.uu.se" target="_blank">
shma7099@student.uu.se</a>&gt; wrote:</span> </span>
<div><span class="e" id="q_11151a443588c691_4">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">Hi, 
<div><br>&nbsp;</div>
<div>try&nbsp;mpirun -np 1 ./conftest</div>
<div><br>&nbsp;</div>
<div>With best regards, Shaman Mahmoudi</div>
<div><br>
<div>
<div>On Mar 14, 2007, at 6:56 AM, Bin wrote:</div><br>
<blockquote type="cite"><span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px">
mpirun -np 1 conftest</span></blockquote></div><br>&nbsp;</div></div></blockquote></span></div></div><span class="sg"><br><br clear="all"><br>-- <br>Yours truly,<br><br>Bin Xu </span><br clear="all"></blockquote></div><br><br clear="all">
<br>-- <br>Yours truly,<br><br>Bin Xu