Wrong value for Element % partIndex

Clearly defined bug reports and their fixes
Post Reply
gagliar
Posts: 80
Joined: 04 Sep 2009, 16:34
Location: LGGE - Grenoble
Contact:

Wrong value for Element % partIndex

Post by gagliar »

Hello,

There is in all solvers a test in all loops over elements which is

Code: Select all

IF (ParEnv % myPe .NE. Element % partIndex) CYCLE
If the loop is over edge type element (declared in the sif file by Element = "n:0 e:1"), then the value returned by Element % partIndex is -1 for a serial run when using version 6221, whereas it was 0 with version 6175 (and then the test was correct because ParEnv % myPe is also 0 for a serial run).

What has been broken since version 6175 for the edge elements? Or, was it working 'accidentally', and should I use an other method to detect if an edge belong in the current partition?

Thanks
Gag
Post Reply