[petsc-users] Error during compiling my own code

2010-04-16 Thread Wee-Beng Tay
-- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100416/4da61e01/attachment-0001.htm

[petsc-users] Error during compiling my own code

2010-04-16 Thread Matthew Knepley
It looks like you have conflicting definitions. Did you include use mpi? Matt On Thu, Apr 15, 2010 at 10:53 PM, Wee-Beng Tay zonexo at gmail.com wrote: Hi Matt, I'm using petsc-3.1-p0. But it's now working. I only use 1 #include finclude/petsc.h now. However when another of my f90

[petsc-users] Error during compiling my own code

2010-04-16 Thread Satish Balay
/app1/mvapich2/current/include/mpif.h(9): error #6401: The attributes of this name conflict with those made accessible by a USE statement. [MPI_SOURCE] INTEGER MPI_SOURCE, MPI_TAG, MPI_ERROR You are using some module - based on the 'use' statement refered by the error above. And

[petsc-users] ML and -pc_factor_shift_nonzero

2010-04-16 Thread tri...@vision.ee.ethz.ch
Dear Barry and Matt, thanks for your helpful response. ML works now using, e.g., -mg_coarse_redundant_pc_factor_shift_type POSITIVE_DEFINITE. However, it converges very slowly using the default REDUNDANT for the coarse solve. On 10 processors, e.g., even bjacobi plus -mg_coarse_ksp_max_it

[petsc-users] ML and -pc_factor_shift_nonzero

2010-04-16 Thread Jed Brown
On Fri, 16 Apr 2010 13:51:13 +0200, tribur at vision.ee.ethz.ch wrote: ML works now using, e.g., -mg_coarse_redundant_pc_factor_shift_type POSITIVE_DEFINITE. However, it converges very slowly using the default REDUNDANT for the coarse solve. Converges slowly or the coarse-level solve is

[petsc-users] array and vec

2010-04-16 Thread Jed Brown
On Thu, 15 Apr 2010 21:17:19 +0800, =?gb2312?B?s8LA1sa9?= chenleping at yahoo.cn wrote: petsc teams, for following definitions: double precision u(n) Vec v then, how can I actualize mutual updating between u(n) and v? I'm not sure what you mean, if these are the same quantity then

[petsc-users] array and vec

2010-04-16 Thread Barry Smith
On Apr 16, 2010, at 8:21 AM, Jed Brown wrote: On Thu, 15 Apr 2010 21:17:19 +0800, =?gb2312?B?s8LA1sa9?= chenleping at yahoo.cn wrote: petsc teams, for following definitions: double precision u(n) Vec v then, how can I actualize mutual updating between u(n) and v? I'm not sure

[petsc-users] array and vec

2010-04-16 Thread Matthew Knepley
-- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100416/f4fbb181/attachment.htm

[petsc-users] array and vec

2010-04-16 Thread Satish Balay
On Fri, 16 Apr 2010, Matthew Knepley wrote: 2010/4/15 Leping Chen? chenleping at yahoo.cn hello, petsc teams, when I use FormFuncion(), I need use a value of x; but x is defined by Vec, I don't know how to get a value of x, for example, the 3rd value. Exactly as Jed

[petsc-users] array and vec

2010-04-16 Thread 陈乐平(Leping Chen)
to which their experiments lead. -- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100416/022e5b9b/attachment.htm

[petsc-users] array and vec

2010-04-16 Thread Barry Smith
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-users/attachments/20100416/6cc3fa1c

[petsc-users] about Vecgetarray()

2010-04-16 Thread 陈乐平(Leping Chen)
/petsc-users/attachments/20100416/e1e4e79e/attachment.htm

[petsc-users] about Vecgetarray()

2010-04-16 Thread 陈乐平(Leping Chen)
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-users/attachments/20100416/59b02657/attachment.htm