Difference between revisions of "PTP/new and noteworthy/8.0.0"

From Eclipsepedia

< PTP
Jump to: navigation, search
(Terminal View)
 
Line 182: Line 182:
  
 
* [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]
 +
 +
* [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]
  
 
== Features Removed/Deprecated ==
 
== Features Removed/Deprecated ==

Latest revision as of 20:10, 13 July 2014

The following are new features that are available in PTP 8.0 and Photran 8.2.

Contents

[edit] 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

Parallel-package.png

[edit] Core Features

[edit] 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.

Sysmon-CacheMechanism.png

[edit] 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.

Sysmon Config.png

[edit] 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: Rterm ptpEdit.png

Commands are initiated by special strings, sometimes called "escape sequences." These sequences are enumerated below:</p>

  1. 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.
  2. 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.
  3. 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.

[edit] 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.

  1. For Bash: Add "history -a" to your ~/.bashrc
  2. 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.

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.

  1. If you wish to keep one of the commands near the top of the view, click the checkbox.
  2. <.i>If you wish to re-execute the command

    from the history, click the numbered button at the left.
  3. If you wish to delete the command from the history, click the "X" button on the right.
  4. If you wish to edit the command, click inside the text box containing it.

[edit] Debugging

[edit] MPICH2 Debugging Support

Support for debugging applications has been added to the MPICH2 target configuration.

Mpich2 debug.png

[edit] 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.

Openpower logo.png

[edit] External Tools Framework (ETFw)

[edit] Perfsuite tools

There is support for both PSRun and PSProcess for Perfsuite and the output from PSProcess can be opened with the Feedback view.

Perfsuite.png

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.

[edit] Remote Development Tools (RDT)

[edit] 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.

Auto sync.png

[edit] Sync Toolbar Icons

There is now a toolbar button for syncing and for editing sync configurations.

Ptp-sync-toolbar-icon.png

[edit] 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.

[edit] 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.

Ptp-remote-newProv.png

[edit] Connection Editing Via Preferences

Connection information is now edited via preferences (instead of the Remote Environments view) regardless of the remote services provider.

Ptp-remote-newEditConn.png

[edit] Fortran (Photran)

Photran 8.2 (included in PTP 8.0) is primarily a maintenance release. See below for bugs fixed in this release.

[edit] 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

[edit] Bug Fixes and Internal Enhancements

[edit] 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