Hi,
I have tried to start the Sampling Collector configuration from my "Intel(R) VTune(TM) Performance Analyzer 9.0" but I have received an Error: unable to create environment file "./environment.xml" on hostname(ip)[ERROR] The Sampling Collector failed to start because the driver is not loaded now!
I have checked the driver (/vtune_drv-x32-2.6.18-128.1.6.el5PAEsmp.ko) that it matches the kernel (Linux ucdev 2.6.18-128.1.6.el5PAE #1 SMP Tue Mar 24 12:39:24 EDT 2009 i686 i686 i386 GNU/Linux) on my server machine and that it installed properly:
[root@ucdev vdk]# lsmod | grep vtune
vtune_drv 200748 0
Everything looks ok but still refuses to work.
Please advise.
I suggest to check:
1) If this was not caused by vtune driver, please run vtl - "vtl activity -c sampling -d 10 run". If you are using "root" user, there should be an
environment.xml file under
/root/VTune/Projects.
2) Try vtlec with "root" user, if you use default workspace under /root,
vtwrkspc.vws should be created under /root, and environment.xml should be under
/root/Project1/.vtproject.data. If you can't see this, I suspect a) You may have write-permission problem to create xml file, or b) vtwrkspc.vws is destroyed. As a workaround, you can use other folder as workspace, or delete destroyed vtwrkspc.vws manually and redo.
3) Is it possible that you can copy workable environment.xml to /root/Project1/.vtproject.data?
Regards, Peter