← Back to team overview

dolfin team mailing list archive

Re: [Question #116222]: MPI Problem

 

Question #116222 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/116222

    Status: Answered => Open

Pietro Maximoff is still having a problem:
Niclas:

How would I go about doing this, i.e., creating the vector with a size
equal to the global (processor wise) dimension.


Garth:

I've done what you suggested. Turns out the problem occurs when I create
the function from the Vector, i.e.,

         Function u(V, volt);

So, 
        volt.set(block, mesh.num_vertices(), rows);              //<-----------------------NO PROBLEM
        Function u(V, volt);                                                    // CRASHES!!!

How can I fix this?

Many thanks

Pietro

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



References