Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] cannot call member function 'virtual void MPI::MPI::Datatype::Commit()' without an object
From: Victor Pomponiu (victor.pomponiu_at_[hidden])
Date: 2012-01-25 05:03:23


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