Allinea: DDT
Starting Allinea DDT
Allinea DDT can be started both locally, inside the cluster, and remotely, from a laptop or PC.
- Starting locally
- Connect to server with X forwarding enabled (ssh -X).
- Go in Allinea DDT installation path and run ./ddt (/cm/local/allinea/bin/ for the Boston head node).
- Starting remotely
- Download Allinea tools from their website (http://www.allinea.com/products/downloads/download-allinea-ddt-and-allinea-map).
- Untar and run the installer file.
- 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.
- (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.
- Press Ok and it will be ready to use.
Debugging an application
In order to start a debugging job for a (parallel) application:
- Press the Run button. In the next window:
- 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
- Provide the number of processes
- Define MPI implementation. In order to do that:
- 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
- Click Ok
- Click Run
Different MPI libraries need different settings:
- OpenMPI compiled with Intel compilers: The intel compiler module must be loaded from the same terminal as the DDT is run, otherwise an error message will appear stating that the libimf.so shared library cannot be found.
- OpenMPI compiled with GCC: Just follow the above steps. No other changes must be made.