<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
When compiling using gnu gfortran, I got the following error msg:<br>
<br>
Error: Symbol 'petsc_default_real' at (1) has no IMPLICIT type<br>
<br>
My code is :<br>
<br>
<i>module PETSc_solvers</i><i><br>
</i><i><br>
</i><i>use set_matrix</i><i><br>
</i><i><br>
</i><i>use ibm</i><i><br>
</i><i><br>
</i><i>implicit none</i><i><br>
</i><i><br>
</i><i>contains</i><i><br>
</i><i><br>
</i><i>subroutine semi_momentum_simple_xyz(du,dv,dw)</i><i><br>
</i><i><br>
</i><i>!discretise momentum eqn using semi-implicit mtd</i><i><br>
</i><i><br>
</i><i>!simple except east,west</i><i><br>
</i><i><br>
</i><i>#include "finclude/petsc.h90"</i><i><br>
</i><i><br>
</i><i>...</i><i><br>
</i><i><br>
</i><i>call
KSPSetTolerances(ksp_semi_xyz,tol,PETSC_DEFAULT_REAL,PETSC_DEFAULT_REAL,PETSC_DEFAULT_INTEGER,ierr)
-> error</i><br>
<br>
There's no problem when using ifort though.<br>
<pre class="moz-signature" cols="72">--
Thank you
Yours sincerely,
TAY wee-beng</pre>
</body>
</html>