[petsc-users] Errors in installing PETSc

Satish Balay balay at mcs.anl.gov
Tue Sep 13 12:33:45 CDT 2016


On Tue, 13 Sep 2016, Matthew Knepley wrote:

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

BLACS had been a part of scalapack for a few releases - so thats not the issue.

>>>>>>>>
stderr:
/cm/shared/modulefiles/moose-compilers/petsc/petsc-3.6.4/gcc-opt/lib/libscalapack.a(pssytrd.o): In function `pssytrd':
/tmp/cluster_temp.FFxzAF/petsc-3.6.4/arch-linux2-c-debug/externalpackages/scalapack-2.0.2/SRC/pssytrd.f:259: undefined reference to `blacs_gridinfo__'
/cm/shared/modulefiles/moose-compilers/petsc/petsc-3.6.4/gcc-opt/lib/libscalapack.a(chk1mat.o): In function `chk1mat':
<<<<<<

Double underscore?

>>>
mpicc -c -Df77IsF2C -fPIC -fopenmp -fPIC -g  -I/cm/shared/apps/openmpi/open64/64/1.10.1/include pzrot.c
<<<

scalapack is getting compiled with this flag '-Df77IsF2C'.  This mode
was primarily supported by 'g77' previously - which we hardly ever use
anymore - so this mode is not really tested?

>>>>>
Executing: mpif90 -show
stdout: openf90 -I/cm/shared/apps/openmpi/open64/64/1.10.1/include -pthread -I/cm/shared/apps/openmpi/open64/64/1.10.1/lib64 -L/usr/lib64/ -Wl,-rpath -Wl,/usr/lib64/ -Wl,-rpath -Wl,/cm/shared/apps/openmpi/open64/64/1.10.1/lib64 -Wl,--enable-new-dtags -L/cm/shared/apps/openmpi/open64/64/1.10.1/lib64 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi

            compilers: Fortran appends an extra underscore to names containing underscores
              Defined "HAVE_FORTRAN_UNDERSCORE_UNDERSCORE" to "1"

<<<<

What do you have for:

cd /cm/shared/modulefiles/moose-compilers/petsc/petsc-3.6.4/gcc-opt/lib/
nm -Ao libscalapack.a |grep -i blacs_gridinfo

However - as Matt refered to - its best to use latest petsc-3.7
release. Does MOOSE require 3.6?

Satish



More information about the petsc-users mailing list