Open MPI logo

PLPA Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all PLPA Users mailing list

Subject: Re: [PLPA users] [PATCH 0/5] Greatly reduce memory needs for socketarrays
From: Bert Wesarg (bert.wesarg_at_[hidden])
Date: 2009-07-24 14:19:37


On Fri, Jul 24, 2009 at 14:05, Jeff Squyres<jsquyres_at_[hidden]> wrote:
> Sounds great!
>
> Were you able to test these on the Altix?
Sorry, but time was short today.

>
> I'm having great difficulty applying these patches, probably because of
> various stupid email issues.  Can you re-send them as attachments?  Or do
> you want to commit them directly?
I would, but I need to find my access code.

>> (Optional) Patch 5/5 will introduce get_socket_info3(), so that the user
>> can have access
>> to the min_socket_id.
I would also change this function to return (1 << socket_index_shift)
as an increment variable too. So a loop over all socket_ids would look
like:

    int socket, min_socket, socket_inc, max_socket;
    get_socket_info4(..., &min_socket, &socket_inc, &max_socket);
    for (socket = min_socket; socket <= socket_max; socket += socket_inc)
        ...

Bert