I prefer to just set the environment variable in my .bashrc so I never
have to think about it again. Also it might be slightly better since
Open MPI tries to be network neutral, and linking the application
against the Myrinet libraries violates that principle. But if you are
only ever going to use the particular compilation with Myrinet anyways,
I suppose it does not matter.
I guess this is a long way of saying that it is just personal preference.
Hope this helps,
de Almeida, Valmor F. wrote:
> 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
>>> printed (i.e. 0 or 2). I see the warning on the current trunk.
>> 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
> users mailing list