[petsc-users] a config problem

Satish Balay balay at mcs.anl.gov
Fri Apr 26 00:29:28 CDT 2013


>>>>>>>.
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `_intel_fast_memcpy'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `for_cpystr'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `for_concat'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__powr8i4'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__svml_cosf4'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__svml_roundf4'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__svml_cos2'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `_intel_fast_memset'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__powr4i4'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__libm_sse2_sincos'
/opt/apps/gotoblas/1.30/libgoto_lp64.so: undefined reference to `__svml_logf4'
<<<<<<<<<<

Looks like this goto blas is built with intel compilers - so it won't
work with gnu compilers.

[unless you know the intel compiler libraries that are required - and
link them in aswell]

Or use --download-f-blas-lapack  instead.

Satish

On Fri, 26 Apr 2013, Kainan Wang wrote:

> I just tried with the --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:
> 
> BLAS/LAPACK: -Wl,-rpath,/opt/apps/gotoblas/1.30 -L/opt/apps/gotoblas/1.30
> -lgoto_lp64
> 
> while configuring with gcc compiler it gives error.
> 
> Please see attachment for the configure.log when using gcc to configure.
> 
> Kainan
> 
> 
> On Thu, Apr 25, 2013 at 11:17 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > On Thu, 25 Apr 2013, Kainan Wang wrote:
> >
> > > Hello,
> > >
> > >   I tried to install petsc 3.3-p6 on a cluster with gcc/4.4.3 or
> > > gcc/4.4.5.I manually load the module of gotoblas (v1.30) and specify
> > > in the petsc
> > > configure command as
> > >
> > > ./configure --with-blas-lapack-dir=/opt/apps/gotoblas/1.30
> > >
> > > and I got the following error:
> > >
> > -------------------------------------------------------------------------------
> > > You set a value for --with-blas-lapack-dir=<dir>, but
> > > /opt/apps/gotoblas/1.30 cannot be used
> > >
> > *******************************************************************************
> >
> > configure doesn't know enought about goto blas. Try using
> > --with-blas-lapack-lib option and specify the exact link command that
> > should be useable with gotoblas.
> >
> > >
> > > However, if I change the compiler to intel (v11.1) the same configure can
> > > work and installation is smooth.
> >
> > perhaps configure found a different blas. you can check the summary it
> > printed.
> >
> > If you still have trouble - send configure.log. Without that - we won't
> > know what issues you are encountering.
> >
> > Satish
> >
> 
> 
> 
> 



More information about the petsc-users mailing list