If you click the Source tab and an error message about missing source files is displayed, the reason could be one of the following.
The Performance Analyzer has a procedure for finding source files that is described in the topic Where the Analyzer Looks for Source Files. Information about the location of the source files and source line numbers is usually stored in the object (.o) files. If you link your program with -xs this information is stored in the executable itself and you don't need the object files to locate the source files.
If you move an experiment, and especially if you move an experiment to a different machine to analyze it, you must make sure that the source files are in one of the locations that the Performance Analyzer searches. Copying the source files and object files into the experiment before moving the experiment ensures that you can view the annotated source code.