1
どのようにして行うのですか?boost::mpi
1.53? (これはCentOS 7のバージョン)boost :: mpi 1.53 in place all_reduce
ブースト1.61はboost::mpi::inplace_t
(doc)ですが、ブースト1.53は(doc)ではありません。
1.61のために、私が使用することができます。
boost::mpi::all_reduce(
comm,
boost::mpi::inplace_t<int*>(ptr_int_array),
n_elements,
op);