Problem in Using PETSc examples

Jeff Hammond jeff.science at gmail.com
Sun Sep 16 11:29:39 CDT 2007


Try this instead:

> mpiexec ./ex1

It works for me:

------------------------------------------------------------------------------------------------
> mpiexec ex1
problem with execution of ex1  on  davidson:  [Errno 2] No such file
or directory
> mpiexec ./ex1
> mpiexec ex10
problem with execution of ex10  on  davidson:  [Errno 2] No such file
or directory
> mpiexec ./ex10
m = 1, N=81
Matrix Object:
  type=seqbaij, rows=36, cols=36
  total: nonzeros=1200, allocated nonzeros=1200
      block size is 1
matrix 1 norm = 34.0627
Norm of error < 1.e-12, Number of iterations 9
------------------------------------------------------------------------------------------------

Best,

Jeff




More information about the petsc-users mailing list