Hi,
Thanks to the nice tutorial held in December, I am now able to run parallel computation with FreeFem. However, I can only do so up to 7 processors. If I go beyond 7 processors, FreeFem gets stuck when running “CreateMat”.
Below is a minimal script that reproduces my problem:
load “PETSc”
macro dimension()2 // EOM
include “macro_ddm.idp”func PuPuPp=[P2, P2, P1];
macro def(i)[i, i#B, i#C]//
macro init(i)[i, i, i]//mesh Th = square(80, 80);
buildDmesh(Th);Mat minusJacobien;
createMat(Th, minusJacobien, PuPuPp);
With less than 8 procs, the script is executed normally and the output is:
-- Square mesh : nb vertices =6561 , nb triangles = 12800 , nb boundary edges 320 --- global mesh of 12800 elements (prior to refinement) partitioned with metis --metisA: 7-way Edge-Cut: 3, Balance: 1.01 Nodal=0/Dual 1 (in 1.279660e-02) --- partition of unity built (in 2.170192e-02) --- global numbering created (in 2.978065e-02) --- global CSR created (in 4.831478e-04)
But with more than 8 procs, Freefem does not go beyond -partition of unity built (in XXX)
.
Has somebody experienced a similar problem ? Any help or suggestion is welcome !
Lucas