Re: [petsc-users] Questions regarding nested field split

2022-02-25 Thread Barry Smith
For parallel layouts generally each MPI rank (parallel process) will have roughly the same number of indices for each field. So you would not end up with entire fields on one or a small number of processes. This is done by using interlaced (check the docs) storage of variables rather by

Re: [petsc-users] Questions regarding nested field split

2022-02-25 Thread Matthew Knepley
On Fri, Feb 25, 2022 at 2:40 PM Sundar Namala wrote: > Hi, I am currently using fieldsplit and I am creating the fields using > ISCreateGeneral.programming is being carried out in FORTRAN. I have a > couple of questions regarding fieldsplit in parallel. > > Do we need to create the index list of

[petsc-users] Questions regarding nested field split

2022-02-25 Thread Sundar Namala
Hi, I am currently using fieldsplit and I am creating the fields using ISCreateGeneral.programming is being carried out in FORTRAN. I have a couple of questions regarding fieldsplit in parallel. Do we need to create the index list of all the fields separately for each processor? For example, say