[petsc-dev] more issues

2011-06-03 Thread Lisandro Dalcin
On 2 June 2011 13:51, Barry Smith wrote: > > ? I guess. But I think I would argue that you have a buggy compiler/templated > C++ class; Can any of you try to reproduce (using single precision + complex scalars) ? I'm using system GCC 4.5.5 from Fedora 13. > > it should be able to do those compa

[petsc-dev] more issues

2011-06-03 Thread Jed Brown
c-dev/rev/71e5798007d3 We can revert this if you really want something different, but I think that having constants like PETSC_ONE is more confusing when you see it in the source. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.g

[petsc-dev] more issues

2011-06-03 Thread Barry Smith
I agree, even though the castes are ugly, I think we have to live with them. Barry On Jun 3, 2011, at 7:37 AM, Jed Brown wrote: > On Fri, Jun 3, 2011 at 13:20, Lisandro Dalcin wrote: > Can any of you try to reproduce (using single precision + complex > scalars) ? I'm using system GCC 4.5.

[petsc-dev] more issues

2011-06-03 Thread Jed Brown
il/petsc-dev/attachments/20110603/c7b0e6e7/attachment.html>

[petsc-dev] [petsc-maint #75297] Issue when saving an MPI dense matrix

2011-06-03 Thread Barry Smith
Simone, This is because we are trying to send messages too long for MPI to handle. This is a problem for MPI for two reasons 1) MPI "count" arguments are always int, when we use 64 bit PetscInt (because of the --with-64-bit-indices PetscInt becomes long long int) this means we "may" be

[petsc-dev] Fwd: [petsc-maint #75297] Issue when saving an MPI dense matrix

2011-06-03 Thread Barry Smith
This is a followup to the petsc-maint specifically for the petsc-developers So it turns out that gcc has an option -Wconversion that warns one about ALL implicit conversions of sizes it does. This could be used to find all the places we pass PetscInt to MPI calls that require int but unfo

[petsc-dev] Fwd: [petsc-maint #75297] Issue when saving an MPI dense matrix

2011-06-03 Thread Jed Brown
ed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110603/c71e3835/attachment.html>

[petsc-dev] [petsc-maint #75297] Issue when saving an MPI dense matrix

2011-06-03 Thread Barry Smith
ates. >> >> [4]PETSC ERROR: See docs/faq.html for hints about trouble shooting. >> >> [4]PETSC ERROR: See docs/index.html for manual pages. >> >> [4]PETSC ERROR: >> >> >> ? >> >> >> >> Unfortunately, when I run the sample program attached, I get the crash but I >> don?t get the same error message. >> >> I?ve attached also: >> >> - the error I get from the sample program (built using mvapich2) >> >> - configure.log >> >> - the command line I used to invoke the sample program >> >> >> >> Thanks and regards, >> >>Simone Re >> >> >> >> Simone Re >> >> Team Leader >> >> Integrated EM Center of Excellence >> >> >> WesternGeco GeoSolutions >> >> via Celeste Clericetti 42/A >> >> 20133 Milano - Italy >> >> >> +39 02 . 266 . 279 . 246 (direct) >> >> +39 02 . 266 . 279 . 279 (fax) >> >> sre at slb.com >> >> >> >> > -- next part -- A non-text attachment was scrubbed... Name: ex1.c Type: application/octet-stream Size: 1689 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110603/feac48c6/attachment.obj>

[petsc-dev] Fwd: [petsc-maint #75297] Issue when saving an MPI dense matrix

2011-06-03 Thread Barry Smith
On Jun 3, 2011, at 11:50 AM, Jed Brown wrote: > On Fri, Jun 3, 2011 at 18:34, Barry Smith wrote: > So it turns out that gcc has an option -Wconversion that warns one about ALL > implicit conversions of sizes it does. This could be used to find all the > places we pass PetscInt to MPI calls tha

[petsc-dev] petsc-dev totally busted

2011-06-03 Thread Barry Smith
/Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -o ex58.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -I/Users/barrysmith/Src/petsc-dev/include -I/Users/barrysmith/Src/petsc-dev/arch-gnu/include -I/opt/local/include -D__INSDIR__=src/snes/examples/tutorials/ ex58.c

[petsc-dev] petsc-dev totally busted

2011-06-03 Thread Matthew Knepley
gnored) > > > > -- 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 -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110603/401b893f/attachment.html>

[petsc-dev] petsc-dev totally busted

2011-06-03 Thread Barry Smith
I hate C++ On Jun 3, 2011, at 2:38 PM, Matthew Knepley wrote: > I hate fucking C. Let me push a fix. > > Matt > > On Fri, Jun 3, 2011 at 2:35 PM, Barry Smith wrote: > > /Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -o ex58.o -c -Wall > -Wwrite-strings -Wno-strict-aliasing -Wno-un

[petsc-dev] petsc-dev totally busted

2011-06-03 Thread Matthew Knepley
s take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any re

[petsc-dev] petsc-dev totally busted

2011-06-03 Thread Matthew Knepley
they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > > -- Norbert Wiener > > -- 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 -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110603/f9eba6ee/attachment.html>

[petsc-dev] petsc-dev totally busted

2011-06-03 Thread Barry Smith
On Jun 3, 2011, at 2:46 PM, Matthew Knepley wrote: > On Fri, Jun 3, 2011 at 2:41 PM, Barry Smith wrote: > > I hate C++ > > It is currently the only way to do intelligent things with multiple types. I > am trying to > send integers around. VecScatter is completely broken for this because we

[petsc-dev] petsc-dev still broken

2011-06-03 Thread Barry Smith
C++ is always used? I don't think so Barry = libfast in: /Users/barrysmith/Src/petsc-dev/src libfast in: /Users/barrysmith/Src/petsc-dev/src/inline libfast in: /Users/barrysmith/Src/petsc-dev/src/sys libfast in: /Users/barrysmith/Src/petsc-dev/src/sy

[petsc-dev] petsc-dev still broken

2011-06-03 Thread Matthew Knepley
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/20110603/c94f7586/attachment.html>