If you cannot install Intel VTune Amplifier on Manjaro/Arch Linux (or other non-supported OS), because this shit cannot find installed libraries via ldconfig -p
, you can use this script.
Unpack vtune_amplifier_2019_update3.tar.gz
, then go to vtune_amplifier_2019_update3
, then copy and paste following:
shopt -s globstar
for i in **/sysreq.cab; do
echo "processing ${i}"
perl -pi -e 's/(\W*)RESULT=255(.*)/\1RESULT=1 \2/' "${i}" # COMPARE_VERSIONS() never returns 255
perl -pi -e 's/(\W*)LI_(.+)=unsupp(.*)/\1LI_\2=ok \3/' "${i}"
perl -pi -e 's/(\W*)LI_(.+)=not_detected(.*)/\1LI_\2=ok \3/' "${i}"
perl -pi -e 's/(\W*)LI_(.+)=not_found(.*)/\1LI_\2=found \3/' "${i}"
done
for i in **/amplifier.cab; do
echo "processing ${i}"
perl -pi -e 's/(\W*)LI_(.+)=unsupp_cpu(.*)/\1LI_\2=ok \3/' "${i}"
perl -pi -e 's/(\W*)LI_(.+)=non_intel_cpu(.*)/\1LI_\2=ok \3/' "${i}"
perl -pi -e 's/(\W*)LI_(.+)=cpu_check_fail(.*)/\1LI_\2=ok \3/' "${i}"
perl -pi -e 's/(\W*)LI_(.+)=nok(.*)/\1LI_\2=ok \3/' "${i}"
perl -pi -e 's/(\W*) LI_(.+)=virtual(.*)/\1LI_\2=non_virtual\3/' "${i}"
perl -pi -e 's/(\W*)LI_(.+)=not_found(.*)/\1LI_\2=found \3/' "${i}"
perl -pi -e 's/(\W*)LI_(.+)=unsupp(.*)/\1LI_\2=ok \3/' "${i}"
done
It will patch CLI and GUI install scripts. Nothing more. Find and replace.
Also: prerequirements' warning Unsupported OS
can be ignored.
Parallel Studio XE may be patched same way (unchecked).
It seems to have worked for me with 2020 update 1. I needed only
for both
sysreq.cab
andamplifier.cab
. The crucial change is that the above version replacesnot_found
took
insysreq.cab
, butfound
is needed instead.