Back in the days when I worked on heterogeneous machines like this, I had logic 
in my shell startup files to set paths properly.  E.g. (pseudocode):

-----
arch=`config.guess`
switch $arch:
case *x86_64-linux*)
  prefix_path=$HOME/x86_64-linux-stuff/bin
  prefix_ldpath=$HOME/x86_64-linux-stuff/lib
  prefix_manpath=$HOME/x86_64-linux-stuff/share/man
  ;;
case *sparc*)
  prefix_path=$HOME/sparc/bin
  prefix_ldpath=$HOME/sparc/lib
  prefix_manpath=$HOME/sparc/share/man
  ;;
...etc.

export PATH=$prefix_path:$PATH
export LD_LIBRARY_PATH=$prefix_ldpath:$LD_LIBRARY_PATH
export MANPAHE=$prefix_manpath:$MANPATH
-----


> On Apr 17, 2015, at 5:34 AM, 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> 
> 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
> 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
> 
> _______________________________________________
> devel mailing list
> 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/17238.php


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to