> -----Original Message-----
> From: Jeff Squyres [mailto:jsquyres_at_[hidden]]
> Sent: Thursday, March 27, 2008 1:38 PM
> To: Lenny Verkhovsky
> Cc: Ralph H Castain; Sharon Melamed; Open MPI Developers
> Subject: Re: RMAPS rank_file component patch and modifications for
> A few more comments on top of what Tim / Ralph said:
> - opal_paffinity MCA params should be defined and registered in the
> opal paffinity base (in the base open function so that ompi_info can
> still see them), not opal/runtime/opal_params.c.
> - I don't have a problem with setting the paffinity slot list from
> ompi_mpi_init, but we should probably make the corresponding MCA
> parameter be an "mpi_*" name; because this is functionality that is
> being exported through the MPI layer. Additionally, the name
> "mpi_<whatever>" will make more sense to users; they don't know
> anything about opal/orte -- "mpi_<whatever>" resonates with running
> their MPI job.
I think in opal_paffinity_base it makes more sense and ompi_mpi_init
will look cleaner.
> - I don't think we can delete the MCA param ompi_paffinity_alone; it
> exists in the v1.2 series and has historical precedent.
It will not be deleted,
It will just use the same infrastructure ( slot_list parameter and
opal_base functions ). It will be transparent for the user.
User have 3 ways to setup it
1. mca opal_paffinity_alone 1
This will set paffinity as it did before
2. mca opal_paffinity_slot_list "slot_list"
Used to define slots that will be used for all ranks on all
3. mca rmaps_rank_file_path rankfile
Assigning ranks to CPUs according to the file
Rank_file_path can be used with opal_paffinity_slot_list
In this case all undefined by rankfile ranks will be assigned by
opal_paffinity_slot_list mca parameter.
> - Note that symbols that are static don't have to abide by the prefix
> rule. I'm not saying you need to change anything -- you don't -- I
> just notice that you made some symbols both static and use the prefix
> rule. That's fine, but if you want to use shorter symbol names for
> static symbols, that's fine too.
> On Mar 26, 2008, at 6:01 AM, Lenny Verkhovsky wrote:
> > Hi, all
> > Attached patch for modified Rank_File RMAPS component.
> > 1. introduced new general purpose debug flags
> > mpi_debug
> > opal_debug
> > 2. introduced new mca parameter opal_paffinity_slot_list
> > 3. ompi_mpi_init cleaned from opal paffinity functions
> > 4. opal paffinity functions moved to new file opal/mca/paffinity/
> > base/paffinity_base_service.c
> > 5. rank_file component files were renamed according to prefix
> > policy
> > 6. global variables renamed as well.
> > 7. few bug fixes that were brought during previous discussions.
> > 8. If user defines opal_paffinity_alone and rmaps_rank_file_path
> > or opal_paffinity_slot_list,
> > then he gets a Warning that only opal_paffinity_alone will be used.
> > .
> > Best Regards,
> > Lenny.
> > <rank_file.patch>
> Jeff Squyres
> Cisco Systems