Re: [petsc-users] Install PETSc with other libraries via package manager

2022-07-21 Thread Prateek Gupta
Yes. This I could try On Thu, 21 Jul 2022 at 5:42 PM, Matthew Knepley wrote: > On Thu, Jul 21, 2022 at 7:11 AM Prateek Gupta > wrote: > >> No. Actually there is a severe limitation on number of files in /home due >> to less storage, which is why I ran into a wall bu

Re: [petsc-users] Install PETSc with other libraries via package manager

2022-07-21 Thread Prateek Gupta
On Thu, Jul 21, 2022 at 5:16 AM Prateek Gupta > wrote: > >> Hi, >> I have a restriction of installing petsc on a community cluster only via >> package manager (APT). But it needs to be configured with lapack and >> parmetis. Is there a way to do this without building

Re: [petsc-users] Install PETSc with other libraries via package manager

2022-07-21 Thread Prateek Gupta
se and is flagged as such on Debian.) All PETSc builds have > LAPACK. If you get it from your package manager, you'll be stuck with a > somewhat older version of PETSc. You can also just build in your home > directory. > > https://packages.debian.org/sid/libpetsc3.16-dev-com

[petsc-users] Install PETSc with other libraries via package manager

2022-07-21 Thread Prateek Gupta
Hi, I have a restriction of installing petsc on a community cluster only via package manager (APT). But it needs to be configured with lapack and parmetis. Is there a way to do this without building from source? Thank you. Sincerely, Prateek Gupta, PhD

Re: [petsc-users] Generating data on dmplex with varying DOFs

2022-07-17 Thread Prateek Gupta
n the faces. I'll see if the SEM closures help me. Thank you. Sincerely, Prateek Gupta, PhD On Sun, Jul 17, 2022 at 7:59 PM Matthew Knepley wrote: > On Sun, Jul 17, 2022 at 7:41 AM Prateek Gupta > wrote: > >> Thanks! >> On a similar note, is it possible to def

Re: [petsc-users] Generating data on dmplex with varying DOFs

2022-07-17 Thread Prateek Gupta
compare if dmplex would offer some performance improvement. Additionally, petscFV could be extended to petscSD (SD stands for spectral difference), where finite volume implementation is the zeroth order special case. Thank you. Sincerely, Prateek Gupta, PhD On Fri, Jul 15, 2022 at 5:43 PM Matthew

[petsc-users] Generating data on dmplex with varying DOFs

2022-07-15 Thread Prateek Gupta
faces have p*p data points and tri faces have p*(p-1)/2 data points. Thank you. Sincerely, Prateek Gupta, PhD

Re: [petsc-users] Creating dmplex in every rank and redistributing

2022-07-11 Thread Prateek Gupta
Thank you. In the meantime, can you please let me know what these are? They look like hash maps to me but I am not sure what functions like PetscHSetIGetElems are for and would be really helpful if you could maybe pass on the old documentation information Thank you. Sincerely, Prateek Gupta

Re: [petsc-users] Creating dmplex in every rank and redistributing

2022-07-11 Thread Prateek Gupta
Thanks Matt. While looking into the function, I noted PetscHSetI and related functions but couldn't find their docs (404 error). Have these functions and data types deprecated? Thank you. Sincerely, Prateek Gupta On Mon, Jul 4, 2022 at 6:09 PM Matthew Knepley wrote: > On Mon, Jul 4, 2

[petsc-users] Creating dmplex in every rank and redistributing

2022-07-03 Thread Prateek Gupta
need to reassign this to a local numbering? Is there a datastructure within petsc that can help with this? Thank you. Sincerely, Prateek Gupta, PhD

Re: [petsc-users] DMPlexInterpolate error nonconforming object sizes

2022-07-02 Thread Prateek Gupta
Thanks Matt. Fixed it now! Thank you. Sincerely, Prateek Gupta, PhD On Sat, Jul 2, 2022 at 5:10 PM Matthew Knepley wrote: > On Sat, Jul 2, 2022 at 7:34 AM Matthew Knepley wrote: > >> On Sat, Jul 2, 2022 at 7:15 AM Prateek Gupta >> wrote: >> >>> Hi Matt, >

Re: [petsc-users] DMPlexInterpolate error nonconforming object sizes

2022-07-02 Thread Prateek Gupta
Hi Matt, you are right about the first DM being invalid. I wasn't reading the cells properly. But now that I have fixed it, the code seems to hang in an infinite loop in DMPlexStratify. I am attaching the working snippet which exhibits the issue. Thanks for your help! Sincerely, Prateek

[petsc-users] DMPlexInterpolate error nonconforming object sizes

2022-07-02 Thread Prateek Gupta
f-the-bat for fluent/gmsh files using functions in plexfluent.c and plexgmsh.c. Is there a way to allocate just the vertices? Or do I need to use DMPlexSetChart for idm object before interpolating? Thank you. Sincerely, Prateek Gupta, PhD

[petsc-users] Adaptive remeshing/refining using DMPlex

2020-06-13 Thread Prateek Gupta
coarsening, is there a way to dynamically update my global solution vectors (defined on nodes)? Or do I have to destroy old vectors and reallocate? Any help/pointers are greatly appreciated :) Thank you. Sincerely, Prateek Gupta, PhD D-MAVT, ETHZ

Re: [petsc-users] Repeated global indices in local maps

2020-05-28 Thread Prateek Gupta
Thanks Matt. I ended up renumbering the global mesh nodes, tagging the ghost nodes on each processor, and using VecCreateGhost() and VecGhostGetLocalForm() in the Formfunction at solver stage. On Wed, May 27, 2020 at 1:12 PM Matthew Knepley wrote: > On Wed, May 27, 2020 at 4:14 AM Prateek Gu

[petsc-users] Repeated global indices in local maps

2020-05-27 Thread Prateek Gupta
: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] v_rank_1 : [2, 3, 4, 8, 9, 7] ; v_rank_2 : [0, 1, 2, 3, 6, 10, 11, 8, 9, 5] Any help is greatly appreciated. Thank you. Prateek Gupta