ops.... it worked for ex2 and ex2f ;-) so what could be wrong? is there some commands or subroutine which i must call? btw, i'm programming in fortran.
thank you. On 2/9/07, Matthew Knepley <knepley at gmail.com> wrote: > > Problems do not go away by ignoring them. Something is wrong here, and it > may > affect the rest of your program. Please try to run an example: > > cd src/ksp/ksp/examples/tutorials > make ex2 > ./ex2 -log_summary > > Matt > > On 2/9/07, Ben Tay <zonexo at gmail.com> wrote: > > > > Well, I don't know what's wrong. I did the same thing for -info and it > > worked. Anyway, is there any other way? > > > > Like I can use -mat_view or call matview( ... ) to view a matrix. Is > > there a similar subroutine for me to call? > > > > Thank you. > > > > > > On 2/9/07, Matthew Knepley <knepley at gmail.com > wrote: > > > > > > Impossible, please check the spelling, and make sure your > > > command line was not truncated. > > > > > > Matt > > > > > > On 2/9/07, Ben Tay < zonexo at gmail.com> wrote: > > > > > > > > ya, i did use -log_summary. but no output..... > > > > > > > > On 2/9/07, Barry Smith <bsmith at mcs.anl.gov> wrote: > > > > > > > > > > > > > > > -log_summary > > > > > > > > > > > > > > > On Fri, 9 Feb 2007, Ben Tay wrote: > > > > > > > > > > > Hi, > > > > > > > > > > > > I've tried to use log_summary but nothing came out? Did I miss > > > > > out > > > > > > something? It worked when I used -info... > > > > > > > > > > > > > > > > > > On 2/9/07, Lisandro Dalcin <dalcinl at gmail.com > wrote: > > > > > > > > > > > > > > On 2/8/07, Ben Tay < zonexo at gmail.com> wrote: > > > > > > > > i'm trying to solve my cfd code using PETSc in parallel. > > > > > Besides the > > > > > > > linear > > > > > > > > eqns for PETSc, other parts of the code has also been > > > > > parallelized using > > > > > > > > MPI. > > > > > > > > > > > > > > Finite elements or finite differences, or what? > > > > > > > > > > > > > > > however i find that the parallel version of the code running > > > > > on 4 > > > > > > > processors > > > > > > > > is even slower than the sequential version. > > > > > > > > > > > > > > Can you monitor the convergence and iteration count of > > > > > momentum and > > > > > > > poisson steps? > > > > > > > > > > > > > > > > > > > > > > in order to find out why, i've used the -info option to > > > > > print out the > > > > > > > > details. there are 2 linear equations being solved - > > > > > momentum and > > > > > > > poisson. > > > > > > > > the momentum one is twice the size of the poisson. it is > > > > > shown below: > > > > > > > > > > > > > > Can you use -log_summary command line option and send the > > > > > output attached? > > > > > > > > > > > > > > > i saw some statements stating "seq". am i running in > > > > > sequential or > > > > > > > parallel > > > > > > > > mode? have i preallocated too much space? > > > > > > > > > > > > > > It seems you are running in parallel. The "Seq" are related to > > > > > local, > > > > > > > internal objects. In PETSc, parallel matrices have inner > > > > > sequential > > > > > > > matrices. > > > > > > > > > > > > > > > lastly, if Ax=b, A_sta and A_end from MatGetOwnershipRange > > > > > and b_sta > > > > > > > and > > > > > > > > b_end from VecGetOwnershipRange should always be the same > > > > > value, right? > > > > > > > > > > > > > > I should. If not, you are likely going to get an runtime > > > > > error. > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > -- > > > > > > > Lisandro Dalc?n > > > > > > > --------------- > > > > > > > Centro Internacional de M?todos Computacionales en Ingenier?a > > > > > (CIMEC) > > > > > > > Instituto de Desarrollo Tecnol?gico para la Industria Qu?mica > > > > > (INTEC) > > > > > > > Consejo Nacional de Investigaciones Cient?ficas y T?cnicas > > > > > (CONICET) > > > > > > > PTLC - G?emes 3450, (3000) Santa Fe, Argentina > > > > > > > Tel/Fax: +54-(0)342-451.1594 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > One trouble is that despite this system, anyone who reads journals > > > widely > > > and critically is forced to realize that there are scarcely any bars > > > to eventual > > > publication. There seems to be no study too fragmented, no hypothesis > > > too > > > trivial, no literature citation too biased or too egotistical, no > > > design too > > > warped, no methodology too bungled, no presentation of results too > > > inaccurate, too obscure, and too contradictory, no analysis too > > > self-serving, > > > no argument too circular, no conclusions too trifling or too > > > unjustified, and > > > no grammar and syntax too offensive for a paper to end up in print. -- > > > Drummond Rennie > > > > > > > > > -- > One trouble is that despite this system, anyone who reads journals widely > and critically is forced to realize that there are scarcely any bars to > eventual > publication. There seems to be no study too fragmented, no hypothesis too > trivial, no literature citation too biased or too egotistical, no design > too > warped, no methodology too bungled, no presentation of results too > inaccurate, too obscure, and too contradictory, no analysis too > self-serving, > no argument too circular, no conclusions too trifling or too unjustified, > and > no grammar and syntax too offensive for a paper to end up in print. -- > Drummond Rennie > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070210/e2595200/attachment.htm>
