Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Warning: declaration ‘struct MPI::Grequest_intercept_t’ does not declare anything
From: Alexey Sokolov (gabbear_at_[hidden])
Date: 2009-07-22 03:17:54


Hi

I faced a warning "declaration ‘struct MPI::Grequest_intercept_t’ does
not declare anything" using openmpi 1.2.4 (compiling under Fedora 10
with mpic++ wrapper over gcc 4.3.2) and don't know how to solve it.
Browsing the Internet i've found an advise just to ignore it, but i
don't think it is impossible to solve it in another way.

I have a correct working single thread program. Then i just include
mpi.h, compile and get this:

        In file included
        from /usr/include/openmpi/1.2.4-gcc/openmpi/ompi/mpi/cxx/mpicxx.h:246,
                         from /usr/include/openmpi/1.2.4-gcc/mpi.h:1783,
        
        from /home/user/NetBeansProjects/Correlation_orig/Correlation/Correlation.cpp:2:
        /usr/include/openmpi/1.2.4-gcc/openmpi/ompi/mpi/cxx/request_inln.h:347: warning: declaration ‘struct MPI::Grequest_intercept_t’ does not declare anything
        
The program is still works correctly but this warning makes me nervous.

Sincerely yours, Alexey.