adamantine-sim / adamantine

Software to simulate heat transfer for additive manufacturing
https://adamantine-sim.github.io/adamantine/
Other
32 stars 9 forks source link

Issue with material deposition in parallel #247

Closed stvdwtt closed 9 months ago

stvdwtt commented 9 months ago

In series material deposition happens as expected. However in parallel some of the mesh is not activated as expected.

Serial: image

2 MPI processes: image

4 MPI processes: image

h/t Ashley Gannon

Rombur commented 9 months ago

Can you post the partitioning? It's the subdomain_id plot

stvdwtt commented 9 months ago

The material is only being deposited in the subdomain for MPI process 0: image

Rombur commented 9 months ago

Can you share your input files. I tried to reproduce the problem by modifying one of our test but it works as expected.

stvdwtt commented 9 months ago

Here you go: inputs.zip

Rombur commented 9 months ago

The code crashes for me in parallel when using your input files. I assume that you are running in release mode and that's why the code keeps running

Rombur commented 9 months ago

I have a fix. I'll open a PR soon.