Re: [petsc-users] dmplex extrude in parallel

2021-11-11 Thread Bhargav Subramanya
Dear Matt, Thanks for the reply. 1. I realized that, for some reason, all command line options don't seem to work for me. For the simple code that you mentioned (also shown below), the only command line options that I am successful are /home/subrambm/petsc/arch-linux-c-debug/bin/mpiexec -n 2

Re: [petsc-users] dmplex extrude in parallel

2021-11-11 Thread Matthew Knepley
On Thu, Nov 11, 2021 at 1:17 PM Bhargav Subramanya < bhargav.subrama...@kaust.edu.sa> wrote: > Dear Matt, > > I just realized that I used PETSC_COMM_SELF instead of PETSC_COMM_WORLD > while performing the above test. I am sorry for that. After fixing it, I > have the following 3 cases: > > 1.

Re: [petsc-users] dmplex extrude in parallel

2021-11-11 Thread Bhargav Subramanya
Dear Matt, I just realized that I used PETSC_COMM_SELF instead of PETSC_COMM_WORLD while performing the above test. I am sorry for that. After fixing it, I have the following 3 cases: 1. With the below command line options, where I simply create the spherical surface mesh, everything is fine.

Re: [petsc-users] dmplex extrude in parallel

2021-11-10 Thread Matthew Knepley
On Wed, Nov 10, 2021 at 8:26 AM Bhargav Subramanya < bhargav.subrama...@kaust.edu.sa> wrote: > Dear Matt, > > Thanks a lot for the reply. I am now able to generate the prismatic mesh > properly. > Cool. > In the case of mpiexec -n 2 ./meshtest -dm_plex_shape sphere > -dm_refine_pre 3

Re: [petsc-users] dmplex extrude in parallel

2021-11-10 Thread Bhargav Subramanya
Dear Matt, Thanks a lot for the reply. I am now able to generate the prismatic mesh properly. In the case of mpiexec -n 2 ./meshtest -dm_plex_shape sphere -dm_refine_pre 3 -dm_distribute -dm_refine 2 and DMExtrude(), where I am ordering the extruded cells on the layers first; Is the mesh