<div dir="ltr">OK I see. I will try the download option. Thanks !</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 12:29 AM, 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">>>>>>>>.<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `_intel_fast_memcpy'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `for_cpystr'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `for_concat'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__powr8i4'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__svml_cosf4'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__svml_roundf4'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__svml_cos2'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `_intel_fast_memset'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__powr4i4'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__libm_sse2_sincos'<br>
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__svml_logf4'<br>
<<<<<<<<<<<br>
<br>
Looks like this goto blas is built with intel compilers - so it won't<br>
work with gnu compilers.<br>
<br>
[unless you know the intel compiler libraries that are required - and<br>
link them in aswell]<br>
<br>
Or use --download-f-blas-lapack instead.<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, 26 Apr 2013, Kainan Wang wrote:<br>
<br>
> I just tried with the --with-blas-lapack-lib option and it is the same: it<br>
> works for intel compilers but not for gcc. When having the intel compiler,<br>
> the configure summary has the following line:<br>
><br>
> BLAS/LAPACK: -Wl,-rpath,/opt/apps/gotoblas/1.30 -L/opt/apps/gotoblas/1.30<br>
> -lgoto_lp64<br>
><br>
> while configuring with gcc compiler it gives error.<br>
><br>
> Please see attachment for the configure.log when using gcc to configure.<br>
><br>
> Kainan<br>
><br>
><br>
> On Thu, Apr 25, 2013 at 11:17 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
><br>
> > 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>
> > > gcc/4.4.5.I manually load the module of gotoblas (v1.30) and specify<br>
> > > 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>
> > -------------------------------------------------------------------------------<br>
> > > You set a value for --with-blas-lapack-dir=<dir>, but<br>
> > > /opt/apps/gotoblas/1.30 cannot be used<br>
> > ><br>
> > *******************************************************************************<br>
> ><br>
> > 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>
> ><br>
> > ><br>
> > > However, if I change the compiler to intel (v11.1) the same configure can<br>
> > > work and installation is smooth.<br>
> ><br>
> > perhaps configure found a different blas. you can check the summary it<br>
> > printed.<br>
> ><br>
> > If you still have trouble - send configure.log. Without that - we won't<br>
> > know what issues you are encountering.<br>
> ><br>
> > Satish<br>
> ><br>
><br>
><br>
><br>
><br>
<br>
</div></div></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>