Flag to check splitting

Hi Giuseppe,

I’m planning to split my domain to fully utilize the maximum capacity of the GPUs. Is there a flag or tool I can use to check the splitting and verify how the domain has been divided?

Thanks for your help!

Best regards,
Alireza

You get information about the domain splitting in the logs that gets printed in console.
You can pipe this to disk with something like ./YourTestCase 2>&1 | tee testcase.log to save the data to file testcase.log and then inspect it with information about the particle distribution and the number of bursts needed to transfer data between devices.

For a more “visual” debugging, you can run with a single iteration (--maxiter 1) in multi-GPU and the VTK files should now have a DeviceIndex scalar field with the device index to which each particle was assigned.

Thanks, Giuseppe!
It worked! Using ( --maxiter 1) helped me to see the splitting visually in Paraview!
I appreciate it.

Bests,
Alireza