[petsc-users] installing petsc with scalapack from mkl

Inge Gutheil i.gutheil at fz-juelich.de
Thu Jul 18 09:07:21 CDT 2013


The configure finally worked when I added
'--with-scalapack-include=/usr/local/intel/Composer/composer_xe_2011_sp1.10.319/mkl/include',
There is an mkl_scalapck.h
in that directory.
It did not work with MKLPATH and with empty path I got a python error, 
perhaps I added a blank where I should not have done, I don't know how 
to use python correctly.
Unfortunately I can't find out whether it compiles and runs because the 
compiler is in maintenance on the test-cluster where I have to try the 
installations.
Thanks
Inge Gutheil

On 07/17/13 13:06, Matthew Knepley wrote:
> On Wed, Jul 17, 2013 at 2:47 AM, Inge Gutheil <i.gutheil at fz-juelich.de 
> <mailto:i.gutheil at fz-juelich.de>> wrote:
>
>     Hello,
>     I tried this and got the following error:
>
>
> 1) Please do not send logs to petsc-users, send them to 
> petsc-maint at mcs.anl.gov <mailto:petsc-maint at mcs.anl.gov>
>
> 2) The logic is wrong here. We are requiring you to also specify an 
> empty --with-scalapack-include=[],
>      which you should not have to. Please confirm that this works.
>
> We will put a fix in the next patch update.
>
>   Thanks,
>
>      Matt
>
>     ================================================================================
>     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
>     <http://self.name>+' with
>     --with-'+self.package+'-dir=<directory>\nIf you do not want
>     '+self.name <http://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 <tel:%2B49-2461-61-3135>
>           Fax: +49-2461-61-6656 <tel:%2B49-2461-61-6656>
>     E-mail:i.gutheil at fz-juelich.de
>     <mailto:E-mail%3Ai.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
>
>
>
>
> -- 
> What most experimenters take for granted before they begin their 
> experiments is infinitely more interesting than any results to which 
> their experiments lead.
> -- Norbert Wiener


-- 
--

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



More information about the petsc-users mailing list