[petsc-users] Errors in installing PETSc
Kong (Non-US), Fande
fande.kong at inl.gov
Tue Sep 13 12:56:52 CDT 2016
On Tue, Sep 13, 2016 at 11:33 AM, Satish Balay <balay at mcs.anl.gov> wrote:
> 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?
>
>
I think MOOSE works fine with petsc-3.7 as long as you do not use
superlu_dist. The superlu_dist has bugs in the latest petsc-3.7.
Many applications just run fine with the old superlu_dist in the
petsc-3.5.x. For the later version, most of the applications which use
superlu_dist fails.
Fande,
> Satish
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160913/9ec5cefe/attachment.html>
More information about the petsc-users
mailing list