> On 14 Mar 2016, at 17:22, Satish Balay <[email protected]> wrote: > > I do not know why this is hapenning. I just tried to reproduce - but it ran > fine for me. > > balay@es^/scratch/balay/petsc(master=) $ ./configure --with-cc=mpicc.openmpi > --with-cxx=mpicxx.openmpi --with-fc=mpif90.openmpi > --with-blas-lapack-dir=$MKL_HOME --with-scalapack-include=$MKL_HOME/include > --with-scalapack-lib="-L$MKL_HOME/lib/intel64 -lmkl_scalapack_lp64 > -lmkl_blacs_openmpi_lp64" > > > Is this issue reproduceable if you just configure with scalapack [as above?] > - and not any other package?
I tried with the same simple setup, but no luck. In Ubuntu OpenMPI is 1.6.5. > > What if you try using --download-openmpi - instead of ubuntu openmpi? did that, 1.8.5 was fetched. But this did not change the result. Very strange... > > Sorry - I don't have a good answer for this issue.. Could this be related to the usage of GNU compilers? But since MUMPS linked and tests run, i don’t see how this is possible. Regards, Denis. > > Satish > > > On Mon, 14 Mar 2016, Denis Davydov wrote: > >> Hi Satish, >> >> Please find the log attached. >> >> >> Kind regards, >> Denis >> >>> On 14 Mar 2016, at 16:59, Satish Balay <[email protected]> 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 >>>> >>>> >> >> >>
