[petsc-users] Problems with PCMGSetLevels and MatNullSpaceCreate in Fortran

Smith, Barry F. bsmith at mcs.anl.gov
Wed Jan 8 21:33:56 CST 2020


https://www.mcs.anl.gov/petsc/documentation/changes/38.html

> On Jan 8, 2020, at 9:22 PM, TAY wee-beng <zonexo at gmail.com> wrote:
> 
> Hi,
> 
> After upgrading to the newer ver of PETSc 3.8.3, I got these error during compile in VS2008 with Intel Fortran:
> 
> call PCMGSetLevels(pc,mg_lvl,PETSC_NULL_OBJECT,ierr)   
> 
> This name does not have a type, and must have an explicit type.   [PETSC_NULL_OBJECT]
> 
> call MatNullSpaceCreate(MPI_COMM_WORLD,PETSC_TRUE,0,PETSC_NULL_OBJECT,nullspace,ierr)
> 
> There is no matching specific subroutine for this generic subroutine call.   [MATNULLSPACECREATE]
> 
> So how do I correct these errors?
> 
> -- 
> Thank you very much.
> 
> Yours sincerely,
> 
> ================================================
> TAY Wee-Beng 郑伟明 (Zheng Weiming)
> Personal research webpage: http://tayweebeng.wixsite.com/website
> Youtube research showcase: https://goo.gl/PtvdwQ
> linkedin: https://www.linkedin.com/in/tay-weebeng
> ================================================
> 



More information about the petsc-users mailing list