Ralph, right now, I am using ssh
one way to go is to extend the machine file syntax instead of user@host we could have user@host:port//prefix an other way would be to do this on the command line : mpirun --host host1 --prefix prefix1 a.out : -- host host2 --prefix prefix2 b.out an other really nice feature would be to have a suffix per arch, intel MPI is doing this for mic : mpirun --host cpu,mic a.out a.out runs on the Xeon and a.out.mic runs on the Xeon phi for the time being, I use a very cheap hack : replace orted with a shell scripts that exec the right binary, and replace a.out with a wrapper that 1. sets LD_LIBRARY_PATH according to the right arch since open MPI sets this for the arch on which mpirun is invoked, which might not be the expected one 2. invoke the right binary for this arch an other really nice feature would be to have mpirun invoke this wrapper "under the hood" : mpirun --wrapper wrapper.sh a.out would invoke wrapper.sh a.out on all the nodes, and in this script, I can manually execs a.out from the right path (e.g. one path per arch) an alternative to extending the machine file syntax would be to invoke an other wrapper for orted : mpirun --orted-wrapper ortedwrapper.sh --wrapper binwrapper.sh a.out that would allow the end user to "implement" self discovery cheers, Gilles On Friday, April 17, 2015, Ralph Castain <r...@open-mpi.org> wrote: > Hi Gilles > > What launch environment? We don't currently have a simple way of doing > this outside of ensuring the paths on those nodes point to the correct > default place (i.e., you can't use prefix). However, it might be possible > to add such support if we knew which nodes were what type. Unfortunately, > we would need to know that prior to launching the daemons, so we can't > self-discover it. > > > On Fri, Apr 17, 2015 at 2:32 AM, Gilles Gouaillardet <gil...@rist.or.jp > <javascript:_e(%7B%7D,'cvml','gil...@rist.or.jp');>> wrote: > >> Folks, >> >> i am trying to run heterogeneous Open MPI. >> all my nodes use NFS everything is shared, so i need to manually specify >> x86_64 nodes must use /.../ompi-x86_64 and sparcv9 nodes must use >> /.../ompi-sparcv9 >> >> is there a simple way to achieve this ? >> >> Cheers, >> >> Gilles >> _______________________________________________ >> devel mailing list >> de...@open-mpi.org <javascript:_e(%7B%7D,'cvml','de...@open-mpi.org');> >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel >> Link to this post: >> http://www.open-mpi.org/community/lists/devel/2015/04/17237.php >> > >