[petsc-users] strange error during configuration

Matthew Knepley knepley at gmail.com
Sun Nov 6 08:35:37 CST 2016


On Sun, Nov 6, 2016 at 1:03 AM, Michael Povolotskyi <mpovolot at purdue.edu>
wrote:

> Dear Petsc developers,
>
> I'm trying to execute
>
> ./config/configure.py --with-x=0 --with-hdf5 \
> --with-hdf5-include=/usr/include \
> --with-hdf5-lib=/usr/lib/libhdf5.so\
>  --with-scalar-type=real --with-single-library=1\
>   --with-pic=1 --with-shared-libraries=0  --with-log=0 \
>          --with-clanguage=C++ --CXXFLAGS=-fopenmp --with-fortran=1 \
> --with-debugging=0 --with-cc="mpicc" --with-fc="mpif90"
> --with-cxx="mpic++" COPTFLAGS="-O3"   CXXOPTFLAGS="-O3" FOPTFLAGS="-O3"
> --download-metis=1 \
> --download-parmetis=1  --with-valgrind-dir= /usr/include/valgrind \
>         --download-mumps=1 --with-fortran-kernels=0 \
>         --download-superlu_dist=1 \
>         --with-blas-lapack-lib ="-L/opt/intel/mkl/lib/intel64
> -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core " \
>
                                            ^
It looks like you have a space here

   Matt


>  --with-blacs-lib=/opt/intel/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so
> \
> --with-blacs-include=/opt/intel/mkl/include \
> --with-scalapack-lib="-Wl,-rpath,/opt/intel/mkl/lib/intel64
> -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core
> -lpthread  -L/opt/intel/mkl/lib/intel64 -lmkl_scalapack_lp64
> -lmkl_blacs_intelmpi_lp64" \
> --with-scalapack-include=/opt/intel/mkl/include
>
>
> and I get a strange error:
>
>  UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
> ------------------------------------------------------------
> -------------------
> You set a value for --with-blas-lapack-lib=<lib>, but ['1'] cannot be used
>
> The log file is attached.
>
> Please advise.
>
> Thank you,
>
> Michael.
>
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161106/0326e8f8/attachment.html>


More information about the petsc-users mailing list