[petsc-users] Errors in installing PETSc

Matthew Knepley knepley at gmail.com
Tue Sep 13 12:16:51 CDT 2016


On Tue, Sep 13, 2016 at 11:25 AM, Jason Hou <jason.hou at ncsu.edu> wrote:

> Hi there,
>
> I was trying to install MOOSE, which uses PETSc as the solver; however, I
> was stuck during the installation of PETSc.
>

I believe your problem is that this is old PETSc. In the latest release,
BLACS is part of SCALAPACK.

  Thanks,

     Matt


> [jhou8 at rdfmg petsc-3.6.4]$ pwd
> /tmp/cluster_temp.FFxzAF/petsc-3.6.4
> [jhou8 at rdfmg petsc-3.6.4]$ ./configure --prefix=$PETSC_DIR
> --download-hypre=1 --with-ssl=0 --with-debugging=1 --with-pic=1
> --with-shared-libraries=1 --with-cc=mpicc --with-cxx=mpicxx
> --with-fc=mpif90 --download-fblaslapack=1 --download-metis=1
> --download-parmetis=1 --download-superlu_dist=1 --download-scalapack=1
> --download-mumps=1 CC=mpicc CXX=mpicxx FC=mpif90 F77=mpif77 F90=mpif90
> CFLAGS='-fPIC -fopenmp' CXXFLAGS='-fPIC -fopenmp' FFLAGS='-fPIC -fopenmp'
> FCFLAGS='-fPIC -fopenmp' F90FLAGS='-fPIC -fopenmp' F77FLAGS='-fPIC
> -fopenmp' PETSC_DIR=`pwd`
>
> (sections removed)
>
> ===============================================================================
>
>                 Compiling and installing Scalapack; this may take several
> minutes
>                       ==============================
> =================================================
>                                                               TESTING:
> check from config.libraries(config/BuildSystem/config/libraries.py:146)
>
>     ************************************************************
> *******************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
> ------------------------------------------------------------
> -------------------
> Downloaded scalapack could not be used. Please check install in
> /cm/shared/modulefiles/moose-compilers/petsc/petsc-3.6.4/gcc-opt
> ************************************************************
> *******************
>
>
> Also attached is the configure.log file and I hope you could help me with
> that. Thank you in advance for your effort.
>
> Jason
>
>


-- 
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/20160913/76573ac8/attachment.html>


More information about the petsc-users mailing list