[petsc-users] PETSc 3.2 gmres error

Tabrez Ali stali at geology.wisc.edu
Sat Sep 10 06:09:24 CDT 2011


Hello

I am running an application using PETSc 3.2 RC on a poor mans cluster at 
my home (for testing only) which has two nodes running different 
versions of Debian (they also have different versions of gcc/gfortran) 
but have the same MPICH2 1.4 and PETSc 3.2 installed on them.

Also they do not share the same file system but I make sure that input 
file/executable paths are exactly same on both machines. After compiling 
the code separately on the two nodes I launch the parallel program from 
node 1 using mpiexec -f hosts -n 2 .... (hydra process manager).

With PETSc 3.1 the application runs fine, both with CG and GMRES and 
correct output is generated on both nodes.

With PETSc 3.2 the application runs fine with CG.

But whenever I use GMRES in 3.2 I get an error (listed below) during 
KSPSolve.

Now admittedly my setup is inconsistent but is there some other obvious 
reason why the error occurs only with GMRES in 3.2.

Thanks in advance.

Tabrez

[0]PETSC ERROR: --------------------- Error Message 
------------------------------------
[0]PETSC ERROR: Invalid argument!
[0]PETSC ERROR: Scalar value must be same on all processes, argument # 3!
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Development HG revision: 
a8941623c0b6225ff3688949b01271e9ae85a545  HG Date: Fri Sep 09 19:37:41 
2011 -0500
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: ./defmod on a arch-linu named i5 by stali Sat Sep 10 
05:32:52 2011
[0]PETSC ERROR: Libraries linked from /opt/petsc-3.2/lib
[0]PETSC ERROR: Configure run at Sat Sep 10 04:34:28 2011
[0]PETSC ERROR: Configure options --prefix=/opt/petsc-3.2 
--with-mpi-dir=/opt/mpich2-gcc --with-parmetis=1 --download-parmetis=1 
--with-shared-libraries
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: VecMAXPY() line 1190 in src/vec/vec/interface/rvector.c
[0]PETSC ERROR: BuildGmresSoln() line 345 in src/ksp/ksp/impls/gmres/gmres.c
[0]PETSC ERROR: GMREScycle() line 206 in src/ksp/ksp/impls/gmres/gmres.c
[0]PETSC ERROR: KSPSolve_GMRES() line 231 in src/ksp/ksp/impls/gmres/gmres.c
[0]PETSC ERROR: KSPSolve() line 423 in src/ksp/ksp/interface/itfunc.c


More information about the petsc-users mailing list