TAY wee-beng <[email protected]> writes:

> Hi Barry,
>
> As I mentioned earlier, the code works fine in PETSc debug mode but 
> fails in non-debug mode.
>
> My code works in this way:
>
> */DM  da_u,da_v,da_w/**/
> /**/
> /**/Vec 

This formatting is NOT easy to read.  Please send text.

http://lists.mcs.anl.gov/pipermail/petsc-users/2014-April/021239.html

> /**/To access the arrays, I did the following:/**/
> /**/
> /**/call DMDAVecGetArrayF90(da_u,u_local,u_array,ierr);    call 
> DMDAVecGetArrayF90(da_v,v_local,v_array,ierr);    call 
> DMDAVecGetArrayF90(da_w,w_local,w_array,ierr)/**/
> /**/
> /**/call I_IIB_uv_initial_1st_dm0(...,u_array,v_array,w_array)/**/
> /**/
> /**/call DMDAVecRestoreArrayF90(da_w,w_local,w_array,ierr)/**/
> /**/
> /**/call DMDAVecRestoreArrayF90(da_v,v_local,v_array,ierr)/**/-> hangs 
> at this point/**/or/**/

Which processes hang here?  Where are the other processes?  Get stack
traces for each process.  You can build in "optimized" mode with
debugging symbols.

Attachment: pgpcZn3I1V8jH.pgp
Description: PGP signature

Reply via email to