[petsc-users] Segmentation error when calling PetscBarrier

TAY wee-beng zonexo at gmail.com
Mon Jan 4 19:28:32 CST 2016


Hi,

I am trying to debug my CFD Fortran MPI code. I tried to add:

call PetscBarrier(PETSC_NULL_OBJECT); if (myid==0) print *, "xx"

to do a rough check on where the error is. xx is a different number for 
each line.

I found that whenever I add this line, the code aborts with segmentation 
error.

I am using the Intel compiler. Is there any error with my usage?

-- 
Thank you

Yours sincerely,

TAY wee-beng



More information about the petsc-users mailing list