[mpich-discuss] mpicxx.h compilation error on intrepid BG/P

Pavan Balaji balaji at mcs.anl.gov
Mon Jul 9 19:39:02 CDT 2012


Do you have a small program that can reproduce this?

  -- Pavan

On 06/07/2012 05:27 PM, Miles Lubin wrote:
> I've encountered a strange compilation error when building a large C++ project on Intrepid at ANL using mpixlcxx, and Jeff Hammond suggested to see if anyone here has an idea.
>
> This is the only output of the compiler:
> "/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/include/mpicxx.h", line 513.88: 1540-0301 (S) The "protected" member "MPI::Datatype::the_real_datatype" cannot be accessed.
> "/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/include/mpicxx.h", line 514.16: 1540-1102 (W) "v3" might be used before it is set.
> "/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/include/mpicxx.h", line 519.85: 1540-0301 (S) The "protected" member "MPI::Datatype::the_real_datatype" cannot be accessed.
> "/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/include/mpicxx.h", line 520.16: 1540-1102 (W) "v3" might be used before it is set.
> "/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/include/mpicxx.h", line 530.95: 1540-0301 (S) The "protected" member "MPI::Datatype::the_real_datatype" cannot be accessed.
>
>
> Has this been encountered before? Syntactically it seems like a compiler error, because this code is in the Status class which is declared as a friend of Datatype. I'm unable to reproduce the issue using a small test case; it only occurs when building the large project.
>
> Thanks,
> Miles
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji




More information about the mpich-discuss mailing list