The PTP plug-in provides the following functionality
If you plan to do Java or Eclipse development, get the Eclipse SDK. If you just want C/C++ (or Fortran via Photran) then the Platform runtime Binary only is smaller and less complex. It's on the "Other downloads" page for the release.
See Installing Eclipse and PTP for detailed instructions on downloading Eclipse, installing CDT, etc.
and any other options required for your installation.
mpicc test.c -o test mpirun -np 4 test
archcorrespond to your operating system and architecture respectively. Change to this directory.
This should build and install the executables.
If you see any errors here, please
refer to the Trouble Shooting section below.
If you installed OpenMPI in a non-standard location, see below also for an alternate build command.
-cleanparameter to force it to recognize new features and plug-ins).
This is because OpenMPI was not configured to include the development headers. You need to re-run the configure command
for the OpenMPI installation specifying the
If this dialog is replaced with an error dialog after a delay, and you are running PTP on a Linux system, then it is likely that you have not installed either the Sun or IBM Java Runtime Environments. The Java that is shipped with Linux will not work with PTP.
In all other cases, this is almost always a problem with the location of the OpenMPI shared libraries on Linux systems. The proxy server is dynamically linked against the OpenMPI libraries, so needs to be able to locate your OpenMPI libraries in order to run.
You can check this by manually running the proxy server using the command
the locatation of your Eclipse installation and
arch with your operating system and
architecture respectively). If you see anything other than the message "
proxy_svr_connect returned." then this
is likely to be the problem.
/lib, or you have set your
LD_LIBRARY_PATHenvironment variable correctly.
.profilemay not be sufficient; even if you can run an MPI program using
mpirunsuccessfully from a shell it does not necessarily mean that the window manager is set up correctly. Consult your window manager documentation for information on how to set environment variables.
"There was an error starting the OMPI proxy runtime. The path to 'ptp_orte_proxy' or 'orted' may have been incorrect. The 'orted' binary MUST be in your PATH to be found by 'ptp_orte_proxy'. Try checking the console log or error logs for more detailed information."
This is a similar problem to the shared library issue above. Make sure that your PATH is set to correctly include the location
of the OpenMPI
environment.plistin a directory called
.MacOSXin your home directory.
The file should look like this, with
[path_to_ompi_binaries] replaced with the correct path:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PATH</key> <string>[path_to_ompi_binaries]</string> </dict> </plist>
Yes. The standard location is
If you install it to, e.g.,
then when you build the platform-specific PTP code, instead of
you should use the following command:
CFLAGS=-I/usr/local/openmpi/include LDFLAGS="-L/usr/local/openmpi/lib -Wl,-rpath,/usr/local/openmpi/lib" sh BUILD
The Parallel Language Development Tools require an MPI installation to be available on the machine running Eclipse. Unlike PTP, any MPI installation should work (MPICH, LAM-MPI, etc.) The Parallel Language Development Tools only requires access to the MPI header files to be able to recognize the MPI artifacts.
See the Photran project.
Back to the top