Hmm, could you send us a (simple) code that reproduces the problem; I don’t 
think we have a petsc_default_real anywhere.

  Barry

> On Oct 29, 2014, at 8:52 PM, TAY wee-beng <[email protected]> wrote:
> 
> Hi,
> 
> When compiling using gnu gfortran, I got the following error msg:
> 
> Error: Symbol 'petsc_default_real' at (1) has no IMPLICIT type
> 
> My code is :
> 
> module PETSc_solvers
> 
> use set_matrix
> 
> use ibm
> 
> implicit none
> 
> contains
> 
> subroutine semi_momentum_simple_xyz(du,dv,dw)
> 
> !discretise momentum eqn using semi-implicit mtd
> 
> !simple except east,west
> 
> #include "finclude/petsc.h90"
> 
> ...
> 
> call 
> KSPSetTolerances(ksp_semi_xyz,tol,PETSC_DEFAULT_REAL,PETSC_DEFAULT_REAL,PETSC_DEFAULT_INTEGER,ierr)
>  -> error
> 
> There's no problem when using ifort though.
> -- 
> Thank you
> 
> Yours sincerely,
> 
> TAY wee-beng
> 

Reply via email to