<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 13, 2016 at 11:33 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Tue, 13 Sep 2016, Matthew Knepley wrote:<br>
<br>
> I believe your problem is that this is old PETSc. In the latest release,<br>
> BLACS is part of SCALAPACK.<br>
<br>
</span>BLACS had been a part of scalapack for a few releases - so thats not the issue.<br>
<br>
>>>>>>>><br>
stderr:<br>
/cm/shared/modulefiles/moose-<wbr>compilers/petsc/petsc-3.6.4/<wbr>gcc-opt/lib/libscalapack.a(<wbr>pssytrd.o): In function `pssytrd':<br>
/tmp/cluster_temp.FFxzAF/<wbr>petsc-3.6.4/arch-linux2-c-<wbr>debug/externalpackages/<wbr>scalapack-2.0.2/SRC/pssytrd.f:<wbr>259: undefined reference to `blacs_gridinfo__'<br>
/cm/shared/modulefiles/moose-<wbr>compilers/petsc/petsc-3.6.4/<wbr>gcc-opt/lib/libscalapack.a(<wbr>chk1mat.o): In function `chk1mat':<br>
<<<<<<<br>
<br>
Double underscore?<br>
<br>
>>><br>
mpicc -c -Df77IsF2C -fPIC -fopenmp -fPIC -g -I/cm/shared/apps/openmpi/<wbr>open64/64/1.10.1/include pzrot.c<br>
<<<<br>
<br>
scalapack is getting compiled with this flag '-Df77IsF2C'. This mode<br>
was primarily supported by 'g77' previously - which we hardly ever use<br>
anymore - so this mode is not really tested?<br>
<br>
>>>>><br>
Executing: mpif90 -show<br>
stdout: openf90 -I/cm/shared/apps/openmpi/<wbr>open64/64/1.10.1/include -pthread -I/cm/shared/apps/openmpi/<wbr>open64/64/1.10.1/lib64 -L/usr/lib64/ -Wl,-rpath -Wl,/usr/lib64/ -Wl,-rpath -Wl,/cm/shared/apps/openmpi/<wbr>open64/64/1.10.1/lib64 -Wl,--enable-new-dtags -L/cm/shared/apps/openmpi/<wbr>open64/64/1.10.1/lib64 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi<br>
<br>
compilers: Fortran appends an extra underscore to names containing underscores<br>
Defined "HAVE_FORTRAN_UNDERSCORE_<wbr>UNDERSCORE" to "1"<br>
<br>
<<<<<br>
<br>
What do you have for:<br>
<br>
cd /cm/shared/modulefiles/moose-<wbr>compilers/petsc/petsc-3.6.4/<wbr>gcc-opt/lib/<br>
nm -Ao libscalapack.a |grep -i blacs_gridinfo<br>
<br>
However - as Matt refered to - its best to use latest petsc-3.7<br>
release. Does MOOSE require 3.6?<br>
<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>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. <br><br></div><div>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.<br><br><br></div><div>Fande,<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888">
Satish<br>
<br>
</font></span></blockquote></div><br></div></div>