Hi,

may I ask why you need/want to launch orted manually ?

unless you are running under a batch manager, Open MPI uses the rsh pml to
remotely start orted.
basically, it does
ssh host orted <orted params>

the best I can suggest is you do

mpirun --mca orte_rsh_agent myrshagent.sh --mca orte_launch_agent
mylaunchagent.sh  ...
under the hood, mpirun will do
myrshagent.sh host mylaunchagent.sh <orted params>

Cheers,

Gilles

On Thursday, June 2, 2016, Du, Fan <fan...@intel.com> wrote:

> Hi folks
>
> Starting from Open MPI, I can launch mpi application a.out as following on
> host1
> mpirun --allow-run-as-root --host host1,host2 -np 4 /tmp/a.out
>
> On host2, I saw an proxy, say orted here is spawned:
> orted --hnp-topo-sig 4N:2S:4L3:20L2:20L1:20C:40H:x86_64 -mca ess env -mca
> orte_ess_jobid 1275133952 -mca orte_ess_vpid 1 -mca orte_ess_num_procs 2
> -mca orte_hnp_uri 1275133952.0;tcp://host1_ip:40024 --tree-spawn -mca plm
> rsh --tree-spawn
>
> It seems mpirun use ssh as launcher on my system.
> What if I want to run orted things manually, not by mpirun automatically,
> I mean, does mpirun has any option to produce commands for orted?
>
> As for MPICH2 implementation, there is "-launcher manual" option to make
> this works,
> for example:
> # mpiexec.hydra -launcher manual -np 4 htop
> HYDRA_LAUNCH: /usr/local/bin/hydra_pmi_proxy --control-port
> grantleyIPDC04:34652 --rmk user --launcher manual --demux poll --pgid 0
> --retries 10 --usize -2 --proxy-id 0
> HYDRA_LAUNCH_END
>
> Then I can manually run hydra_pmi_proxy with commands, and mpiexec.hydra
> will proceed on.
>
> Thanks!
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2016/06/29346.php
>

Reply via email to