Specify a search directory for binary and symbol files.


-search-dir DIR



Specify the name of the search directory to add.


Only default search directories are used.

Actions Modified

collect, finalize, import


This option specifies search directories for binary and symbol files. It is often used in conjunction with the finalize action to re-finalize a result when a symbol file is missed during collection. It is also used if you import results from another system.

During data collection, the result directory is set as the default search directory for the collected result.

If you import results from another system, specify additional search directories for system modules. To show correct results, the amplxe-cl tool requires the same modules that were used for data collection. To ensure the Intel® VTune™ Amplifier takes the right module, copy the original system modules to your system.

Alternate Options

Specify a search directory for source files.


When your source files are in multiple directories, use the search-dir option multiple times so that all the necessary directories are searched.

$ amplxe-cl -collect hotspots -knob sampling-mode=hw -search-dir /home/my_system_modules -search-dir /home/other_system_modules -- /home/test/myApplication

This example finalizes the r001hs result searching for symbol files in the C:\Import\system_modules directory.

> amplxe-cl -finalize -search-dir C:\Import\system_modules -r C:\Import\r001hs
For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)