Intel® Advisor Help

Setting and Using Intel® Advisor Environment Variables

Intel® Advisor:

For example, to view and set the ADVISOR_201n_DIR environment variable:

Setting Environment Variables

On Linux* OS / MacOS* Manually

  1. View the current definition of the ADVISOR_201n_DIR environment variable. For example, with the bash shell type: env | grep ADVISOR_201n_DIR.
  2. Use an export command to set the ADVISOR_201n_DIR environment variable. For example: export ADVISOR_201n_DIR="/opt/intel/advisor_201n".
  3. To always set this variable on the current system, add this definition to your .login or similar shell initialization file.
  4. To test the definition of an environment variable, type an export command.

On Linux* OS / MacOS* via Script

Run the shell script source <install-dir>/advixe-genvars.sh

where <install-dir> default values are:

On Windows* OS Manually

  1. Open a command line window.
  2. View the current definition of the ADVISOR_201n_DIR environment variable. For example, type: set ADVISOR_201n_DIR.
  3. Use a set command to set the ADVISOR_201n_DIR environment variable. For example: set ADVISOR_201n_DIR="C:\Program files (x86)\IntelSWTools\Advisor 201n".
  4. To always set this variable on the current system, add this definition to your system or user environment variables using Control Panel > System > Advanced > Environment variables.

On Windows* OS via Script

Run the batch script source <install-dir>/advixe-vars.bat

where <install-dir> default values are:

See Also