[petsc-users] configure with --with-blacs-dir

Alexander Grayver agrayver at gfz-potsdam.de
Tue Nov 29 04:24:31 CST 2011


Got it. I had to use with-blacs-lib and with-blacs-include to explicitly 
specify lib. Sorry for bothering you.

Regards,
Alexander

On 29.11.2011 10:27, Alexander Grayver wrote:
> Hi PETSc team and others,
>
> I am trying to configure PETSc with the following line:
>
> ./configure --with-petsc-arch=openmpi-intel-complex-debug-f-mumps 
> --with-fortran-interfaces=1 --download-mumps --download-parmetis 
> --with-scalapack-dir=/opt/intel/Compiler/11.1/072/mkl/lib/em64t 
> --with-blacs-dir=/opt/intel/Compiler/11.1/072/mkl/lib/em64t 
> --with-mpi-dir=/opt/mpi/intel/openmpi-1.4.2 --with-scalar-type=complex 
> --with-blas-lapack-dir=/opt/intel/Compiler/11.1/072/mkl/lib/em64t 
> --with-precision=double
>
> And it tells me:
>
>  =============================================================================== 
>
>  TESTING: check from 
> config.libraries(config/BuildSystem/config/libraries.py:133)
> ******************************************************************************* 
>
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log 
> for details):
> ------------------------------------------------------------------------------- 
>
> --with-blacs-dir=/opt/intel/Compiler/11.1/072/mkl/lib/em64t did not work
> ******************************************************************************* 
>
>
> And I see in configure.log (full version is attached):
> sh:
> Possible ERROR while running linker: ld: cannot find -lblacs
>  output: ret = 256
> error message = {ld: cannot find -lblacs
> }
>
> Even though in specified directory there are:
>
> libmkl_blacs_ilp64.a
> libmkl_blacs_intelmpi_ilp64.a
> libmkl_blacs_intelmpi_ilp64.so
> libmkl_blacs_intelmpi_lp64.a
> libmkl_blacs_intelmpi_lp64.so
> libmkl_blacs_lp64.a
> libmkl_blacs_openmpi_ilp64.a
> libmkl_blacs_openmpi_lp64.a
> libmkl_blacs_sgimpt_ilp64.a
> libmkl_blacs_sgimpt_lp64.a
>
> So what else do I need?
>
> Thanks in advance.
>
> Regards,
> Alexander
>



More information about the petsc-users mailing list