Re: [petsc-users] [Ext] Re: configure error

2020-06-15 Thread Kun Jiao via petsc-users
I see. Thanks. We are computing everything on float. Therefore I choose --with-precision=single. Regards, Kun Schlumberger-Private -Original Message- From: Satish Balay Sent: Monday, June 15, 2020 12:40 PM To: Kun Jiao Cc: Barry Smith ; petsc-users@mcs.anl.gov Subject: Re: [petsc-

Re: [petsc-users] [Ext] Re: configure error

2020-06-15 Thread Satish Balay via petsc-users
You need regular MKL. ILP64 can be used with --with-64-bit-blas-indices option. Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --configModules=PETSc.Configure --optionsModule=config.compilerOptions --configModules=PETSc.Configure --optionsModule=config

Re: [petsc-users] [Ext] Re: configure error

2020-06-15 Thread Kun Jiao via petsc-users
Great, it fix everything. Sorry, my bad I did not catch this silly error. Regards, Kun From: Matthew Knepley Sent: Monday, June 15, 2020 12:25 PM To: Kun Jiao Cc: petsc-users@mcs.anl.gov Subject: [Ext] Re: [petsc-users] configure error On Mon, Jun 15, 2020 at 12:13 PM Kun Jiao via petsc-users

Re: [petsc-users] [Ext] Re: configure error

2020-06-15 Thread Kun Jiao via petsc-users
Actually, that is a question I should ask. When I use --with-64-bit-indices option to config petsc, do I need to use 64 integer option in mkl which means -lmkl_intel_ilp64, or I can use 32integer option for mkl which is -lmkl_intel_lp64? Schlumberger-Private From: Barry Smith Sent: Monday, J

Re: [petsc-users] Adaptive remeshing/refining using DMPlex

2020-06-15 Thread Matthew Knepley
On Sat, Jun 13, 2020 at 3:42 AM Prateek Gupta wrote: > Hi, > I intend to implement adaptive remeshing and refining in my FE code. > Currently, I am not using the DMPlex class of PETSc. As anyone would be > able to guess, renumbering of mesh nodes and then , in some cases, load > balancing via rep

Re: [petsc-users] configure error

2020-06-15 Thread Barry Smith
It is reporting ld: cannot find -lmkl_intel_ilp64 Please send the output from ls /mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132838/2019.3/intel/compilers_and_libraries_2019.3.199/linux/mkl ls /mnt/disks/intel-2018-3-222-blade-runtime-env-2018-1-07-08-2018-132

Re: [petsc-users] [Ext] Re: configure error

2020-06-15 Thread Kun Jiao via petsc-users
Thanks. Let me fix that. Try it again. From: Matthew Knepley Sent: Monday, June 15, 2020 12:25 PM To: Kun Jiao Cc: petsc-users@mcs.anl.gov Subject: [Ext] Re: [petsc-users] configure error On Mon, Jun 15, 2020 at 12:13 PM Kun Jiao via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: Hi, L

Re: [petsc-users] configure error

2020-06-15 Thread Matthew Knepley
On Mon, Jun 15, 2020 at 12:13 PM Kun Jiao via petsc-users < petsc-users@mcs.anl.gov> wrote: > Hi, > > > > Lately I run into a configure error with intel compiler+openmpi+lapack, > > > > Error message as: > > === > TESTING:

Re: [petsc-users] Implementing periodicity using DMPlex

2020-06-15 Thread Stefano Zampini
It is enough if you use DMPlexDistribute with 1 level of overlap, set the local section for your dofs, and call DMGlobalToLocal . The local vector will contain data for what you call “ghost” cells. I call them “not-owned’ cells. > On Jun 15, 2020, at 12:09 PM, Shashwat Tiwari

Re: [petsc-users] Implementing periodicity using DMPlex

2020-06-15 Thread Shashwat Tiwari
The way I'm trying to implement periodic bc is, when I loop over the boundary faces, say, on the left boundary of the domain to compute flux and residual, I need solution values from the two cells neighbouring the face, i.e. the left cell and the right cell (the face normal pointing from the left c