Re: [petsc-users] About Configuring PETSc

2019-03-23 Thread Mark Adams via petsc-users
On Sat, Mar 23, 2019 at 2:51 PM Maahi Talukder wrote: > Thank you for your reply. > > In my PETSC directory, there is only one "arch..." directory called > arch-linux2-c-debug. And with that one, I can only run my code in debugging > mode. But I want to run them in non-debugging mode, so I was wo

Re: [petsc-users] About Configuring PETSc

2019-03-23 Thread Mark Adams via petsc-users
On Sat, Mar 23, 2019 at 2:13 PM Maahi Talukder via petsc-users < petsc-users@mcs.anl.gov> wrote: > I think I didn't build with PETSC-ARCH=arch-opt. > So just to make sure, now I just run the command - ./configure PETSC_ARCH > = arch-opt - and it will create the missing directory and I can switch

Re: [petsc-users] MPI Communication times

2019-03-23 Thread Zhang, Junchao via petsc-users
Before further looking into it, can you try these: * It seems you used petsc 3.9.4. Could you update to petsc master branch? We have an optimization (after 3.9.4) that is very useful for VecScatter on DMDA vectors. * To measure performance, you do not want that many printfs. * Only measure the p