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

Jeff Hammond jhammond at alcf.anl.gov
Mon Jul 9 19:40:56 CDT 2012


I am nearly certain this is a BGP-specific problem related to the
compiler.  Let's take it offline.  I'm busy until Thursday but we can
resolve it in person then.

Jeff

On Mon, Jul 9, 2012 at 7:39 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
>
> 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
>
>
>
> _______________________________________________
> 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



-- 
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond


More information about the mpich-discuss mailing list