Intel® Advisor User Guide

ID 766448
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Collect Traces Outside the Flow Graph Analyzer GUI

To collect traces outside the Flow Graph Analyzer GUI:

  • If you launch your application from a Windows* command prompt or a Linux* terminal, the simplest approach is using the fgtrun script to run your application.

  • If you cannot launch your application from a prompt or terminal or you want to launch it from within an IDE, you must manually perform the steps performed by the fgtrun script.

In either case, you must update your PATH environment variable to add the paths to essential tools, as described below, and set the FGT_ROOT variable.

This section assumes the full path to your Flow Graph Analyzer installation is <advisor-install-dir>\fga. The version of your Visual Studio* compiler is <vc_version> with possible values of vc12, vc14, and vc14.1.

OS

Environment Variable

Value

Description

Windows*

FGT_ROOT

<advisor-install-dir>\fga\fgt

The path to the Flow Graph Collector installation

PATH

%FGT_ROOT%\windows\bin;%FGT_ROOT%\windows\bin\ia32\<vc version>;%FGT_ROOT%\windows\bin\intel64\<vc version>;%PATH%

The path must include paths to fgtrun.bat and fgt2xml.exe.