On 30/10/2014 10:02 AM, Barry Smith wrote:
Hmm, could you send us a (simple) code that reproduces the problem; I don’t
think we have a petsc_default_real anywhere.
Barry
Hi Barry,
I realised that it's because I was using ver 3.4.4. There's no problem
after using ver 3.5.2.
Thanks!
Regards.
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