version 1.227 | version 1.228 |
---|
| |
if (trans_handle == NULL) setup_persistent(); | if (trans_handle == NULL) setup_persistent(); |
#endif | #endif |
#if CMK_SMP && USE_CKLOOP | #if CMK_SMP && USE_CKLOOP |
Bool useCkLoop = Node::Object()->simParameters->useCkLoop; | int useCkLoop = Node::Object()->simParameters->useCkLoop; |
if(useCkLoop>=CKLOOP_CTRL_PME_SENDTRANS | if(useCkLoop>=CKLOOP_CTRL_PME_SENDTRANS |
&& CkNumPes() >= 2 * initdata.xBlocks * initdata.yBlocks) { | && CkNumPes() >= 2 * initdata.xBlocks * initdata.yBlocks) { |
/** | /** |
| |
if (trans_handle == NULL) setup_persistent(); | if (trans_handle == NULL) setup_persistent(); |
#endif | #endif |
#if CMK_SMP && USE_CKLOOP | #if CMK_SMP && USE_CKLOOP |
Bool useCkLoop = Node::Object()->simParameters->useCkLoop; | int useCkLoop = Node::Object()->simParameters->useCkLoop; |
if(useCkLoop>=CKLOOP_CTRL_PME_SENDTRANS | if(useCkLoop>=CKLOOP_CTRL_PME_SENDTRANS |
&& CkNumPes() >= 2 * initdata.xBlocks * initdata.zBlocks) { | && CkNumPes() >= 2 * initdata.xBlocks * initdata.zBlocks) { |
/** | /** |
| |
if (untrans_handle == NULL) setup_persistent(); | if (untrans_handle == NULL) setup_persistent(); |
#endif | #endif |
#if CMK_SMP && USE_CKLOOP | #if CMK_SMP && USE_CKLOOP |
Bool useCkLoop = Node::Object()->simParameters->useCkLoop; | int useCkLoop = Node::Object()->simParameters->useCkLoop; |
if(useCkLoop>=CKLOOP_CTRL_PME_SENDUNTRANS | if(useCkLoop>=CKLOOP_CTRL_PME_SENDUNTRANS |
&& CkNumPes() >= 2 * initdata.yBlocks * initdata.zBlocks) { | && CkNumPes() >= 2 * initdata.yBlocks * initdata.zBlocks) { |
int xBlocks = initdata.xBlocks; | int xBlocks = initdata.xBlocks; |
| |
if (untrans_handle == NULL) setup_persistent(); | if (untrans_handle == NULL) setup_persistent(); |
#endif | #endif |
#if CMK_SMP && USE_CKLOOP | #if CMK_SMP && USE_CKLOOP |
Bool useCkLoop = Node::Object()->simParameters->useCkLoop; | int useCkLoop = Node::Object()->simParameters->useCkLoop; |
if(useCkLoop>=CKLOOP_CTRL_PME_SENDUNTRANS | if(useCkLoop>=CKLOOP_CTRL_PME_SENDUNTRANS |
&& CkNumPes() >= 2 * initdata.xBlocks * initdata.zBlocks) { | && CkNumPes() >= 2 * initdata.xBlocks * initdata.zBlocks) { |
int yBlocks = initdata.yBlocks; | int yBlocks = initdata.yBlocks; |
| |
} | } |
| |
#if CMK_SMP && USE_CKLOOP | #if CMK_SMP && USE_CKLOOP |
Bool useCkLoop = Node::Object()->simParameters->useCkLoop; | int useCkLoop = Node::Object()->simParameters->useCkLoop; |
if(useCkLoop>=CKLOOP_CTRL_PME_SENDUNTRANS | if(useCkLoop>=CKLOOP_CTRL_PME_SENDUNTRANS |
&& CkNumPes() >= 2 * initdata.xBlocks * initdata.yBlocks) { | && CkNumPes() >= 2 * initdata.xBlocks * initdata.yBlocks) { |
//????What's the best value for numChunks????? | //????What's the best value for numChunks????? |