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 thefgtrunscript 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 thefgtrunscript.
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 .
| |
Linux*
| FGT_ROOT | <advisor-install-dir>/fga/fgt | The path to the Flow Graph Collector installation
|
PATH | ${FGT_ROOT}/linux/bin:${FGT_ROOT}/linux/bin/ia32/cc4.8_libc2.19_kernel3.13.0:${FGT_ROOT}/linux/bin/intel64/cc4.8_libc2.19_kernel3.13.0:${PATH} | The path must include paths to
fgtrun.sh ,
fgtrun.csh , and
fgt2xml .
| |
macOS*
| FGT_ROOT | <advisor-install-dir>/fga/fgt | The path to the Flow Graph Collector installation
|
PATH | ${FGT_ROOT}/macos/bin:${FGT_ROOT}/macos/bin/ia32/osx10.12.6_kernel16.7.0:${FGT_ROOT}/macos/bin/intel64/osx10.12.6_kernel16.7.0:${PATH} | The path must include paths to
fgtrun.sh ,
fgtrun.csh , and
fgt2xml .
|