[Hedge] Dealing with heterogeneous structures

Peter17 peter017 at gmail.com
Mon May 30 08:02:21 PDT 2011


2011/5/27 Peter17 <peter017 at gmail.com>:
>> The same code works well on CPU and MPI...
>
> Oh! Sorry! I just noticed that it actually doesn't work on MPI: it
> compiles and seems to run well but the heterogeneities are actually
> ignored: everything happens as if there was only 1 material...
>
> So, IfPositive() seems to have a different behavior on CPU and MPI...
>

I managed to have heterogeneities work in MPI. The problem was not
related to IfPositive but to volume tag passing when using partitions.

I have committed a patch here:

https://github.com/peter17/hedge/commit/ad4d01fa343192b248522f69db28dea4d3677d07

Running in CUDA still fails with the same error.

Best regards

--
Peter Potrowl



More information about the Hedge mailing list