I am getting the warnings after an upgrade to
mx-1.2.4 and openmpi-1.2.4.
Either using the env variable setting MX_RCACHE=2, or linking the
application with -lmyriexpress removes the warnings.
Is either one of them the preferred way of doing it?
> -----Original Message-----
> From: users-bounces_at_[hidden] [mailto:users-bounces_at_[hidden]]
> Behalf Of Scott Atchley
> Sent: Tuesday, July 10, 2007 3:31 PM
> To: Open MPI Users
> Subject: Re: [OMPI users] warning:regcache incompatible with malloc
> On Jul 10, 2007, at 3:24 PM, Tim Prins wrote:
> > On Tuesday 10 July 2007 03:11:45 pm Scott Atchley wrote:
> >> On Jul 10, 2007, at 2:58 PM, Scott Atchley wrote:
> >>> Tim, starting with the recently released 1.2.1, it is the default.
> >> To clarify, MX_RCACHE=1 is the default.
> > It would be good for the default to be something where there is no
> > warning
> > printed (i.e. 0 or 2). I see the warning on the current trunk.
> > Tim
> After further discussion in-house, the warning can be avoided if -
> lmyriexpress is included when linking the app (i.e. if it is in mpicc
> when linking).
> Another clarification, the regache does work with several replacement
> malloc libraries. If the user application overloads mmap(), munmap()
> and sbrk(), then it may or may not work. In this case, the user
> should use MX_RCACHE=0.
> users mailing list