[petsc-users] installing petsc with scalapack from mkl

Inge Gutheil i.gutheil at fz-juelich.de
Wed Jul 17 02:47:51 CDT 2013


Hello,
I tried this and got the following error:
================================================================================
TEST configureLibrary from
PETSc.packages.scalapack(/lustre/jhome5/software/mathprod/PETSc/petsc-3.4.2/config/BuildSystem/config/package.py:464)
TESTING: configureLibrary from
PETSc.packages.scalapack(/lustre/jhome5/software/mathprod/PETSc/petsc-3.4.2/config/BuildSystem/config/package.py:464)
   Find an installation and check if it can work with PETSc
=============*******************************************************************************
          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
for details):
-------------------------------------------------------------------------------
You must specify a path for scalapack with --with-scalapack-dir=<directory>
If you do not want scalapack, then give --with-scalapack=0
You might also consider using --download-scalapack instead
*******************************************************************************
   File
"/lustre/jhome5/software/mathprod/PETSc/petsc-3.4.2/config/configure.py", line
293, in petsc_configure
     framework.configure(out = sys.stdout)
   File
"/lustre/jhome5/software/mathprod/PETSc/petsc-3.4.2/config/BuildSystem/config/framework.py",
line 933, in configure
     child.configure()
   File
"/lustre/jhome5/software/mathprod/PETSc/petsc-3.4.2/config/BuildSystem/config/package.py",
line 556, in configure
     self.executeTest(self.configureLibrary)
   File
"/lustre/jhome5/software/mathprod/PETSc/petsc-3.4.2/config/BuildSystem/config/base.py",
line 115, in executeTest
     ret = apply(test, args,kargs)
   File
"/lustre/jhome5/software/mathprod/PETSc/petsc-3.4.2/config/BuildSystem/config/package.py",
line 484, in configureLibrary
     for location, directory, lib, incl in self.generateGuesses():
   File
"/lustre/jhome5/software/mathprod/PETSc/petsc-3.4.2/config/BuildSystem/config/package.py",
line 314, in generateGuesses
     raise RuntimeError('You must specify a path for '+self.name+' with
--with-'+self.package+'-dir=<directory>\nIf you do not want
'+self.name+', then give --with-'+self.package+'=0\nYou might also
consider using --download-'+self.package+' instead')
=====================================================================
See the attached complete configure.log
This is on an intel cluster with intel compiler.
Thanks
Inge Gutheil

On 07/16/13 17:27, Satish Balay wrote:
> Try:
>
> --with-scalapack-lib="-L/opt/intel/mkl//lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64"
>
>
> BLACS is now part of scalapack-2 [which petsc-3.4 uses] - but mkl has blas/scalapack split.
> So you would have to specify both libs with the --with-scalapack-lib option.
>
> Satish
>
> On Tue, 16 Jul 2013, Michael Povolotskyi wrote:
>
>> Dear Petsc developers and users,
>> I'm trying to configure petsc with scalapack from mkl library.
>>
>>  From the configure.log (see attached) it seems that when PETSc checks for the
>> scalapack functionality it does not link blacs.
>> Please advise.
>> Thank you,
>> Michael.
>>
>>


--
--

Inge Gutheil
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

       Phone:   +49-2461-61-3135
       Fax:     +49-2461-61-6656
       E-mail:i.gutheil at fz-juelich.de



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Das Forschungszentrum oeffnet seine Tueren am Sonntag, 29. September, von 10:00 bis 17:00 Uhr: http://www.tagderneugier.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log.gz
Type: application/x-gzip
Size: 524555 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130717/9dd5a8e7/attachment-0001.bin>


More information about the petsc-users mailing list