<div dir="ltr">I just tried with the <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">--with-blas-lapack-lib option and it is the same: it works for intel compilers but not for gcc. When having the intel compiler, the configure summary has the following line:</span><div>
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font color="#500050" face="arial, sans-serif">BLAS/LAPACK: -Wl,-rpath,/opt/apps/gotoblas/1.30 -L/opt/apps/gotoblas/1.30 -lgoto_lp64</font><br>
</div><div><font color="#500050" face="arial, sans-serif"><br></font></div><div style><font color="#500050" face="arial, sans-serif">while configuring with gcc compiler it gives error.</font></div><div style><font color="#500050" face="arial, sans-serif"><br>
</font></div><div style><font color="#500050" face="arial, sans-serif">Please see attachment for the configure.log when using gcc to configure.</font></div><div style><font color="#500050" face="arial, sans-serif"><br></font></div>
<div style><font color="#500050" face="arial, sans-serif">Kainan</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 11:17 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@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"><div class="im">On Thu, 25 Apr 2013, Kainan Wang wrote:<br>
<br>
> Hello,<br>
><br>
> I tried to install petsc 3.3-p6 on a cluster with gcc/4.4.3 or<br>
</div>> gcc/4.4.5.I manually load the module of gotoblas (v1.30) and specify<br>
<div class="im">> in the petsc<br>
> configure command as<br>
><br>
> ./configure --with-blas-lapack-dir=/opt/apps/gotoblas/1.30<br>
><br>
> and I got the following error:<br>
> -------------------------------------------------------------------------------<br>
> You set a value for --with-blas-lapack-dir=<dir>, but<br>
> /opt/apps/gotoblas/1.30 cannot be used<br>
> *******************************************************************************<br>
<br>
</div>configure doesn't know enought about goto blas. Try using<br>
--with-blas-lapack-lib option and specify the exact link command that<br>
should be useable with gotoblas.<br>
<div class="im"><br>
><br>
> However, if I change the compiler to intel (v11.1) the same configure can<br>
> work and installation is smooth.<br>
<br>
</div>perhaps configure found a different blas. you can check the summary it printed.<br>
<br>
If you still have trouble - send configure.log. Without that - we won't<br>
know what issues you are encountering.<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Kainan Wang</div><div><a href="http://www.math.tamu.edu/~kwang" target="_blank">www.math.tamu.edu/~kwang</a></div><div>Texas A&M University<br>
---------------<br>Wish U happiness EveRyday !!!</div>
</div>