Hello,
I do parallel computation of the flow in a rectangular parallelepiped. For the partitioning, I would like to divide the domain in only one direction. I therefore used the block partitioning, it does the job but the domain is cut in the z-direction (see the attached image) while I would prefer to cut it in the x-direction to decrease the communication. I tried to number differently the elements of my "unv" mesh but it doesn't work.
I did have a look to the cs_partition.c but I do not really understand the part that deals with the block partitioner.
So, is there a simple way to force the block partioner to cut my domain in one direction ?
Thanks a lot
Boris
Naive block partitioning
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Naive block partitioning
- Attachments
-
- Partitioning_1.png
- (9.3 KiB) Not downloaded yet
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Naive block partitioning
Hello,
The block partitioning should indeed depend on the initial numbering, but for a unv mesh, I do not remember whether cells initial numbering is based on occurence rank in the unv file or by element label... So I you tried one, I recommend trying the other....
At some point, we should add a user subroutine for partitioning, but have not done it yet...
Regards,
Yvan
The block partitioning should indeed depend on the initial numbering, but for a unv mesh, I do not remember whether cells initial numbering is based on occurence rank in the unv file or by element label... So I you tried one, I recommend trying the other....
At some point, we should add a user subroutine for partitioning, but have not done it yet...
Regards,
Yvan
Re: Naive block partitioning
Hello Yvan,
Thanks for your reply. I will try to modify my *.unv file.
Regards
Boris
Thanks for your reply. I will try to modify my *.unv file.
Regards
Boris
Re: Naive block partitioning
I changed the occurrence rank in my *.unv, it works !
Thanks a lot
Thanks a lot