Get started with parallel application development
Introduction
Before you start
Debug your application
Optimize your code
Next Steps
Get started with parallel application development
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Run
ddt --version and confirm that it prints Linaro Forge version information.Open the
src directory. You’ll find C, Fortran, and Python matrix-multiplication implementations, each with an intentional bug.Edit
make.def and set CFLAGS = -O0 -g -fsanitize=address. You disable optimization, add debug symbols, and enable AddressSanitizer with these flags.Build with
-O0 and profile the application for a baseline. Then, update CFLAGS in make.def to enable optimization, rebuild, and profile the new executable for comparison.Confirm that the program finishes without crashes or
AddressSanitizer errors. Resolve any reported issues before profiling so that faults don’t distort your measurements.