fix a bug in error checking for MPI_Gather, only root rank has a valid recvBuf pointe...
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 14 Mar 2012 22:30:51 +0000 (17:30 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 14 Mar 2012 22:30:51 +0000 (17:30 -0500)
commit89f000c14df15144b30fffabfea12463aedcf103
tree6bd6678f906c6541fbe6a89f9751e06d0e163141
parent157c58485b7c382a2bae0acf188211784a661a25
fix a bug in error checking for MPI_Gather, only root rank has a valid recvBuf pointer. (need to be careful about error checking).
Also changed deprecated CMK_OPTIMIZE to CMK_ERROR_CHECKING
src/libs/ck-libs/ampi/ampi.C