Re: [petsc-users] Question about memory usage in Multigrid preconditioner

2016-09-09 Thread Hengjie Wang
Hi Barry, I checked. On the supercomputer, I had the option "-ksp_view_pre" but it is not in file I sent you. I am sorry for the confusion. Regards, Frank On Friday, September 9, 2016, Barry Smith wrote: > > > On Sep 9, 2016, at 3:11 PM, frank > > wrote: > > > > Hi Barry, > > > > I think the f

Re: [petsc-users] Question about memory usage in Multigrid preconditioner

2016-09-14 Thread Hengjie Wang
Thank you. Frank On 09/09/2016 06:38 PM, Hengjie Wang wrote: Hi Barry, I checked. On the supercomputer, I had the option "-ksp_view_pre" but it is not in file I sent you. I am sorry for the confusion. Regards, Frank

Re: [petsc-users] Question about memory usage in Multigrid preconditioner

2016-09-16 Thread Hengjie Wang
) before VecAssembly{Begin,End} * You should call PetscFinalize(), otherwise the option -log_summary (-log_view) will not display anything once the program has completed. Thanks, Dave On 15 September 2016 at 08:03, Hengjie Wang <mailto:hengj...@uci.edu>> wrote: Hi Dave,

Re: [petsc-users] create global vector in latest version of petsc

2016-10-05 Thread Hengjie Wang
Hi, I did. I am using GNU compiler 5.4.0. I don't know if this matters. Thank you Frank On 10/5/2016 6:08 PM, Matthew Knepley wrote: On Wed, Oct 5, 2016 at 7:57 PM, frank > wrote: Hi, I update petsc to the latest version by pulling from the repo. Then I f

Re: [petsc-users] create global vector in latest version of petsc

2016-10-05 Thread Hengjie Wang
Hi, I just tried .F90. It had the error. I attached the full error log. Thank you. Frank On 10/5/2016 6:57 PM, Barry Smith wrote: PETSc fortran programs should always end with .F90 not .f90 can you try again with that name? The capital F is important. Barry On Oct 5, 2016, at 7:57

Re: [petsc-users] create global vector in latest version of petsc

2016-10-05 Thread Hengjie Wang
DMSetFromOptions(da); DMSetUp(da); Barry On Oct 5, 2016, at 9:11 PM, Hengjie Wang wrote: Hi, I just tried .F90. It had the error. I attached the full error log. Thank you. Frank On 10/5/2016 6:57 PM, Barry Smith wrote: PETSc fortran programs should always end with .F90 not .f90 can you try