Hi,
I cannot call MPI::Datatype::Commit() and MPI::Datatype::Get_size() functions from my program. The error that I receive is the some for both of them:
"cannot call member function 'virtual void MPI::Datatype::Commit()' without an object
or
"cannot call member function 'virtual void MPI::Datatype::Get_size()' without an object
If I'm providing an input parameter to them I will receive this error:
e.g.,
>MPI::Datatype::Commit(MPIVecDataBlock)
'no matching function for call to ‘MPI::Datatype::Commit(MPI::Datatype&)’
However, MPI::Datatype::Creat_struct(....) can be found.
Anyone can tell me how to solve this issue?
Thanks
V