From e57eafe3880bcbd2862bf07054f000fca448094b Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 26 Apr 2017 14:46:52 -0400 Subject: [PATCH] Fix to multinode code --- lib/stencil/Stencil.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/stencil/Stencil.h b/lib/stencil/Stencil.h index bcfbaa98..79f4727f 100644 --- a/lib/stencil/Stencil.h +++ b/lib/stencil/Stencil.h @@ -215,7 +215,6 @@ class CartesianStencil { // Stencil runs along coordinate axes only; NO diagonal _grid->ShiftedRanks(dimension,nbr_proc,xmit_to_rank,recv_from_rank); void *shm = (void *) _grid->ShmBufferTranslate(recv_from_rank,u_recv_buf_p); - if ( shm==NULL ) return 0; return 1; @@ -821,7 +820,6 @@ class CartesianStencil { // Stencil runs along coordinate axes only; NO diagonal send_buf = (cobj *)_grid->ShmBufferTranslate(xmit_to_rank,recv_buf); if ( send_buf==NULL ) { send_buf = u_send_buf_p; - shm_receive_only = 0; } // Find out if we get the direct copy.