[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Cannot discover the OpenMPI configuration

The most common reason for this problem is that the ompi_info command can't be found in your path. This is complicated because not only are your paths on the local and remote systems usually different, but Eclipse obtains its paths from different places depending on how it is launched. Here are some things you can do:

1. Run the command "ssh remote_host ompi_info -a --parseable". If this works, then your shell paths are correct. If not, then you probably need to change your path on the remote system.

2. If you're having problems using Open MPI installed on the local machine, start Eclipse from a shell so that it picks up the correct paths. If this works and you want to launch Eclipse from the window system, you need to find out how to change the path. This is usually NOT the same as setting the PATH variable in your bash_profile.

3. If you're still having problems, on the Open MPI tool configuration page of the resource manager configuration wizard, uncheck "Use default location" and enter the path of the directory containing ompi_info (e.g. /usr/local/bin).

Hope this helps,
Greg

On Apr 12, 2010, at 6:04 AM, åæè wrote:

> I try to use PTP as my client to get access to our remote server. But when I try to set up and start a resource manager using remote tools, it fail with an message as follow:
> "Failed to start resource manager
> Reason:
> Unable to determine version of Open MPI. Please check discover command is correct."
> I checked the discover command which is "ompi_info -a --parseable", and I ran the script in an ssh client and the result(as attached) is fine.
> Then I tried the same PTP client with my laptop as server, and it worked.
> Then since I have the source code of PTP, I tried to debug this problem, finding that there is no output of the command "ompi_info -a --parseable" when I use our remote server as our PTP server, but I did get output when I change the discover command to "ls -l".
> So, I think this should be some configuration problem on our remote server.
> How should I configure our remote server to get access to it?
> 
> Thanks,
> Wenfu
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user