Hi,
I was just reviewing my files in order to sent them to Jeff, And fixed the
problem!!
I should've written:
mca_base_param_string_name("rds_hostfile", "path" . . . );
instead if:
mca_base_param_string("rds_hostfile", "path" . . .);
in the component file, 'open' function.
But I don't understand how it compiled? The is no function
mca_base_param_string that takes string as first param (I know it doesn't
comple in the module file)
I compile using 'make all install' in the openmpi dir
Thanks
--David
On Mon, 29 Oct 2007, Jeff Squyres wrote:
> Sorry guys, I did miss this earlier.
>
> I don't see a patch anywhere in the e-mail thread below -- can
> someone send me the problematic code in question?
>
> FWIW: The MCA param space is global, so there's no reason that a new/
> different RDS shouldn't be able to read the hostfile MCA parameter.
>
>
>
> On Oct 28, 2007, at 2:09 PM, Ralph Castain wrote:
>
> > Yo Jeff
> >
> > This may have slipped through your inbox (had OMPI devel in
> > subject, so may
> > have been caught in some filter) - could you please provide any
> > thoughts on
> > why the hostfile isn't getting picked up correctly? As I indicated
> > on the
> > prior note, I verified that it is working for the default hostfile
> > component
> > - I can't see anything wrong in David's call to cause the problem.
> > Please
> > refer to the prior note for that code.
> >
> > Thanks
> > Ralph
> >
> >
> >
> > On 10/28/07 10:31 AM, "David Erukhimovich"
> > wrote:
> >
> >> Thank you very much for the patch, it helped me a lot (It works!) and
> >> I'm really appreciate this.
> >>
> >> p.s. Any idea about the rds thing?
> >>
> >> Regards
> >> --David
> >>
> >>
> >> Ralph H Castain wrote:
> >>> Hi David
> >>>
> >>> Here is the promised patch - it passes params just fine, but I
> >>> cannot vouch
> >>> for any unintended consequences. I -think- it will be fine, but
> >>> it lacks all
> >>> the usual testing for a patch to an official release.
> >>>
> >>> Hope it helps
> >>> Ralph
> >>>
> >>>
> >>>
> >>> On 10/20/07 10:10 AM, "David Erukhimovich"
> >>> wrote:
> >>>
>
> Hi Ralph,
>
> 2. I do want the user to be able to switch between my way of
> process
> launching, and the default way. I can do it using an mca flag,
> but I would
> prefer a new component. If I is not too defficult for you,
> please make the
> patch, if it is, I'll just use an mca flag.
>
> 1. Just remmembered another difficulty I had: I've created a new
> rds
> component identical to the hostfile one. lets call it mosix.
> Now, orterun
> is saving the hostfile path in the mca parameter -
> rds_hostfile_path or
> something like that. when I try to retrieve rds_hostfile_path or
> rds_mosix_path in rds_mosix component I always get the default
> hostfile path
> (doesn't matter if I gave an hostfile or not). And I tried
> everything -
> changing names in rds_mosix_component, declaring a new parameter
> rds_mosix_path in various places etc. So now I'm just altering
> the existing
> hostfile component.
> Do you have any suggestions how to make it work?
>
> Sorry for all the questions and thank you very much for the
> quick answers
>
> Regards
> --David
>
> -- Forwarded message --
> From: Ralph Castain
> Date: Oct 20, 2007 5:12 PM
> Subject: Re: [OMPI devel] Trying to get total procs num in odls
> framework
> To: David Erukhimovich
>
> Hi David
>
> Thanks for the info - see comments below.
>
> Ralph
>
>
> On 10/20/07 6:58 AM, "David Erukhimovich"
> wrote:
>
> > Hi
> > Thank you for your answer.
> >
> > First of all, my two questions wasn't connected and they belong to
> different
> > part of my project. and the subject of the mail should have
> > been: Trying
> to
> > get total procs num in rds framework (sorry my mistake).
> >
> > Here the parts in the order of the last email
> >
> > 1. I've solved the problem about getting total num of procs in
> > rds (just
> > called some function incorrectly), so sorry for disturbing you
> > about
> that.
> > Now a bit more about what I'm trying to do, maybe there is a
> > better way
> then
> > mine:
> > I have a tool (external application) that given a list of
> > machines and a
> > number n , it chooses the n best ones from the list (least
> > loaded ones)
> and
> > if the list of machines isn't given, it just returns the n best
> > machines
> > from the claster. I am wishing to include this in ompi. hence -
> > given a
> > machinefile, It'll run the process only on the best nodes. If a
> machinefile
> > isn't given, it'll take the best node that my application returns.
> > I think the best p