/opt
directory, mounted in the local file system. The top-level installation directory for the product (let’s use an alias for it: <INSTALL-DIR>
) is /opt/intel/vtune_amplifier_xe_2013/
. This can be changed to any place in the local or shared file system that is read-accessible to users. Default installation directory for regular users is: $HOME/intel/vtune_amplifier_xe_2013/
<INSTALL-DIR>
to compile drivers for your kernel./home/<user_name>
directory, and are allowed to execute programs on some nodes/machines in the network. Probably, some disk storage space is available on the nodes, at least in the /tmp
directory. (Pic.1)Typical product installation and usage schemas on a distributed environment might include the following scenarious:
- You install the product as administrator on a shared partition, available to all users. The VTune Amplifier XE installer will automatically use the SEP Driver Kit and the PWR Driver Kit to try and build drivers for your kernel. The drivers can also be built manually after the product is installed using those same driver kits.
- You install and enable the kernel driver for specific nodes and user(s). The users launch VTune Amplifier XE on a node/machine, from the shared partition mounted on their systems, to analyze programs/system behavior on the node/machine. Even though the program’s execution might be distributed among other nodes (enabled by MPI or other libraries), a single instance of the tool is collecting performance data upon the single node which it has been launched. With some restrictions, you could even run multiple instances simultaneously on different nodes.
tar –xzf <install-package>.tar.gz
cd vtune_amplifier_xe_<release>
sudo ./install.sh
2.During installation you may change the install directory, and select the components to install. Make sure you are installing the product on a shared file system path accessible for reading by all expected users. For successful installation you should have read and write permissions for the /tmp directory.
3.In addition, you may select the ‘Change Advanced Options’ menu item to configure the kernel driver installation options.
4. You may want to change the driver installation schema to enable hardware EBS analysis and Power analysis on the rest of the nodes, in addition or instead of the current node. You don’t need to install the entire product on each node, as it’s already set in the shared file system. However, driver installation is required on every system/node in the network where hardware EBS and Power analysis data are to be collected.
To do that, you need to enter each node and run the installation scripts located in the product installation directory. It's better to write a script performing the same installation procedure on all required nodes.
cd <INSTALL-DIR>/sepdk/src
./insmod-sep3 –-group my_group
./boot-script –-install –-group my_group
where my_group
is the user group or NIS group to have access to the hardware EBS data collection.
Note: by default the vtune
group is used if the --group
option is omitted. Have the users included in the vtune
group in this case.
The insmod-sep
script loads the driver into the system on the current node. The boot-script
configures the driver boot script and then installs it in the appropriate system directory. For more details of the available options run the script with the --help
option.
The same applies to the PWR driver:
cd <INSTALL-DIR>/pwrdk/src
./insmod-apwr –-group my_group
./boot-script –-install –-group my_group
Note: the described installation schema works only if the cluster or the network is homogeneous, i.e. the nodes hardware configuration and OS are identical. In case the machines in the network are not identical, you'll need a local driver build and installation for each system.
lsmod | grep sep
./insmod-sep3 -q
pax driver is loaded and owned by group "vtune" with file permissions "660".
sep3_10 driver is loaded and owned by group "vtune" with file permissions "660".
vtsspp driver is not loaded.
Alternatively, if you want more control over driver installation, you may go the following way.
./install.sh --SHARED_INSTALL
The --SHARED_INSTALL
option allows skipping driver installation for the current machine. This is needed as users are expected to launch profiling on the compute nodes, in general, not necessarily on the main or head node or the node used by admin for installation.
2. Even without the EBS driver installed, the product can be used for profiling with predefined analysis types based on software sampling (e.g. Hotspots, Concurrency, Lock and Waits). Users may launch the product from a shared file system, for example: /mnt/nfs/appsrvr/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl
cd <INSTALL-DIR>/sepdk/src
./build-driver –ni
The driver will be compiled and installed in the current src
directory.
--install-dir
option:./build-driver --install-dir=/path-to-share/my_vtune_driver/
my_vtune_driver
directory should exist in the path.cp insmod-sep3 /path-to-share/my_vtune_driver/
cp rmmod-sep3 /path-to-share/my_vtune_driver/
cp boot-script /path-to-share/my_vtune_driver/
cd pax
cp insmod-pax /path-to-share/my_vtune_driver/pax
cp rmmod-pax /path-to-share/my_vtune_driver/pax
cp boot-script /path-to-share/my_vtune_driver/pax
See the <INSTALL-DIR>/sepdk/src/README.txt
document for more details on building the driver or run the script with the --help
option for more details on the available options.
4. Now install the kernel driver on the selected nodes and add users to the list who are allowed to run EBS analysis.
prebuilt
subdirectory:cd <INSTALL-DIR>/sepdk/prebuilt
./insmod-sep3 –-group my_group
./boot-script –-install –-group my_group
The insmod-sep
script loads the driver into the system on the current node. The boot-script configures the driver boot script and then installs it in the appropriate system directory. For more details of the available options run the script with the --help
option.
cd <INSTALL-DIR>/sepdk/prebuilt
./rmmod-sep3
./boot-script –-uninstall
<INSTALL-DIR>/pwrdk/src
. You can install it separately or decide not to install at all.cd <INSTALL-DIR>/pwrdk/src
./build-driver
./insmod-apwr –-group my_group
./boot-script –-install –-group my_group
my_group
can run hardware EBS analysis and Power analysis on the nodes. Users may run either the command line or the GUI version of the tool, depending on their display device. Users are expected to set the results directory path within their home directory. By default the tool uses the path: ${HOME}/intel/amplxe/Projects/project-name
. Users may set up a directory to save analysis results to a local path, e.g. /tmp
. In the case of very slow network connection this may help speed data loading and processing while analyzing collected results. The user should check in advance if there is enough disk space where /tmp
is mounted.mpiexec
script can be used on the head node to launch the profiling collector on the other nodes, specifying a user application to run as a parameter.Installing multiple versions of VTune Amplifier on the same system
ls -l /opt/intel/
vtune_amplifier_xe_2013_Update1
vtune_amplifier_xe_2013_Update5
vtune_amplifier_xe -> /opt/intel/vtune_amplifier_xe_2013
vtune_amplifier_xe
, pointed to the current version.