Intel® Advisor Help

snapshot

Create a read-only result snapshot.

GUI Equivalent

See Creating a Read-only Result Snapshot

Syntax

-snapshot [-action-option] [-global-option] [--] <target> [<target options>]

Default

Saves snapshot of the result present in the current directory.

Modifiers

Action Options Description
-cache-binaries | -no-cache-binaries (default)

Cache binaries.

-cache-sources | -no-cache-sources (default)

Cache sources.

-mpi-rank=<integer>

Specify the MPI rank of the result to be imported. This option is generally used when the data collections are on a shared partition.

-pack (default) | -no-pack

Pack snapshot into archive.

-project-dir=<string>

Remove specified loops from the lis of selection. Designate the project directory. This is the top-level directory where the data collections will be saved.

-search-dir=<string>

<all | bin | src | sym[:<p | r>]>=<directory>.

<directory> is the name of the search directory for binaries (bin), sources (src), symbols (sym), or all these file types (all). Use ':r' to perform a recursive search of all subdirectories. Use ':p' to indicate highest priority search directories (directories that should be searched prior to others, including environment paths and absolute paths). You can use these options together as ':rp'.

Global Options Description
-q, -quiet

Suppress non-essential messages

-v, -verbose

Print additional information

Description

Use the snapshot command to save the current analysis result for future comparison.

Example

1) Create a new snapshot in the project dir with auto "snapshotXXX" name.

advixe-cl --snapshot --project-dir ./advi --no-pack

2) Create a new snapshot in the project dir with "new_snapshot".

advixe-cl --snapshot --project-dir ./advi --no-pack -- new_snapshot

3) Create a new snapshot, pack it into archive and put it into current dir with auto "snapshotXXX.advixeexpz" name.

advixe-cl --snapshot --project-dir ./advi --pack

4) Create a new snapshot, put sources and binaries into it and pack into archiv e with "/tmp/new_snapshot.advixeexpz" name.

advixe-cl --snapshot --project-dir ./advi --pack --cache-sources --cache -binaries -- /tmp/new_snapshot