[petsc-users] build with Scalapack/Blacs from MKL (failed to compile a test)
Denis Davydov
davydden at gmail.com
Mon Mar 14 11:03:25 CDT 2016
Hi Satish,
Please find the log attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log.zip
Type: application/zip
Size: 242459 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160314/02ce1edd/attachment-0001.zip>
-------------- next part --------------
Kind regards,
Denis
> On 14 Mar 2016, at 16:59, Satish Balay <balay at mcs.anl.gov> wrote:
>
> please send corresponding configure.log
>
> Satish
>
> On Mon, 14 Mar 2016, Denis Davydov wrote:
>
>> Dear all,
>>
>> What is the correct way to build PETSc with Scalapack/Blacs from MKL?
>> I tried:
>>
>> ?with-scalapack-lib=/path/to/mkl/lib/intel64/libmkl_scalapack_lp64.so /path/to/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so
>> ?with-scalapack-include=/path/to/mkl/include
>>
>> but PETSc config fails to compile a test program and gives a lot of
>> ?undefined reference to ?ompi_mpi_real?, ?MPI_Allgather?, ?MPI_Cart_create?? etc from libmkl_blacs_openmpi_lp64.so.
>> Strangely enough I do see ?-lmpi_f90 -lmpi_f77 -lmpi? in the compiler line, so i don?t know why these symbols are missing.
>> Also MPI wrapper is used (/usr/bin/mpicc).
>>
>> I already built MUMPS without a problem and even tests run ok, so I am quite puzzled whether it?s something related to PETSc or MKL.
>>
>> p.s. I use OpenMPI provided by Ubuntu.
>>
>> Kind regards,
>> Denis
>>
>>
More information about the petsc-users
mailing list