[mpich-discuss] mpicxx.h compilation error on intrepid BG/P
Miles Lubin
mlubin at mcs.anl.gov
Thu Jun 7 17:27:43 CDT 2012
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
More information about the mpich-discuss
mailing list