Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] debugger changes
From: Ralph Castain (rhc_at_[hidden])
Date: 2011-11-08 18:32:35


On Nov 8, 2011, at 3:56 PM, Paul H. Hargrove wrote:

> In theory, might a sufficiently smart compiler and linker eliminate some MPIR_* variables after optimization? If that could potentially be true, then perhaps the volatile qualifier would prevent such a removal, which would break the existence check(s) by the debugger? Just a thought.

That was the experience - after thrashing for quite some time, we finally found that the volatile qualifiers fixed the problem. Hence my request that people check to see if anything is broken.

>
> -Paul
>
> On 11/8/2011 2:46 PM, George Bosilca wrote:
>> This value is not even read by the debugger. It only check for it's existence in the startup process, so I guess we're safe here as well.
>
> --
> Paul H. Hargrove PHHargrove_at_[hidden]
> Future Technologies Group
> HPC Research Department Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel