Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327700 - Creation of MPI Pi project fails with NPE (toolchain problem?)
Summary: Creation of MPI Pi project fails with NPE (toolchain problem?)
Status: CLOSED DUPLICATE of bug 303250
Alias: None
Product: PTP
Classification: Tools
Component: PLDT (show other bugs)
Version: 4.0.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 14:37 EDT by Beth Tibbitts CLA
Modified: 2011-06-13 13:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Tibbitts CLA 2010-10-13 14:37:25 EDT
Using POINT live dvd of 9/30/10 
using eclipse 3.6, openmpi 1.4.2 (via module commands)
with PTP updated to 4.0.4

in fortran perspective, new project, c project, hello mpi pi
Fails with "Project cannot be created"
java.lang.NullPointerException
at org.eclipse.ptp.pldt.wizards.wizardPages.MPIProjectProcess.addOptionValue(MPIProjectProcess.java:266)
at org.eclipse.ptp.pldt.wizards.wizardPages.MPIProjectProcess.addLinkerOpt(MPIProjectProcess.java:232)
at org.eclipse.ptp.pldt.wizards.wizardPages.MPIProjectProcess.process(MPIProjectProcess.java:124)
at org.eclipse.cdt.core.templateengine.process.Process.process(Process.java:162)
at org.eclipse.cdt.core.templateengine.process.ConditionalProcessGroup.process(ConditionalProcessGroup.java:223)
at org.eclipse.cdt.core.templateengine.process.TemplateProcessHandler.processAll(TemplateProcessHandler.java:65)
at org.eclipse.cdt.ui.templateengine.Template$1.execute(Template.java:191)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
Comment 1 Beth Tibbitts CLA 2010-10-13 14:40:30 EDT
build info:   PTP Parallel Language Development Tools	4.0.4.201010081904	org.eclipse.ptp.pldt.feature.group
Comment 2 Beth Tibbitts CLA 2010-10-13 14:48:48 EDT
wrong toolchain was selected (used the default, which was fortran) and mpi preferences were set during project creation.

Incorrect toolchain is presumed to be the problem.  need to catch error and inform user. I think there was another problem which was related to wrong toolchain, or no toolchain selected.
I think the previous version of CDT was better at getting the correct toolchain selected, or else the new version of CDT (+?) simple *has* more toolchains so the default selection (first one?) is more likely incorrect.
Comment 3 Beth Tibbitts CLA 2011-06-13 13:36:25 EDT
Presumed to be duplicate of 303250

*** This bug has been marked as a duplicate of bug 303250 ***