Hi,

I encountered the error below when compiling my code using intel fortran:

/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.

In the end, I realised that it is due to using *petsc.h90*:

module PETSc_solvers

use set_matrix

...

implicit none

contains

subroutine semi_momentum_simple_xyz(du,dv,dw)

*#include "finclude/petsc.h90"*

integer :: i,j,k,ijk,ierr,II !,ro...

If I use :

*#include "finclude/petsc.h"

or
*
*#include "finclude/petscdmda.h90"*
*#include "finclude/petscksp.h90"*

Then there is no problem.

May I know why this is happening?

Although I can now compile and build successfully, is this the right way to go?

--
Thank you

Yours sincerely,

TAY wee-beng

Reply via email to