Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "PTP/new and noteworthy/8.0.0"
(→New Remote Services Provider) |
|||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | The following are new features that | + | The following are new features that are available in PTP 8.0 and Photran 8.2. (see bottom of page for even more recent info) |
− | + | ||
− | + | ||
− | + | ||
== Parallel Package == | == Parallel Package == | ||
Line 12: | Line 9: | ||
== Core Features == | == Core Features == | ||
− | === System | + | === System Monitoring Server Caching === |
− | + | The server scripts in the remote '''.eclipsesettings''' directories can now be installed as a daemon (e.g. via crontab). Users can decide whether to use the status data retrieved from that daemon or via the old workflow, where each client triggers the server scripts separately. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=427386 for implementation status. | |
You can configure the update method with the context menu attached to the refresh button. | You can configure the update method with the context menu attached to the refresh button. | ||
+ | |||
[[Image:Sysmon-CacheMechanism.png]] | [[Image:Sysmon-CacheMechanism.png]] | ||
− | + | === Preference Page For System Monitoring === | |
+ | A preference page for system monitoring allows configuration of the default update behaviour and the update interval of the monitoring connections. | ||
+ | |||
[[Image:Sysmon Config.png]] | [[Image:Sysmon Config.png]] | ||
=== Terminal View === | === Terminal View === | ||
+ | |||
+ | It is possible for the shell and the terminal to interact, allowing the eclipse | ||
+ | user to have the best of both the command line and the GUI. | ||
+ | |||
+ | For example, a short command can call up the Eclipse editor from the command line: | ||
+ | [[File:Rterm_ptpEdit.png]] | ||
+ | |||
+ | Commands are initiated by special strings, sometimes called "escape sequences." | ||
+ | These sequences are enumerated below:</p> | ||
+ | <ol> | ||
+ | <li><b>Open File:</b> The string "~~EPTP:OpenFile~~FileName\n" will cause the file | ||
+ | named to be opened inside the Eclipse browser. Note that only full path names will | ||
+ | work. If the file is part of a synchronized project, Eclipse will open the file as | ||
+ | a local file on the client machine. If it is not, it will open the file with an URL | ||
+ | using a "remotetools" protocol.</li> | ||
+ | |||
+ | <li><b>Choose a File:</b> The string "~~EPTP:Choice~~File1~~File2~~..~~FileN\n" will | ||
+ | open a dialog box in Eclipse and allow the user to choose one of the selected files | ||
+ | for opening.</li> | ||
+ | |||
+ | <li><b>Menu:</b> The string "~~EPTP:Radio~~MenuText1::~Command1~~MenuText2::~Command2.." | ||
+ | will create a dialog box with a sequence of radio buttons, labeled "MenuText1", "MenuText2", | ||
+ | etc. Choosing a given item and clicking OK will cause the corresponding command to be | ||
+ | sent to the shell and executed.</li> | ||
+ | </ol> | ||
+ | |||
+ | It is convenient to invoke the above escape sequences through the use of scripts. | ||
+ | The following script is suggested for opening files on the remote machine. An example | ||
+ | follows: | ||
+ | |||
+ | <pre> | ||
+ | #!/usr/bin/perl | ||
+ | use strict; | ||
+ | use File::Spec; | ||
+ | my @files = (); | ||
+ | my $aflag = 0; | ||
+ | for my $a (@ARGV) { | ||
+ | if($a eq "-a") { | ||
+ | $aflag = 1; | ||
+ | } elsif(-r $a) { | ||
+ | push @files, File::Spec->rel2abs($a); | ||
+ | } | ||
+ | } | ||
+ | if($#files == 0) { | ||
+ | print "~~EPTP:OpenFile~~",$files[0],"\n"; | ||
+ | } elsif($aflag) { | ||
+ | for my $file (@files) { | ||
+ | print "~~EPTP:OpenFile~~",$file,"\n"; | ||
+ | sleep(1); | ||
+ | } | ||
+ | } else { | ||
+ | print "~~EPTP:Choice~~",join("~~",@files),"\n"; | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | Using this script, it is possible to open any file within | ||
+ | the Eclipse editor by typing: | ||
+ | |||
+ | <pre> ptp filename</pre> | ||
+ | |||
+ | Note that the file name can be relative or absolute. | ||
+ | |||
+ | ===Terminal History=== | ||
+ | |||
+ | A new view is available called "Terminal History." To open | ||
+ | it type <b>Window > Show View > Other...</b>, and under the <b>Other</b> category, select "Terminal History." | ||
+ | |||
+ | If you opened any terminals using "Show Terminal" on any synchronized projects, | ||
+ | this view will show you your shell histories on the remote | ||
+ | machines. In order for this to work, however, you must add a | ||
+ | few special commands to your startup files on the remote machines. | ||
+ | |||
+ | <ol> | ||
+ | <li><b>For Bash:</b> Add "history -a" to your ~/.bashrc</li> | ||
+ | <li><b>For Tcsh/Csh:</b> Add "set history=100;set savehist=100;alias precmd 'history -S'" to | ||
+ | your ~/.cshrc. Feel free to change the number "100" to whatever number of items you wish | ||
+ | to retain in your shell history.</li> | ||
+ | </ol> | ||
+ | |||
+ | [[File:Rterm_term_hist.png]] | ||
+ | |||
+ | As you type each new command, it will appear in the top of the history view, | ||
+ | pushing the older commands down. | ||
+ | |||
+ | <ol> | ||
+ | <li>If you wish to keep one of the commands near | ||
+ | the top of the view, click the checkbox.</li> | ||
+ | <.i>If you wish to re-execute the command | ||
+ | from the history, click the numbered button at the left.</li> | ||
+ | <li>If you wish to delete | ||
+ | the command from the history, click the "X" button on the right.</li> | ||
+ | <li>If you wish to edit the command, click inside the text box containing it.</li> | ||
+ | </ol> | ||
== Debugging == | == Debugging == | ||
Line 41: | Line 134: | ||
=== Perfsuite tools=== | === Perfsuite tools=== | ||
+ | |||
+ | There is support for both PSRun and PSProcess for Perfsuite and the output from PSProcess can be opened with the Feedback view. | ||
+ | |||
+ | [[Image:Perfsuite.png]] | ||
+ | |||
Uses Feedback view to map findings of Perfsuite analysis to source code lines in the editor. | Uses Feedback view to map findings of Perfsuite analysis to source code lines in the editor. | ||
New help sections describes how to run Perfsuite from PTP as well as view results in its new Feedback view. | New help sections describes how to run Perfsuite from PTP as well as view results in its new Feedback view. | ||
− | |||
− | |||
== Remote Development Tools (RDT) == | == Remote Development Tools (RDT) == | ||
Line 64: | Line 160: | ||
=== New Remote Services Provider === | === New Remote Services Provider === | ||
A new "Built-in SSH" remote services provider has been added. This provider utilizes the JSch SSH implementation directly without introducing another layer of indirection. | A new "Built-in SSH" remote services provider has been added. This provider utilizes the JSch SSH implementation directly without introducing another layer of indirection. | ||
− | + | ||
+ | [[image: Ptp-remote-newProv.png]] | ||
=== Connection Editing Via Preferences === | === Connection Editing Via Preferences === | ||
Connection information is now edited via preferences (instead of the Remote Environments view) regardless of the remote services provider. | Connection information is now edited via preferences (instead of the Remote Environments view) regardless of the remote services provider. | ||
− | [[File: Ptp-remote-newEditConn.png]] | + | |
− | + | [[File: Ptp-remote-newEditConn.png]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Fortran (Photran) == | == Fortran (Photran) == | ||
Photran 8.2 (included in PTP 8.0) is primarily a maintenance release. See below for bugs fixed in this release. | Photran 8.2 (included in PTP 8.0) is primarily a maintenance release. See below for bugs fixed in this release. | ||
− | == | + | == CDT Changes == |
− | + | *The C/C++ Development Tools that are included with the "Eclipse for Parallel Application Developers" have also been updated for Eclipse Luna. See their newest features on their [[CDT/User/NewIn84|New and Noteworthy for 8.4]] page. | |
+ | * CDT 8.3 improvements to multi-process debugging, implemented to help multi-core debugging ... if these show up for PTP debugging, advertise here | ||
+ | |||
+ | == Bug Fixes and Internal Enhancements == | ||
* [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=6044074&classification=Tools&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=Cell&component=Core&component=Debug%20Core&component=Debug%20SDM&component=Debug%20UI&component=Doc&component=EMS&component=ETFw&component=GEM&component=GIG&component=ISP&component=Lang&component=Launch&component=MPI%20Development%20Tools&component=Perf&component=PLDT&component=RDT&component=RDT.sync&component=Remote&component=Remote%20Tools&component=RM&component=RM.LoadLeveler&component=RM.MPICH2&component=RM.Open%20MPI&component=RM.PBS&component=RM.PE&component=RM.SLURM&component=SCI&component=Service%20Model&component=Tools&component=User&target_milestone=8.0&product=PTP PTP bugs and enhancements for PTP 8.0] | * [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=6044074&classification=Tools&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=Cell&component=Core&component=Debug%20Core&component=Debug%20SDM&component=Debug%20UI&component=Doc&component=EMS&component=ETFw&component=GEM&component=GIG&component=ISP&component=Lang&component=Launch&component=MPI%20Development%20Tools&component=Perf&component=PLDT&component=RDT&component=RDT.sync&component=Remote&component=Remote%20Tools&component=RM&component=RM.LoadLeveler&component=RM.MPICH2&component=RM.Open%20MPI&component=RM.PBS&component=RM.PE&component=RM.SLURM&component=SCI&component=Service%20Model&component=Tools&component=User&target_milestone=8.0&product=PTP PTP bugs and enhancements for PTP 8.0] | ||
Line 87: | Line 183: | ||
* [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=6044217&classification=Tools&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=Photran.Debugger%20%26%20Console%20View&component=Photran.Documentation&component=Photran.Editor%20%26%20Outline%20View&component=Photran.For%20Internal%20Use&component=Photran.Managed%20Make&component=Photran.Parser&component=Photran.Problems%20View%20%26%20Error%20Markers&component=Photran.Refactoring%20Engine&component=Photran.Unknown&target_milestone=8.2&product=PTP Photran bugs and enhancements for Photran 8.2] | * [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=6044217&classification=Tools&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=Photran.Debugger%20%26%20Console%20View&component=Photran.Documentation&component=Photran.Editor%20%26%20Outline%20View&component=Photran.For%20Internal%20Use&component=Photran.Managed%20Make&component=Photran.Parser&component=Photran.Problems%20View%20%26%20Error%20Markers&component=Photran.Refactoring%20Engine&component=Photran.Unknown&target_milestone=8.2&product=PTP Photran bugs and enhancements for Photran 8.2] | ||
− | == Features | + | * [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=6044074&classification=Tools&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=Cell&component=Core&component=Debug%20Core&component=Debug%20SDM&component=Debug%20UI&component=Doc&component=EMS&component=ETFw&component=GEM&component=GIG&component=ISP&component=Lang&component=Launch&component=MPI%20Development%20Tools&component=Perf&component=PLDT&component=RDT&component=RDT.sync&component=Remote&component=Remote%20Tools&component=RM&component=RM.LoadLeveler&component=RM.MPICH2&component=RM.Open%20MPI&component=RM.PBS&component=RM.PE&component=RM.SLURM&component=SCI&component=Service%20Model&component=Tools&component=User&target_milestone=8.0.1&product=PTP PTP bugs and enhancements for PTP 8.0.1] |
+ | |||
+ | * [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=6044217&classification=Tools&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=Photran.Debugger%20%26%20Console%20View&component=Photran.Documentation&component=Photran.Editor%20%26%20Outline%20View&component=Photran.For%20Internal%20Use&component=Photran.Managed%20Make&component=Photran.Parser&component=Photran.Problems%20View%20%26%20Error%20Markers&component=Photran.Refactoring%20Engine&component=Photran.Unknown&target_milestone=8.2.1&product=PTP Photran bugs and enhancements for Photran 8.2.1] | ||
+ | |||
+ | * [https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Tools&component=Cell&component=Core&component=Debug%20Core&component=Debug%20SDM&component=Debug%20UI&component=Doc&component=EMS&component=ETFw&component=GEM&component=GIG&component=ISP&component=Lang&component=Launch&component=MPI%20Development%20Tools&component=PLDT&component=RDT&component=RDT.sync&component=Remote&component=Remote%20Tools&component=RM&component=RM.LoadLeveler&component=RM.MPICH2&component=RM.Open%20MPI&component=RM.PBS&component=RM.PE&component=RM.SLURM&component=SCI&component=Service%20Model&component=Tools&component=User&list_id=9904794&product=PTP&query_format=advanced&target_milestone=8.0.2&target_milestone=8.1 PTP bugs and enhancements for PTP 8.0.2 + 8.1] | ||
+ | |||
+ | * [https://bugs.eclipse.org/bugs/buglist.cgi?list_id=6044074&classification=Tools&query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=Cell&component=Core&component=Debug%20Core&component=Debug%20SDM&component=Debug%20UI&component=Doc&component=EMS&component=ETFw&component=GEM&component=GIG&component=ISP&component=Lang&component=Launch&component=MPI%20Development%20Tools&component=Perf&component=PLDT&component=RDT&component=RDT.sync&component=Remote&component=Remote%20Tools&component=RM&component=RM.LoadLeveler&component=RM.MPICH2&component=RM.Open%20MPI&component=RM.PBS&component=RM.PE&component=RM.SLURM&component=SCI&component=Service%20Model&component=Tools&component=User&target_milestone=8.1.1&product=PTP PTP bugs and enhancements for PTP 8.1.1] | ||
+ | |||
+ | == Features Removed/Deprecated == | ||
+ | |||
+ | * Remote Tools has been deprecated. It has been replaced with a new JSch remote service provider | ||
+ | * Support for PPW has been removed |
Latest revision as of 11:55, 27 February 2015
The following are new features that are available in PTP 8.0 and Photran 8.2. (see bottom of page for even more recent info)
Contents
Parallel Package
The Eclipse package all-in-one download "Eclipse for Parallel Application Developers" is updated with the latest Luna release contents of most interest to our users. You can download it at http://eclipse.org/downloads
Core Features
System Monitoring Server Caching
The server scripts in the remote .eclipsesettings directories can now be installed as a daemon (e.g. via crontab). Users can decide whether to use the status data retrieved from that daemon or via the old workflow, where each client triggers the server scripts separately. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=427386 for implementation status.
You can configure the update method with the context menu attached to the refresh button.
Preference Page For System Monitoring
A preference page for system monitoring allows configuration of the default update behaviour and the update interval of the monitoring connections.
Terminal View
It is possible for the shell and the terminal to interact, allowing the eclipse user to have the best of both the command line and the GUI.
For example, a short command can call up the Eclipse editor from the command line:
Commands are initiated by special strings, sometimes called "escape sequences." These sequences are enumerated below:</p>
- Open File: The string "~~EPTP:OpenFile~~FileName\n" will cause the file named to be opened inside the Eclipse browser. Note that only full path names will work. If the file is part of a synchronized project, Eclipse will open the file as a local file on the client machine. If it is not, it will open the file with an URL using a "remotetools" protocol.
- Choose a File: The string "~~EPTP:Choice~~File1~~File2~~..~~FileN\n" will open a dialog box in Eclipse and allow the user to choose one of the selected files for opening.
- Menu: The string "~~EPTP:Radio~~MenuText1::~Command1~~MenuText2::~Command2.." will create a dialog box with a sequence of radio buttons, labeled "MenuText1", "MenuText2", etc. Choosing a given item and clicking OK will cause the corresponding command to be sent to the shell and executed.
It is convenient to invoke the above escape sequences through the use of scripts. The following script is suggested for opening files on the remote machine. An example follows:
#!/usr/bin/perl use strict; use File::Spec; my @files = (); my $aflag = 0; for my $a (@ARGV) { if($a eq "-a") { $aflag = 1; } elsif(-r $a) { push @files, File::Spec->rel2abs($a); } } if($#files == 0) { print "~~EPTP:OpenFile~~",$files[0],"\n"; } elsif($aflag) { for my $file (@files) { print "~~EPTP:OpenFile~~",$file,"\n"; sleep(1); } } else { print "~~EPTP:Choice~~",join("~~",@files),"\n"; }
Using this script, it is possible to open any file within the Eclipse editor by typing:
ptp filename
Note that the file name can be relative or absolute.
Terminal History
A new view is available called "Terminal History." To open it type Window > Show View > Other..., and under the Other category, select "Terminal History."
If you opened any terminals using "Show Terminal" on any synchronized projects, this view will show you your shell histories on the remote machines. In order for this to work, however, you must add a few special commands to your startup files on the remote machines.
- For Bash: Add "history -a" to your ~/.bashrc
- For Tcsh/Csh: Add "set history=100;set savehist=100;alias precmd 'history -S'" to your ~/.cshrc. Feel free to change the number "100" to whatever number of items you wish to retain in your shell history.
As you type each new command, it will appear in the top of the history view, pushing the older commands down.
- If you wish to keep one of the commands near the top of the view, click the checkbox.
- If you wish to delete the command from the history, click the "X" button on the right.
- If you wish to edit the command, click inside the text box containing it.
<.i>If you wish to re-execute the command
from the history, click the numbered button at the left.Debugging
MPICH2 Debugging Support
Support for debugging applications has been added to the MPICH2 target configuration.
OpenPOWER™ Little Endian Support
Now includes a pre-built SDM binary for OpenPOWER™ Little Endian systems. This allows parallel applications to be debugged on these machines.
External Tools Framework (ETFw)
Perfsuite tools
There is support for both PSRun and PSProcess for Perfsuite and the output from PSProcess can be opened with the Feedback view.
Uses Feedback view to map findings of Perfsuite analysis to source code lines in the editor.
New help sections describes how to run Perfsuite from PTP as well as view results in its new Feedback view.
Remote Development Tools (RDT)
Synchronized Autotools Projects
It is now possible to create synchronized projects that use autotools toolchains. The project will automatically generate the configure scripts and Makefiles on the remote system.
Sync Toolbar Icons
There is now a toolbar button for syncing and for editing sync configurations.
Synchronization Performance Improvements
Internally, sync now avoids full sync cycles during routine work and both the efficiency and robustness of sync operations has been improved.
New Remote Services Provider
A new "Built-in SSH" remote services provider has been added. This provider utilizes the JSch SSH implementation directly without introducing another layer of indirection.
Connection Editing Via Preferences
Connection information is now edited via preferences (instead of the Remote Environments view) regardless of the remote services provider.
Fortran (Photran)
Photran 8.2 (included in PTP 8.0) is primarily a maintenance release. See below for bugs fixed in this release.
CDT Changes
- The C/C++ Development Tools that are included with the "Eclipse for Parallel Application Developers" have also been updated for Eclipse Luna. See their newest features on their New and Noteworthy for 8.4 page.
- CDT 8.3 improvements to multi-process debugging, implemented to help multi-core debugging ... if these show up for PTP debugging, advertise here
Bug Fixes and Internal Enhancements
Features Removed/Deprecated
- Remote Tools has been deprecated. It has been replaced with a new JSch remote service provider
- Support for PPW has been removed