Slow speed after changing from serial to parallel

2008-04-14 Thread Ben Tay
Thank you Matthew. Sorry to trouble you again. I tried to run it with -log_summary output and I found that there's some errors in the execution. Well, I was busy with other things and I just came back to this problem. Some of my files on the server has also been deleted. It has been a while

Slow speed after changing from serial to parallel

2008-04-14 Thread Matthew Knepley
I am not sure why you would ever have two codes. I never do this. PETSc is designed to write one code to run in serial and parallel. The PETSc part should look identical. To test, run the code yo uhave verified in serial and output PETSc data structures (like Mat and Vec) using a binary viewer.

Slow speed after changing from serial to parallel

2008-04-14 Thread Ben Tay
Hi Matthew, I think you've misunderstood what I meant. What I'm trying to say is initially I've got a serial code. I tried to convert to a parallel one. Then I tested it and it was pretty slow. Due to some work requirement, I need to go back to make some changes to my code. Since the parallel

Slow speed after changing from serial to parallel

2008-04-14 Thread Matthew Knepley
On Mon, Apr 14, 2008 at 8:43 AM, Ben Tay zonexo at gmail.com wrote: Hi Matthew, I think you've misunderstood what I meant. What I'm trying to say is initially I've got a serial code. I tried to convert to a parallel one. Then I tested it and it was pretty slow. Due to some work requirement,