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

Reply via email to