[petsc-users] Improve in speed/efficiency from partitioning in 1 direction to 3 directions

Aron Ahmadia aron.ahmadia at kaust.edu.sa
Tue Sep 4 06:54:11 CDT 2012


There are a lot of other factors at play here, including how much time
you are spending working on the code, how far you're trying to scale
the algorithm and how much communication dominates your problem for
the architectures and algorithms you are using.  Unless you are trying
to take this code to thousands of processors I probably wouldn't worry
about it.

A

On Tue, Sep 4, 2012 at 11:17 AM, TAY wee-beng <zonexo at gmail.com> wrote:
> On 4/9/2012 11:11 AM, Aron Ahmadia wrote:
>>
>> This doesn't strike me as a particularly large problem.  I'm not sure
>> it's worth doing unless you are going to be looking at more unknowns
>> in the future.
>>
>> A
>
> Hi Aron,
>
> It will increase to 500x500x1200 or more. In that case, do you think it's
> worth it?
>
> Thanks!
>
>>
>> On Tue, Sep 4, 2012 at 10:08 AM, TAY wee-beng <zonexo at gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> My Fortran CFD code is currently partitioned in the z direction. Total
>>> grid
>>> size is around is 153x248x620. Hence depending on the no. of procs, the z
>>> direction 620 is partitioned. The grid size changes but the ratio is
>>> around
>>> there.
>>>
>>> Parititoning in 3 directions was initially too complex for me. However,
>>> it
>>> seems to be much simplified with the use of DM. However, there's still a
>>> lot
>>> of work to be done to make it working.
>>>
>>> I'm wondering how much improvement in speed/efficiency will I get, if I
>>> partition from 1 direction to 3 directions. Is it worth the effort?
>>>
>>> --
>>> Yours sincerely,
>>>
>>> TAY wee-beng
>>>
>

-- 

------------------------------
This message and its contents, including attachments are intended solely 
for the original recipient. If you are not the intended recipient or have 
received this message in error, please notify me immediately and delete 
this message from your computer system. Any unauthorized use or 
distribution is prohibited. Please consider the environment before printing 
this email.


More information about the petsc-users mailing list