Hi,
I have set up Eclipse, PTP, and OpenMPI according to the
directions. I can’t run anything using PTP, though. In
addition, it says there is only one machine, Machinemachine0, in the
launcher. This is on a 64-bit Linux cluster.
I _can_ run
MPI programs using OpenMPI. However, in order to use other nodes than the
head node, I need to use:
mpiexec --prefix /clhome/EVANS/openmpi --machinefile
machines -n 25 helloWorld
I see no place in Eclipse | Preferences to set the machine
nodes.
I can also run an OpenMPI parallel program using the
External Tools launcher.
I have set up a launch configuration as described in
Help. When I run it, I get:
--------------------------------------------------------------------------------
Exception occurred during launch
Reason: Error within Debug UI:
Details: Java.lang.reflect.InvocationTargetException
--------------------------------------------------------------------------------
(BTW I am using Run, not Debug, to launch.)
My environment is set up in .login to point to an MPICH2
installation. I reset PATH and LD_LIBRARY_PATH in the script that
launches Eclipse. BTW this was done in the shell in which I ran “sh
BUILD”. Thus there _could_
be a conflict, but it doesn’t look like there should be.
I can _build_
MPICH2 applications in an MPICH2 project by setting the PATH and
LD_LIBRARY_PATH in the environment for the make Project. (I am using
Standard, not Managed C / C++ builds). And I can _build_ OpenMPI applications in an OpenMPI
project without setting PATH and LD_LIBRARY_PATH. Thus, it seems I have
the paths set up OK.
I get these messages, which I don’t understand, when
starting Eclipse.
--------------------------------------------------------------------------------
41 blacklab.aps.anl.gov:bin>runEclipse
[1] 7010
42 blacklab.aps.anl.gov:bin>In
getResourceManagerFactories
retrieved factory: Simulation,
org.eclipse.ptp.simulation.core.resourcemanager
leaving getResourceManagerFactories
Your Control System Choice: '<UNDEFINED CS>'
Your Monitoring System Choice: '<UNDEFINED MS>'
No previous (or invalid) control or monitoring system
selected.
Default systems set to Open Runtime Environment
(ORTE). To change, use the Window->Preferences->PTP preferences
page.
Your Default Control System Choice: 'Open Runtime
Environment (ORTE)'
Your Default Monitoring System Choice: 'Open Runtime
Environment (ORTE)'
In retrieveConfigurationWizardPageFactories
wizard page factory:
org.eclipse.ptp.simulation.ui.wizards.SimulationRMConfigurationWizardPageFactory@5e28df48
for class: class org.eclipse.ptp.rmsystem.SimulationResourceManagerFactory
leaving retrieveConfigurationWizardPageFactories
XXXXXXXXXXX refreshRuntimeSystems(false),
isInitialized():false
XXXXXXXXXXX refreshRuntimeSystems calling initialize(),
force:false, isInitialized():false
refreshRuntimeSystems
SHUTTING DOWN CONTROL/MONITORING/PROXY systems where
appropriate
User selected 1 simulated machines.
SimPreferences: Machine 0 = 1 nodes
ModelManager.runtimeNodeGeneralName - #keys = 2, #values = 2
Unknown machine ID (machine0), adding to the model.
Unknown node number (0), adding to the model.
OS = 'linux', Architecture = 'x86_64', OS_ARCH combo =
'org.eclipse.ptp.linux.x86_64'
PTP Version = 1.1.0
All Found Fragments:
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.macosx.x86_1.1.0/
[118]
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.ppc_1.1.0/ [126]
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_1.1.0/ [138]
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_64_1.1.0/
[145]
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.macosx.ppc_1.1.0/
[151]
Testing fragment 1 with this OS/arch - path: '/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.macosx.x86_1.1.0/'
Testing fragment 2 with this OS/arch - path:
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.ppc_1.1.0/'
Testing fragment 3 with this OS/arch - path:
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_1.1.0/'
Testing fragment 4 with this OS/arch - path:
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_64_1.1.0/'
Correct fragment for our OS & arch
Searching for file in
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_64_1.1.0/bin/sdm'
**** FOUND IT!
OS = 'linux', Architecture = 'x86_64', OS_ARCH combo =
'org.eclipse.ptp.mpich2.proxy.linux.x86_64'
PTP Version = 1.1.0
All Found Fragments:
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.macosx.x86_1.1.0/
[118]
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.ppc_1.1.0/ [126]
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_1.1.0/ [138]
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_64_1.1.0/
[145]
update@../eclipsePlugins/eclipse/plugins/org.eclipse.ptp.macosx.ppc_1.1.0/
[151]
Testing fragment 1 with this OS/arch - path:
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.macosx.x86_1.1.0/'
Testing fragment 2 with this OS/arch - path:
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.ppc_1.1.0/'
Testing fragment 3 with this OS/arch - path:
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_1.1.0/'
Testing fragment 4 with this OS/arch - path:
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.linux.x86_64_1.1.0/'
Testing fragment 5 with this OS/arch - path:
'/clhome/EVANS/eclipsePlugins/eclipse/plugins/org.eclipse.ptp.macosx.ppc_1.1.0/'
--------------------------------------------------------------------------------
So it seems something isn’t set up right, in
particular, the available machines, but I can’t see any configuration to
fix it.
Thanks for any help.
-Ken