Difference between revisions of "Allinea: DDT"

From Define Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
#Fill the "Äpplication" field with the exact path of the executable to be run. If the application needs command line arguments or stdin input, these can be provided in the "Arguments" and "stdin file" fields, respectively.
 
#Fill the "Äpplication" field with the exact path of the executable to be run. If the application needs command line arguments or stdin input, these can be provided in the "Arguments" and "stdin file" fields, respectively.
  
For MPI
+
For MPI applications the number of processes, as well as the MPI implementation must be provided. To define the MPI implementation:
 +
 
 +
#Click the "Change" button
 +
#Choose between different MPI libraries
 +
#Define the exact path, on the server, of the mpirun command of the chosen MPI library

Revision as of 14:49, 28 October 2014

Starting Allinea DDT

Allinea DDT can be started both locally, inside the cluster, and remotely, from a laptop or PC.

  • Starting locally
  1. Connect to server with X forwarding enabled (ssh -X).
  2. Go in Allinea DDT installation path and run ./ddt (/cm/local/allinea/bin/ for the Boston head node).
  • Starting remotely
  1. Download Allinea tools from their website (http://www.allinea.com/products/downloads/download-allinea-ddt-and-allinea-map).
  2. Untar and run the installer file.
  3. Open Allinea DDT and at the Remote Launch menu open the settings and enter the hostname (username@ip_address) and the Allinea installation directory on the server.
  4. (Optional) Test the connection by pressing the Test Remote Launch button. (Might be prompted to provide the password, in order to connect to the server). If everything works out, the message "Remote Launch test completed successfully." will appear at the top left corner of the testing window.
  5. Press Ok and it will be ready to use.

Debugging an application

In order to start a debugging job for a (parallel) application:

  1. Press the Run button. In the next window:
  2. Fill the "Äpplication" field with the exact path of the executable to be run. If the application needs command line arguments or stdin input, these can be provided in the "Arguments" and "stdin file" fields, respectively.

For MPI applications the number of processes, as well as the MPI implementation must be provided. To define the MPI implementation:

  1. Click the "Change" button
  2. Choose between different MPI libraries
  3. Define the exact path, on the server, of the mpirun command of the chosen MPI library