[petsc-users] Intel Internal compiler error: segmentation violation signal raised

TAY wee-beng zonexo at gmail.com
Mon Apr 7 05:19:25 CDT 2014


Sorry I realised that

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

also gave errors:

*//home/wtay/Lib/petsc-3.4.4_shared_rel/include/finclude/ftn-custom/petscdmda.h90(10): 
error #5082: Syntax error, found ',' when expecting one of: ( % [ : . = 
=>/**/
/**/          PetscInt, pointer :: array(:)/**/
/**/------------------^/**/
/**//home/wtay/Lib/petsc-3.4.4_shared_rel/include/finclude/ftn-custom/petscdmda.h90(10): 
error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: 
) ,/**/
/**/          PetscInt, pointer :: array(:)/**/
/**/---------------------------------------^/**/
/**//home/wtay/Lib/petsc-3.4.4_shared_rel/include/finclude/ftn-custom/petscdmda.h90(11): 
error #5082: Syntax error, found IDENTIFIER 'N' when expecting one of: ( 
% [ : . = =>/**/
/**/          PetscInt  n/**/
/**/--------------------^/**/
/**//home/wtay/Lib/petsc-3.4.4_shared_rel/include/finclude/ftn-custom/petscdmda.h90(12): 
error #5082: Syntax error, found IDENTIFIER 'IERR' when expecting one 
of: ( % [ : . = =>/**/
/**/          PetscErrorCode ierr/**/
/**/-------------------------^/**/
/**//home/wtay/Lib/petsc-3.4.4_shared_rel/include/finclude/ftn-custom/petscdmda.h90(13): 
error #5082: Syntax error, found IDENTIFIER 'V' when expecting one of: ( 
% [ : . = =>/*

Thank you

Yours sincerely,

TAY wee-beng

On 7/4/2014 6:16 PM, TAY wee-beng wrote:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140407/6900443b/attachment-0001.html>


More information about the petsc-users mailing list