<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I encountered the error below when compiling my code using intel
fortran:<br>
<br>
/tmp/ifortlPEDlK.i90: catastrophic error: **Internal compiler error:
segmentation violation signal raised** Please report this error
along with the circumstances in which it occurred in a Software
Problem Report. Note: File and line given may not be explicit cause
of this error.<br>
<br>
In the end, I realised that it is due to using <b>petsc.h90</b>:<br>
<br>
module PETSc_solvers<br>
<br>
use set_matrix<br>
<br>
...<br>
<br>
implicit none<br>
<br>
contains<br>
<br>
subroutine semi_momentum_simple_xyz(du,dv,dw)<br>
<br>
<b>#include "finclude/petsc.h90"</b><br>
<br>
integer :: i,j,k,ijk,ierr,II !,ro...<br>
<br>
If I use :<br>
<br>
<b>#include "finclude/petsc.h"<br>
<br>
or<br>
</b><br>
<b>#include "finclude/petscdmda.h90"</b><br>
<b>#include "finclude/petscksp.h90"</b><br>
<br>
Then there is no problem.<br>
<br>
May I know why this is happening?<br>
<br>
Although I can now compile and build successfully, is this the right
way to go?<br>
<br>
<pre class="moz-signature" cols="72">--
Thank you
Yours sincerely,
TAY wee-beng</pre>
</body>
</html>