This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 100404 - need OpenMP support
Summary: need OpenMP support
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 00:32 UTC by Thomas Preisler
Modified: 2014-08-26 09:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2007-04-10 00:32:33 UTC
Originally filed as CR6540763

The IDE provides a wizard for constructing Makefiles.  When the user asks for
"optimization", the IDE provides -xO3, which is a relatively tame optimization
flag.  The IDE should at least provide -fast.  A lot of work goes into the
compiler driver to provide a simple compilation switch that gives good
across-the-board performance.  The rest of the toolset, especially the IDE,
should provide equally good usability/performance.

To create a Makefile in the IDE, choose:

- File -> New File...
- Makefiles -> Simple Makefiles -> Single Executable Makefile

There are many other choices to make, but if one picks:

- Sun Compilers / Solaris
- *.f90
- Optimize the Code

The resulting Makefile uses -xO3.  It should use -fast.
*** (#1 of 2): 2007-03-29 21:21:3

The IDE should offer OpenMP support.  Areas of support include:

*) Makefiles that are built with -xopenmp

*) changing source code syntax highlighting so that OpenMP directives and
pragmas are not highlighted as comments but as special directives

*) facilitating the setting of the number of OpenMP threads
*** (#2 of 2): 2007-03-29 21:21:37