← Back to team overview

dolfin team mailing list archive

Running Dolfin in Parallel

 

Hello,

So I have been trying to run some simulations in parallel, when I noticed that I was getting the same timings and iteration counts on 4 processors as on 1. It seems that all the Petsc matrix, vector, ksp, ... objects are created using PETSC_COMM_SELF, and thus I was running not 1 simulation on 4 processors but 4 simulations on 4 processors. When I go to change the PETSC_COMM I am confronted with lots of errors (mostly about getting non-local rows probably in the PETScMatrix.nz() function. I also see some comments such as:

// FIXME: Temporary fix (assumes uniprocessor case)

I am just wondering if anyone else is running into these sorts of errors or if I have horribly misconfigured something while building things. I was using the 0.6.4 release because I wanted a stable release that I could use on a large cluster, but it seems that the same code is in the dev repo.

Thanks,
Andy

--

====================
Andy Terrel
Computer Science Dept
University of Chicago
aterrel@xxxxxxxxxxxx
---------------------

We make a living by what we get, but we make a life by what we give.
                -Winston Churchill




Follow ups