Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] A problem with 'mpiexec -launch-agent'
From: Reuti (reuti_at_[hidden])
Date: 2010-06-15 08:59:10


Am 15.06.2010 um 14:52 schrieb Jeff Squyres:

> On Jun 14, 2010, at 3:13 PM, Reuti wrote:
>
>>> bash: -c: line 0: syntax error near unexpected token `('
>>> bash: -c: line 0: ` PATH=/OMPI_dir/bin:$PATH ; export PATH ;
>>> LD_LIBRARY_PATH=/OMPI_dir/lib:$LD_LIBRARY_PATH ; export
>>> LD_LIBRARY_PATH ; /some_path/myscript /OMPI_dir/bin/(null) --
>>> daemonize -mca ess env -mca orte_ess_jobid 1978662912 -mca
>>> orte_ess_vpid 1 -mca orte_ess_num_procs 2 --hnp-uri
>>> "1978662912.0;tcp://180.0.14.12:54844;tcp://190.0.14.12:54844"'
>
> The problem is that "(null)" in the middle. We'll have to dig into how that got there... Reuti's probably right that something is somehow NULL in there, and glibc is snprintf'ing (null) instead of SEGV'ing.

I think the problem is not only the (null) itself, but also the output "prefix_dir" and "bin_base" (unless the launch-agent would have ignore/interpret $1 $2 in a proper way). The (null) is then the content of "orted_cmd".

-- Reuti

>
> Ralph and I are talking about this issue, but we're hindered by the fact that I'm at the MPI Forum this week (i.e., meetings are taking up all my days). I haven't had a chance to look at the code in depth yet.
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users