Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] Absolute/relative paths of orted
From: McGehee, Robert (Robert.McGehee_at_[hidden])
Date: 2012-04-22 14:11:17

I've installed openmpi 1.5.5 on both my Mac and Linux servers using the ssh/rsh process manager. I can successfully run a program across both servers from my Mac, but not from my Linux server as the Linux server seems to be trying to run orted using an absolute path rather than a relative one. Quick question is: how can I get my Linux server to use a relative path, rather than absolute path, for orted?

First, let's verify that orted can be found in each computer's path in a remote login:
[macserver]~> ssh linuxserver which orted
[linuxserver]~> ssh macserver which orted

Initiating mpirun from the Mac works fine:
[macserver]~> mpirun -n 2 -H macserver,linuxserver hostname

But not from Linux:
[linuxserver]~> mpirun -n 2 -H macserver,linuxserver hostname
bash: /data/gentoo/usr/bin/orted: No such file or directory

Also, the launch-agent argument doesn't help any as the launch-agent is still expected in the /data/... path:
[linuxserver]~> mpirun -launch-agent XYZ -n 2 -H macserver,linuxserver hostname
bash: /data/gentoo/usr/bin/XYZ: No such file or directory

If I create a /data/gentoo/usr/bin directory on the Mac with an orted symlink to the correct location, mpi will run correctly when started from Linux. However, (aside from being inelegant) I intend to use openmpi on a heterogeneous cluster in which orted may be installed in multiple non-standard locations. I will neither have root access to all computers nor do I want to manage a network of symlinks on every computer in the cluster.

So, my simple question is, how can I get my Linux server to look for orted in the Mac's PATH, rather than it specifying an absolute path that isn't there?

Thanks, Robert