[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Shri
> mpiexec -n 2 ./ex35 -X 202 -Y 102 -Z 102 -log_summary > > MatAssemblyBegin 8 1.0 3.4185e-01 4.1 0.00e+00 0.0 0.0e+00 0.0e+00 > 1.2e+01 2 0 0 0 9 2 0 0 0 15 0 > MatAssemblyEnd 8 1.0 8.8343e-01 1.0 0.00e+00 0.0 2.0e+01 2.9e+04 > 3.6e+01 9 0 38 0 26 9 0 38 0

[petsc-dev] PETSC_TRUE and PETSC_TRUTH

2010-09-02 Thread Kai Germaschewski
scIndexType in those places where you need to, rather than a blanket: all ints are now 64bit -- Kai Germaschewski Assistant Professor, Dept of Physics / Space Science Center University of New Hampshire, Durham, NH 03824 office: Morse Hall 245E phone: +1-603-862-2912 fax: +1-603-862-2771 -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/4a7ea16b/attachment.html>

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Barry Smith
You could also use shark on the Mac to profile. Do man shark gprof is probably unhappy because your code is built with 64 bit arch and gprof only supports 32 bit version or the other way around. Barry On Sep 2, 2010, at 5:27 PM, Jed Brown wrote: > On Thu, 2 Sep 2010 15:59:15 -0600 (GM

[petsc-dev] [fortran] DAVecGetArrayF90 error

2010-09-02 Thread Jed Brown
On Thu, 2 Sep 2010 17:37:04 +0200, Leo van Kampenhout wrote: > Hi all, > > since a few days I'm getting these errors during runtime (did not have it > before! ) > > [0]PETSC ERROR: src/dm/da/src/f90-custom/zda1f90.c:109: > __FUNCT__="VecRestoreArrayPrivate3" does not agree with > __func__="davec

[petsc-dev] PETSC_TRUE and PETSC_TRUTH

2010-09-02 Thread Barry Smith
the only viable solution. But I'd > say it'd be much clearer to use PetscIndexType in those places where you need > to, rather than a blanket: all ints are now 64bit It is pretty much everywhere you would need to put PetscIndexType and that is too cumbersome to use. Barry

[petsc-dev] [fortran] DAVecGetArrayF90 error

2010-09-02 Thread Leo van Kampenhout
) call DAVecGetArrayF90(da,d,div3d,ierr) Leo -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/df56a84b/attachment.html>

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Leo van Kampenhout
- >> >> > >> > [0]PETSC ERROR: ./main on a arch-linu named wingtip72 by csg4035 Wed >> Sep 1 15:52:11 2010 >> [0]PETSC ERROR: Libraries linked from >> /net/users/csg/csg4035/install/petsc-dev/arch-linux-gnu-c-debug/lib >> [0]PETSC ERROR: Configure run at Fri Aug 27 08:37:32 2010 >> >> > >> > [0]PETSC ERROR: Configure options >> [0]PETSC ERROR: >> >> [0]PETSC ERROR: MatLoad() line 843 in src/mat/interface/matrix.c >> >> >> >> > >> >> >> > > > > > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/7842cef9/attachment.html>

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Shri
> You could also use shark on the Mac to profile. Do man shark > I'll try that. Thanks. > gprof is probably unhappy because your code is built with 64 bit arch and > gprof only supports 32 bit version or the other way around. > >Barry > > > On Sep 2, 2010, at 5:27 PM, Jed Brown wro

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Shri
Thanks Jed.I've pushed ex35 to the repository (src/dm/da/examples/tests). You can run it with the following options mpiexec -n 2 ./ex35 -X 100 -Y 100 -Z 100 . Let me know if you can run the example on a grid size of 202 X 102 X 102. Shri P.S : You might need to do make in src/dm/da/utils befor

[petsc-dev] PETSC_TRUE and PETSC_TRUTH

2010-09-02 Thread Kai Germaschewski
t; > Satish > > -- Kai Germaschewski Assistant Professor, Dept of Physics / Space Science Center University of New Hampshire, Durham, NH 03824 office: Morse Hall 245E phone: +1-603-862-2912 fax: +1-603-862-2771 -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/58697920/attachment.html>

[petsc-dev] PETSC_TRUE and PETSC_TRUTH

2010-09-02 Thread Barry Smith
ty of changing the name of PETSC_TRUTH to something > >> that is far away from PETSC_TRUE? > > > > > > Perhaps we should use PETSC_BOOL instead of PETSC_TRUTH.. > > > > Satish > > > > > -- > Kai Germaschewski > Assistant Professor, De

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Shri
inux-gnu-c-debug/lib [0]PETSC ERROR: Configure run at Fri Aug 27 08:37:32 2010 > > > [0]PETSC ERROR: Configure options [0]PETSC ERROR: [0]PETSC ERROR: MatLoad() line 843 in src/mat/interface/matrix.c > > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/f5cf36ae/attachment.html>

[petsc-dev] PETSC_TRUE and PETSC_TRUTH

2010-09-02 Thread Dmitry Karpeev
PetscBool and PETSC_BOOL is the right way to go, in my opinion. I've inadvertently swapped PETSC_TRUE and PETSC_TRUTH in the past myself. Dmitry. On Thu, Sep 2, 2010 at 2:56 PM, Barry Smith wrote: > > ?We use truth consistently PetscTruth and PETSC_TRUTH, we cannot have one be > bool. > > ? For

[petsc-dev] PETSC_TRUE and PETSC_TRUTH

2010-09-02 Thread Barry Smith
We use truth consistently PetscTruth and PETSC_TRUTH, we cannot have one be bool. For a long time I've wanted to replace all our uses of truth with bool but was afraid to make a change that pisses people off. That would resolve the problem. Barry On Sep 2, 2010, at 2:04 PM, Satish B

[petsc-dev] PETSC_TRUE and PETSC_TRUTH

2010-09-02 Thread Satish Balay
On Thu, 2 Sep 2010, Chetan Jhurani wrote: > Hi petsc-dev, > > This is a minor enhancement request. > > Using PETSC_TRUTH instead of PETSC_TRUE unintentionally will lead to > unexpected results and annoying bugs. Seems like PETSC_TRUTH is > a different enum value for enumerating data types and c

[petsc-dev] PETSC_TRUE and PETSC_TRUTH

2010-09-02 Thread Chetan Jhurani
Hi petsc-dev, This is a minor enhancement request. Using PETSC_TRUTH instead of PETSC_TRUE unintentionally will lead to unexpected results and annoying bugs. Seems like PETSC_TRUTH is a different enum value for enumerating data types and currently equals 9. g++ does warn on comparing different

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Barry Smith
C 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: ./main on a arch-linu named wingtip72 by csg4035 Wed Sep 1 > > 15:52:11 2010 > [0]PETSC ERROR: Libraries linked from > /net/users/csg/csg4035/install/petsc-dev/arch-linux-gnu-c-debug/lib > [0]PETSC ERROR: Configure run at Fri Aug 27 08:37:32 2010 > > > > > > > [0]PETSC ERROR: Configure options > [0]PETSC ERROR: > > [0]PETSC ERROR: MatLoad() line 843 in src/mat/interface/matrix.c > > > > > > > > > > > > > > > > > > > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/dea7f792/attachment.html>

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Shri
ies linked from /net/users/csg/csg4035/install/petsc-dev/arch-linux-gnu-c-debug/lib [0]PETSC ERROR: Configure run at Fri Aug 27 08:37:32 2010 > > > [0]PETSC ERROR: Configure options [0]PETSC ERROR: [0]PETSC ERROR: MatLoad() line 843 in src/mat/interface/matrix.c > > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/6a6fbdcc/attachment.html>

[petsc-dev] [fortran] DAVecGetArrayF90 error

2010-09-02 Thread Barry Smith
On Sep 2, 2010, at 10:49 AM, Jed Brown wrote: > On Thu, 2 Sep 2010 17:37:04 +0200, Leo van Kampenhout gmail.com> wrote: >> Hi all, >> >> since a few days I'm getting these errors during runtime (did not have it >> before! ) >> >> [0]PETSC ERROR: src/dm/da/src/f90-custom/zda1f90.c:109: >> __FUN

[petsc-dev] python version creep

2010-09-02 Thread Matthew Knepley
== >> Configuring PETSc to compile on your system >> === >> Traceback (most recent call last): >> File "./config/configure.py", line 351, in ? >> pet

[petsc-dev] configure should

2010-09-02 Thread Matthew Knepley
-- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/85a69f41/attachment.html>

[petsc-dev] configure usability

2010-09-02 Thread Matthew Knepley
nters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/450bb5dd/attachment.html>

[petsc-dev] configure usability

2010-09-02 Thread Jed Brown
On Thu, Sep 2, 2010 at 10:58, Matthew Knepley wrote: > Will it do everything we want, and be easy enough to customize if we want > something else? I think so, but it's significant work to change, so it would be worth letting it simmer for a while in case there is some required behavior that it ca

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Barry Smith
by csg4035 Wed Sep 1 > > 15:52:11 2010 > [0]PETSC ERROR: Libraries linked from > /net/users/csg/csg4035/install/petsc-dev/arch-linux-gnu-c-debug/lib > [0]PETSC ERROR: Configure run at Fri Aug 27 08:37:32 2010 > > > > > [0]PETSC ERROR: Configure options > [0]PETSC ERROR: > > [0]PETSC ERROR: MatLoad() line 843 in src/mat/interface/matrix.c > > > > > > > > > > > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/24c43c66/attachment.html>

[petsc-dev] configure usability

2010-09-02 Thread Matthew Knepley
RL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/f54751f0/attachment.html>

[petsc-dev] configure should

2010-09-02 Thread Barry Smith
st experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/a1ed0e30/attachment.html>

[petsc-dev] configure usability

2010-09-02 Thread Jed Brown
On Thu, 2 Sep 2010 09:00:47 +0200, Matthew Knepley wrote: > We want them to be organized in certain ways, like sections for > help. That's what OptionGroup is for. > We want to do special processing for some types, like download. When I > Iooked at these packages, it did not seem east to do. Yo

[petsc-dev] configure usability

2010-09-02 Thread Matthew Knepley
ke download. When I Iooked at these packages, it did not seem east to do. Matt > > Jed > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -

[petsc-dev] [Fortran] MatLoad() error: MatLoad is not supported for type: mpiaij!

2010-09-02 Thread Shri
OR: Configure options [0]PETSC ERROR: [0]PETSC ERROR: MatLoad() line 843 in src/mat/interface/matrix.c > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100902/2cb38ecf/attachment.html>