Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

traceanalyzer launching problem

mikyung_k_
Beginner
1,432 Views

Hello,

I'm trying to see the MPI traced results using traceanalyzer while following manual (https://software.intel.com/en-us/get-started-with-itac-for-linux). But traceanalyzer isn't launched at all. Is there any more prerequisite to run it? When I run amplxe-gui on the same environment, it shows Amplifier GUI well but not for this traceanalyzer. Nothing happened for a long long time.

[root@system bin]# pwd
/opt/intel/parallel_studio_xe_2016.3.067/bin
[root@system bin]# source psxevars.sh 
Copyright (C) 2009-2016 Intel Corporation. All rights reserved.
Intel(R) Inspector XE 2016 (build 460803)
Copyright (C) 2009-2016 Intel Corporation. All rights reserved.
Intel(R) VTune(TM) Amplifier XE 2016 (build 463186)
Copyright (C) 2009-2016 Intel Corporation. All rights reserved.
Intel(R) Advisor XE 2016 (build 463413)
[root@system bin]# cd data
[root@system data]# mpirun -trace -n 4 /tmp/myApp
Hello world from processor system, rank 0 out of 4 processors
Hello world from processor system, rank 1 out of 4 processors
Hello world from processor system, rank 2 out of 4 processors
Hello world from processor system, rank 3 out of 4 processors
[0] Intel(R) Trace Collector INFO: Writing tracefile myApp.stf in /opt/intel/parallel_studio_xe_2016.3.067/bin/data
[root@system data]# ls -al
total 48
drwxr-xr-x. 2 root root 4096 Aug 16 10:58 .
drwxr-xr-x. 3 root root   80 Aug 16 10:57 ..
-rw-r--r--. 1 root root 4588 Aug 16 10:58 myApp.prot
-rw-r--r--. 1 root root 8564 Aug 16 10:58 myApp.stf
-rw-r--r--. 1 root root 2230 Aug 16 10:58 myApp.stf.dcl
-rw-r--r--. 1 root root  143 Aug 16 10:58 myApp.stf.f.0
-rw-r--r--. 1 root root    0 Aug 16 10:58 myApp.stf.f.0.anc
-rw-r--r--. 1 root root  138 Aug 16 10:58 myApp.stf.f.1
-rw-r--r--. 1 root root    0 Aug 16 10:58 myApp.stf.f.1.anc
-rw-r--r--. 1 root root  143 Aug 16 10:58 myApp.stf.f.2
-rw-r--r--. 1 root root    0 Aug 16 10:58 myApp.stf.f.2.anc
-rw-r--r--. 1 root root  143 Aug 16 10:58 myApp.stf.f.3
-rw-r--r--. 1 root root    0 Aug 16 10:58 myApp.stf.f.3.anc
-rw-r--r--. 1 root root 1309 Aug 16 10:58 myApp.stf.sts
[root@system data]# traceanalyzer ./myApp.stf
^C

 

0 Kudos
7 Replies
Dmitry_K_Intel2
Employee
1,432 Views

Hi mikyaung,

Could you please run "sh -x traceanalyzer myApp.stf" and attach the output?

Also, you can try the following:
$ export LD_LIBRARY_PATH=$VT_ROOT/bin/rtlib:$LD_LIBRARY_PATH
$ traceanalyzer.bin myApp.stf
(You'll get some debug output in this case).

Regards!
---Dmitry

0 Kudos
mikyung_k_
Beginner
1,432 Views

Hi Dmitry,

Thanks for your description. After uninstalling all intel tools, I installed Cluster Edition newly and then tried same thing.

[root@hp6 parallel_studio_xe_2016.3.067]# sh -x traceanalyzer /tmp/myApp
+ cli=no
+ for i in '$*'
+ '[' /tmp/myApp = --cli ']'
+ '[' no = no ']'
+ xdpyinfo
+ '[' 0 = 1 ']'
++ follow_link traceanalyzer
++ file=traceanalyzer
+++ dirname traceanalyzer
++ parentDir=.
++ '[' '!' -h traceanalyzer ']'
++ echo traceanalyzer
+ dir=traceanalyzer
++ dirname traceanalyzer
+ dir=./..
++ cd ./..
++ pwd
+ dir=/opt/intel
+ LANG=C
+ export LANG
++ env
++ grep '^LC_'
+ allLocaleVars=
+ test -r /opt/intel/bin/itacvars.sh
+ test -z /opt/intel/advisor_xe_2016.1.40.463413/bin64:/opt/intel/vtune_amplifier_xe_2016.3.0.463186/bin64:/opt/intel/inspector_xe_2016.1.3.460803/bin64:/opt/intel//itac/9.1.2.024/intel64/bin:/opt/intel//itac/9.1.2.024/intel64/bin:/opt/intel//clck/3.1.2.006/bin/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/bin/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin:/opt/intel/debugger_2016/gdb/intel64_mic/bin:/opt/intel/advisor_xe_2016.1.40.463413/bin64:/opt/intel/vtune_amplifier_xe_2016.3.0.463186/bin64:/opt/intel/inspector_xe_2016.1.3.460803/bin64:/opt/intel//itac/9.1.2.024/intel64/bin:/opt/intel//itac/9.1.2.024/intel64/bin:/opt/intel//clck/3.1.2.006/bin/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/bin/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin:/opt/intel/debugger_2016/gdb/intel64_mic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/ibutils/bin:/opt/intel/bin:/opt/intel/itac/9.1.2.024/intel64/bin/:/root/bin:/opt/intel/bin:/opt/intel/bin
+ PATH=/opt/intel/bin:/opt/intel/advisor_xe_2016.1.40.463413/bin64:/opt/intel/vtune_amplifier_xe_2016.3.0.463186/bin64:/opt/intel/inspector_xe_2016.1.3.460803/bin64:/opt/intel//itac/9.1.2.024/intel64/bin:/opt/intel//itac/9.1.2.024/intel64/bin:/opt/intel//clck/3.1.2.006/bin/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/bin/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin:/opt/intel/debugger_2016/gdb/intel64_mic/bin:/opt/intel/advisor_xe_2016.1.40.463413/bin64:/opt/intel/vtune_amplifier_xe_2016.3.0.463186/bin64:/opt/intel/inspector_xe_2016.1.3.460803/bin64:/opt/intel//itac/9.1.2.024/intel64/bin:/opt/intel//itac/9.1.2.024/intel64/bin:/opt/intel//clck/3.1.2.006/bin/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/bin/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin:/opt/intel/debugger_2016/gdb/intel64_mic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/ibutils/bin:/opt/intel/bin:/opt/intel/itac/9.1.2.024/intel64/bin/:/root/bin:/opt/intel/bin:/opt/intel/bin
+ export PATH
+ test -z /opt/intel//itac/9.1.2.024/mic/slib:/opt/intel//itac/9.1.2.024/intel64/slib:/opt/intel//itac/9.1.2.024/mic/slib:/opt/intel//itac/9.1.2.024/intel64/slib:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/tbb/lib/intel64/gcc4.4:/opt/intel/debugger_2016/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/../compiler/lib/intel64_lin:/opt/intel//itac/9.1.2.024/mic/slib:/opt/intel//itac/9.1.2.024/intel64/slib:/opt/intel//itac/9.1.2.024/mic/slib:/opt/intel//itac/9.1.2.024/intel64/slib:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/tbb/lib/intel64/gcc4.4:/opt/intel/debugger_2016/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/../tbb/lib/intel64_lin/gcc4.4:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/../compiler/lib/intel64_lin:/opt/intel/lib/intel64/:/opt/intel/itac/9.1.2.024/intel64/slib/:
+ LD_LIBRARY_PATH=/opt/intel/bin/rtlib:/opt/intel/bin:/opt/intel//itac/9.1.2.024/mic/slib:/opt/intel//itac/9.1.2.024/intel64/slib:/opt/intel//itac/9.1.2.024/mic/slib:/opt/intel//itac/9.1.2.024/intel64/slib:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/tbb/lib/intel64/gcc4.4:/opt/intel/debugger_2016/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/../compiler/lib/intel64_lin:/opt/intel//itac/9.1.2.024/mic/slib:/opt/intel//itac/9.1.2.024/intel64/slib:/opt/intel//itac/9.1.2.024/mic/slib:/opt/intel//itac/9.1.2.024/intel64/slib:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64:/opt/intel/compilers_and_libraries_2016.3.210/linux/tbb/lib/intel64/gcc4.4:/opt/intel/debugger_2016/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/../tbb/lib/intel64_lin/gcc4.4:/opt/intel/compilers_and_libraries_2016.3.210/linux/daal/../compiler/lib/intel64_lin:/opt/intel/lib/intel64/:/opt/intel/itac/9.1.2.024/intel64/slib/:
+ export LD_LIBRARY_PATH
+ test -z '/opt/intel/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel/compilers_and_libraries_2016.3.210/linux/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel//clck/3.1.2.006/licenses:/opt/intel/licenses:/root/intel/licenses:/Users/Shared/Library/Application Support/Intel/Licenses:/opt/intel/compilers_and_libraries_2016.3.210/linux/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel//clck/3.1.2.006/licenses:/opt/intel/licenses:/root/intel/licenses:/Users/Shared/Library/Application Support/Intel/Licenses'
+ INTEL_LICENSE_FILE='/opt/intel:/opt/intel/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel/compilers_and_libraries_2016.3.210/linux/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel//clck/3.1.2.006/licenses:/opt/intel/licenses:/root/intel/licenses:/Users/Shared/Library/Application Support/Intel/Licenses:/opt/intel/compilers_and_libraries_2016.3.210/linux/licenses:/opt/intel/licenses:/root/intel/licenses:/opt/intel//clck/3.1.2.006/licenses:/opt/intel/licenses:/root/intel/licenses:/Users/Shared/Library/Application Support/Intel/Licenses'
+ export INTEL_LICENSE_FILE
+ ldd /opt/intel/bin/traceanalyzer.bin
+ grep 'not found'
ldd: /opt/intel/bin/traceanalyzer.bin: No such file or directory
+ '[' no = no ']'
+ exec /opt/intel/bin/traceanalyzer.bin /tmp/myApp



[root@hp6 parallel_studio_xe_2016.3.067]# export LD_LIBRARY_PATH=/opt/intel/itac/9.1.2.024/intel64/bin/rtlib:$LD_LIBRARY_PATH

[root@hp6 parallel_studio_xe_2016.3.067]# which traceanalyzer.bin
/opt/intel/itac/9.1.2.024/intel64/bin/traceanalyzer.bin
[root@hp6 parallel_studio_xe_2016.3.067]# traceanalyzer.bin /tmp/myApp.stf

--> nothing happened.

 

0 Kudos
Dmitry_K_Intel2
Employee
1,432 Views

Well, I cannot reproduce the issue locally using the same package.

Could you please provide information about your OS, version, shell version and attach the trace (all files in data directory).

Thanks!
---Dmitry

 

0 Kudos
mikyung_k_
Beginner
1,432 Views

Hi Dmitry, 

Thanks for you help. Here it is.

  • CentOS Linux release 7.2.1511 (Core) 
  • GNU bash, version 4.2.46(1)-release (x86_64-redhat-linux-gnu)
0 Kudos
Dmitry_K_Intel2
Employee
1,432 Views

The trace file is OK - I was able to open it.

Will try to install CentOS 7.2 and check it out.

Regards!
---Dmitry
 

0 Kudos
mikyung_k_
Beginner
1,432 Views

Hello, 

Have you ever tried to install traceanalyzer on CentOS 7.2? I couldn't build some drivers on CentOS 7.2, so I tried to install parallel_studio_xe on Ubuntu14.04.1. Now I can see that traceanalyzer works fine on Ubuntu14.04.1. What should be done for CentOS7.2? Please let me know if anyone can make traceanalyzer work on CentOS 7.2.

Thanks!

0 Kudos
Dmitry_K_Intel2
Employee
1,432 Views

Well,

It works for me just fine! Platform configuration:
# uname -a
Linux server112-x64 3.10.0-327.13.1.el7.xppsl_1.3.3.151.x86_64 #1 SMP Fri Jun 10 15:04:35 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
# cat /proc/version
Linux version 3.10.0-327.13.1.el7.xppsl_1.3.3.151.x86_64 (qb_user@e0778397c4e0)
(gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) #1 SMP Fri Jun 10 15:04:35 UTC 2016

Don't even know how to reproduce the issue.

Regards!
---Dmitry
 

0 Kudos
Reply