[petsc-users] Request for being added into mailing list

2018-02-21 Thread Lin Tu
Dear Petsc team, I'm new and please add me in the mailing list, thank you very much in advance! Sincerely, Lin Tu Lin (Ruby) Tu PhD student Institute for Astrophysics University of Vienna T??rkenschanzstra??e 17 1180 Wien

Re: [petsc-users] Compiling with PETSc 64-bit indices

2018-02-21 Thread TAY wee-beng
On 21/2/2018 9:12 AM, Matthew Knepley wrote: On Tue, Feb 20, 2018 at 8:08 PM, TAY wee-beng > wrote: On 21/2/2018 9:00 AM, Matthew Knepley wrote: On Tue, Feb 20, 2018 at 7:54 PM, TAY wee-beng >

Re: [petsc-users] Compiling problem after upgrading to PETSc 3.8.3

2018-02-21 Thread TAY wee-beng
On 21/2/2018 11:44 AM, Smith, Barry F. wrote: Did you follow the directions in the changes file for 3.8? Replace calls to DMDACreateXd() with DMDACreateXd(), [DMSetFromOptions()] DMSetUp() DMDACreateXd() no longer can take negative values for dimensons, instead pass positive

[petsc-users] Question about PETSC with finite volume approach

2018-02-21 Thread 기계항공및원자력공학부
Dear Petsc-User, Hi, I am Seungjin Seo, and I am trying to use PETSC to solve my problem. I want to solve a heat conduction equation using finite volume methods in 2D and 3D. I am going to import Gmsh files. Can you recommend me an example case for this purpose? Also, can I set different

Re: [petsc-users] Question on DMPlexCreateSection for Fortran

2018-02-21 Thread Danyang Su
Hi Matt, To test the Segmentation Violation problem in my code, I modified the example ex1f90.F to reproduce the problem I have in my own code. If use DMPlexCreateBoxMesh to generate the mesh, the code works fine. However, if I use DMPlexCreateGmshFromFile, using the same mesh exported from

Re: [petsc-users] Compiling problem after upgrading to PETSc 3.8.3

2018-02-21 Thread Matthew Knepley
On Tue, Feb 20, 2018 at 9:40 PM, TAY wee-beng wrote: > Hi, > > Indeed, replacing tvec with t_vec solves the problem. Now I'm trying to > debug step by step. I got into problem when calling: > > call DMCreateGlobalVector(da_u,u_global,ierr) > > The error is: > > [0]PETSC ERROR: