This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Unable to run demos in parallel

+2 votes

Hello,

I've just downloaded FEniCs via dorsal and tried to run a few demos with mpirun but getting errors:

*** -------------------------------------------------------------------------
*** Error: Unable to partition mesh using SCOTCH.
*** Reason: Error during partitioning.
*** Where: This error was encountered inside SCOTCH.cpp.
*** Process: 15
*** DOLFIN version: 1.2.0+
*** Git changeset: 55bf4b010df788a25ba15d0ae7e4485761680132
*** -------------------------------------------------------------------------

I've tried the poisson, nonlinear-poison, hyperelasticity, optimization demos so far. I do
"cmake ." followed by "make" and then run them with: mpirun -np 24 ./demo_x

I'm on ubuntu 13.04.

I don't know why.
Thanks, Gennadiy

asked Nov 12, 2013 by gennadiy FEniCS Novice (590 points)
edited Nov 12, 2013 by gennadiy

No one can help if you don't say what you're running and how you're running it.

I've edited the question and provided more details.

1 Answer

0 votes

The demos are small programs, so start by running with a small number of processes, e.g. 2 to 6.

answered Nov 12, 2013 by Garth N. Wells FEniCS Expert (35,930 points)

With 2 processes, I get the same error. Could it be because I downloaded the unstable version of 1.2.0 ?

Process 0: Number of global vertices: 1089
Process 0: Number of global cells: 2048
(0): ERROR: kdgraphMapRbMap: not implemented yet
(1): ERROR: kdgraphMapRbMap: not implemented yet
terminate called after throwing an instance of 'std::runtime_error'
what():

*** Error: Unable to partition mesh using SCOTCH.
*** Reason: Error during partitioning.
*** Where: This error was encountered inside SCOTCH.cpp.
*** Process: 0
*** DOLFIN version: 1.2.0+
*** Git changeset: 55bf4b010df788a25ba15d0ae7e4485761680132
*** -------------------------------------------------------------------------

terminate called after throwing an instance of 'std::runtime_error'
what():

*** -------------------------------------------------------------------------
*** Error: Unable to partition mesh using SCOTCH.
*** Reason: Error during partitioning.
*** Where: This error was encountered inside SCOTCH.cpp.
*** Process: 1
*** DOLFIN version: 1.2.0+
*** Git changeset: 55bf4b010df788a25ba15d0ae7e4485761680132
*** -------------------------------------------------------------------------

...