Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Unable to run parallel program with OpenMPI 1.4

Dear Sir or Madam,

I have been using Eclipse IDE for couple of years now but I am new to Eclipse Parallel Tools Platform. I installed it (PTP) using Eclipse installer. I have Linux (Slackware 12.2). I installed OpenMPI 1.4. When I run, for example, "mpirun -np 4 dz3_1" from console it works fine. I built Scalable Debug Manager and the rest by following the steps from the Eclipse site (running sh BUILD in some directory). I created parallel resource manager for OpenMPI and it seems to work as the icon is green. I had some problems with it but I managed to solve them. I set up run configuration with resource manager OpenMPI, with debugger manager SDM. I try to run this program (dz3_1) on one machine only using Eclipse PTP.
When I click the run button the projects in the workspace are built first and then I receive the following error: "An internal error occurred during: "Launching dz3_1 (1)". "

Here is the exception stack trace:
"java.lang.NullPointerException
	at org.eclipse.ptp.remote.internal.core.LocalFileManager.getResource(LocalFileManager.java:31)
	at org.eclipse.ptp.launch.PTPLaunchPlugin.verifyResource(PTPLaunchPlugin.java:369)
	at org.eclipse.ptp.launch.AbstractParallelLaunchConfigurationDelegate.verifyResource(AbstractParallelLaunchConfigurationDelegate.java:1296)
	at org.eclipse.ptp.launch.AbstractParallelLaunchConfigurationDelegate.verifyWorkDirectory(AbstractParallelLaunchConfigurationDelegate.java:1313)
	at org.eclipse.ptp.launch.AbstractParallelLaunchConfigurationDelegate.getAttributeManager(AbstractParallelLaunchConfigurationDelegate.java:911)
	at org.eclipse.ptp.launch.ParallelLaunchConfigurationDelegate.launch(ParallelLaunchConfigurationDelegate.java:84)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)"

Here is the session data:
"eclipse.buildId=
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.cpp.product"

I was hoping someone on this list could help me with this problem.

Thank you in advance,
Best regards,
Nemanja Ilic


Back to the top