[petsc-users] configure failed on MPI and Intel Compiler environment

Takuya Sekikawa sekikawa at msi.co.jp
Wed Apr 7 19:19:29 CDT 2010


Thanks for everyone.

I sent configure.log to petsc-maint at mcs.anl.gov.

It is best if I can use MKL on MPI-enabled environment,
but for now, I don't need lapack (because I solve my problem with
KRYLOV-SCHUR).
so it is enough if I can build petsc without lapack.
(of course if KRYLOV-SCHUR method is independent with lapack)

Takuya.

On Wed, 7 Apr 2010 18:11:49 -0500 (CDT)
Satish Balay <balay at mcs.anl.gov> wrote:

> petsc-3.0 [with latest patches] configure should be able to handle
> MLK-10. Don't remember MLK-11.
> 
> > > without MPI (--with-mpi=0), this configure succeeded with no problem.
> 
> Claims MLK-10 was detected properly without mpi. This is weird - but
> again configure.log for both builds will clarify the issue.
> 
> 
> Satish
> 
> On Thu, 8 Apr 2010, NovA wrote:
> 
> > Hi!
> > 
> > I'm not a PETSc developer but have some thoughts about the issue...
> > 
> > I've got similar errors trying to build with MKL-10 on Windows. Intel
> > MKL v10+ has very different libraries layout as against previous
> > versions (see users manual). It seems that PETSc configure script
> > can't deal with this new layout yet. So you need to specify exact
> > blas-lapack library file names manually via "--with-blas-lapack-lib"
> > option. The value
> > --with-blas-lapack-lib=["${MKL_DIR}/libmkl_intel_lp64.a",
> > "${MKL_DIR}/libmkl_sequential.a", "${MKL_DIR}/libmkl_core.a"] worked
> > for me.
> > 
> > Regards,
> >   Andrey
> > 
> > 
> > 2010/4/7 Takuya Sekikawa <sekikawa at msi.co.jp>:
> > > Dear Petsc developpers,
> > >
> > > I tried to configure PETSc (ver 3.0)
> > > on Linux (64bit), MPI-enabled, Intel Compiler (icc/icpc) environment,
> > > but it failed.
> > >
> > > ./config/configure.py --with-mpi=1 --with-mpi-dir=/opt/home/sekikawa/bin-personal/mpich2 \
> > > --with-x=0 --with-fc=0 --with-debugging=0 --with-blas-lapack-dir=${MKL_DIR}
> > >
> > > =================================================================================
> > > ツ  ツ  ツ  ツ  ツ  ツ  Configuring PETSc to compile on your system
> > > =================================================================================
> > > =================================================================================
> > > ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ WARNING! Compiling PETSc with no debugging, this should
> > > ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ only be done for timing and production runs. All development should
> > > ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ be done when configured using --with-debugging=1
> > > =================================================================================
> > > TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasL*********************************************************************************
> > > ツ  ツ  ツ  ツ  UNABLE to CONFIGURE with GIVEN OPTIONS ツ  ツ (see configure.log for details):
> > > ---------------------------------------------------------------------------------------
> > > You set a value for --with-blas-lapack-dir=<dir>, but /opt/intel/mkl/10.0.010/lib/em64t cannot be used
> > > *********************************************************************************
> > >
> > > MKL_DIR is set to intel mkl library.
> > > without MPI (--with-mpi=0), this configure succeeded with no problem.
> > > and MPICH2 is successfully compiled and running with Intel compiler.
> > >
> > > I would very much like for any suggestion.
> > > Thanks in advance.
> > >
> > > Takuya
> > > ---------------------------------------------------------------
> > > ツ  Takuya Sekikawa
> > > ツ  ツ  ツ  ツ  Mathematical Systems, Inc
> > > ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ  ツ sekikawa at msi.co.jp
> > > ---------------------------------------------------------------
> > >
> > >
> > >
> > 

---------------------------------------------------------------
   ●   Takuya Sekikawa
 ●○●        Mathematical Systems, Inc
   ●                 sekikawa at msi.co.jp
---------------------------------------------------------------




More information about the petsc-users mailing list