Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

PTP/new and noteworthy/9.0.0

< PTP‎ | new and noteworthy
Revision as of 10:07, 23 June 2015 by G.watson.computer.org (Talk | contribs) (Core Features)

The following are new features that are available in PTP 9.0, Photran 9.1, and Remote 2.0. (see bottom of page for even more recent info)

Parallel Package

The Eclipse package all-in-one download "Eclipse for Parallel Application Developers" is updated with the latest Mars release contents of most interest to our users. You can download it at http://eclipse.org/downloads

Parallel-package.png

Core Features

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.

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.

Debugging

MPICH2 Debugging Support

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

Mpich2 debug.png

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

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.

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.

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.

Auto sync.png

Sync Toolbar Icons

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

Ptp-sync-toolbar-icon.png

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.

Ptp-remote-newProv.png

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

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 removed
  • Support for GIG has been removed
  • org.eclipse.rephraser.* plugins have been removed
  • RSE support has been removed

Back to the top