You can use the following development support tools with an interactive batch on SQUID.
Linaro Forge DDT/MAP
Linaro Forge is a development assistance tools suite that includes debugging, profilers, optimization tools, and more for C/C++/Fortran applications on Linux. The main components are Linaro DDT, which is a debugger, and Linaro MAP, which is a profiler for parallel applications. Follow the procedure below to start it.
Using Linaro Forge DDT
123
$ module load BaseCPU$ module load LinaroForge$ ddt
Using Linaro Forge MAP
-
Creating a job script to obtain a profile with Linaro Forge:
1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/bash #PBS -q SQUID #PBS -T intmpi #PBS --group=group_name #PBS -l elapstim_req=100 module load BaseCPU module load LinaroForge cd $PBS_O_WORKDIR map --profile mpirun ${NQSV_MPIOPTS} -np 16 ./a.out |
After execution, a "*.map" file will be created. Note that the license allows up to 16 processes simultaneously, so if no one else is using it, the limit is 16 processes.
Start Linaro Forge MAP on the frontend:
1 2 3 |
$ module load BaseCPU $ module load LinaroForge $ map |
Load the "*.map" file in the profiler loading section to view performance information.
NEC Parallel Debugger
NEC Parallel Debugger is a debugging tool for Vector Engine, and provides a plug-in for debugging MPI applications for Eclipse PTP (Parallel Tools Platform). NEC Parallel Debugger is started by the following procedure.
(1)Start the X server (Xming, VcXsrv, etc.) in advance on the host terminal that logs in to the front-end environment.
(2)Login to the loan-end environment with X forwarding enabled.
(3)Start Eclipse PTP.
1 |
$ /opt/eclipse-ptp/eclipse/eclipse |
(4)The Eclipse Launcher window will open. Enter the Workspace directory (the directory that stores the make environment of the application to be debugged) and click "Launch".
For details on how to use it, refer to the following page of NEC Aurora Forum.
Aurora Forum LEARN MORE > NEC SDK > NEC Parallel Debugger User's Guide |