[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KSP/PC choice



Dear Satish

On Tue, 24 Jul 2007, Satish Balay wrote:

Its best to send installation issues involving configure.log to
petsc-maint@xxxxxxxxxxx - and not the list.

Okay; sorry for that.

--with-cc=gcc --with-fc=gfortran --with-shared=0 --download-mumps=1
--with-mpi-include=/home/tim/archives/packages/mpich-1.2.7/include/
--with-mpi-lib=/home/tim/archives/packages/mpich-1.2.7/lib/libmpich.a
--download-scalapack --download-blacs

The MPI [lib] specification is incomplete. It gives the following errors:

/home/tim/archives/packages/petsc-2.3.3-p3/conftest.F:4: undefined reference to `mpi_init_'

What do you have for 'mpicc -show' and 'mpif90 -show'

mpif90 said that there was no f90 compiler configured for MPI. This obviously was the problem, so thank you for that hint. It now compiles perfectly.


But now, the next problem is that I am not able to use MUMPS. As described in the manual, I start my application using

-ksp_type preonly
-pc_type lu
-mat_type aijmumps
-ksp_monitor

and I get

[0]PETSC ERROR: MatLUFactorSymbolic() line 1940 in src/mat/interface/matrix.c
[0]PETSC ERROR: No support for this operation for this object type!
[0]PETSC ERROR: Matrix type mpiaij  symbolic LU!
[0]PETSC ERROR: PCSetUp_LU() line 242 in src/ksp/pc/impls/factor/lu/lu.c
[0]PETSC ERROR: PCSetUp() line 798 in src/ksp/pc/interface/precon.c
[0]PETSC ERROR: KSPSetUp() line 234 in src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: KSPSolve() line 332 in src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: User provided function() line 396 in unknowndirectory/src/numerics/petsc_linear_solver.C

What is wrong?

Best Regards,

Tim

--
Dr. Tim Kroeger                            Phone +49-421-218-7710
tim@xxxxxxxx, tim@xxxxxxxxxxxxxxxxxxx      Fax   +49-421-218-4236

MeVis Research GmbH, Universitaetsallee 29, D-28359 Bremen, Germany

Amtsgericht Bremen HRB 16222
Geschaeftsfuehrer: Prof. Dr. H.-O. Peitgen