# An undocumented Intel Advisor requirement

**URL:** <https://forum.access-hive.org.au/t/an-undocumented-intel-advisor-requirement/1546>\
**Category:** Technical\
**Tags:** knowledge-base, profiling-tools\
**Created:** [25 October 2023 05:10 UTC](https://forum.access-hive.org.au/t/an-undocumented-intel-advisor-requirement/1546 "2023-10-25T05:10:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulleopardi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/paulleopardi/32/92_2.png) [@paulleopardi](https://forum.access-hive.org.au/u/paulleopardi)\
**Post date:** [25 October 2023 05:10 UTC](https://forum.access-hive.org.au/t/an-undocumented-intel-advisor-requirement/1546/1 "2023-10-25T05:10:46Z")

</div>

When you use [Intel Advisor](https://www.intel.com/content/dam/develop/external/us/en/documents/advisor-user-guide.pdf) to collect profiling data from within a PBS job script on Gadi, you usually specify the location of the source search directory using the `--search-dir` option. For an MPI program run via Open MPI, this results in a command line that looks like

```auto
mpirun -np 6 -hostfile hosts.txt advisor --collect=tripcounts --flop --search-dir all:=/g/data/tm70/pcl851/src/cable/CABLE-POP_TRENDY_r9211/offline/cdir.mpi --trace-mpi --no-auto-finalize --project-dir=./advisor_results ./cable-mpi

```

The key undocumented requirement is that the search directory _must not be a hidden directory_ (i.e. a directory with a name starting with `"."`). If the search directory is hidden, then the Intel Advisor GUI will not be able to find the source, even if you specify the search directory in Project Properties.
