hidden text to trigger early load of fonts ПродукцияПродукцияПродукцияПродукция Các sản phẩmCác sản phẩmCác sản phẩmCác sản phẩm المنتجاتالمنتجاتالمنتجاتالمنتجات מוצריםמוצריםמוצריםמוצרים
Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5155 Discussions

Profiled program fails to write files

Baris_M_
Beginner
624 Views

I am a newbie using vtune

I am trying to profile a portion of Quantum Espresso (http://www.quantum-espresso.org/) 

However, when run under (or attached to) VTune gui, program raises a file handling error signal (38) and crashes. The program runs normally otherwise.  

I have tried AMPLXE_RUNTOOL_OPTIONS="--profiling-signal <another signal>" where another signal is 16, 39 etc. however, this did not resolve the situation.

What might be going wrong?

 

0 Kudos
3 Replies
Bernard
Valued Contributor I
624 Views

Can you provide more description about the error?

0 Kudos
Vitaly_S_Intel
Employee
624 Views

Baris, do you use Hotspots analysis type? Does it happen with Advanced Hotspots (with/without stacks)?

Which VTune version do you use?

0 Kudos
Baris_M_
Beginner
624 Views

Hi, 

I am using the basic hotspot analysis. 

The program fails writing a file to the disk, citing a signal 38 was caught (although I am using a different profiling signal as mentioned above)

Details attached. 

Thanks!

Update: Apparently it is not a file written to a disk this time. 

Version

Package Contents: Intel(R) VTune(TM) Amplifier XE 2013 Update 15
Build Number: 328102

Log

Collection and Platform Info
  Application Command Line:    pw4gww.x < GWL-profile/example01/methane_pw4gww.in  >GWL-profile/example01/out.pw4gww.methane
  Environment Variables:    
  Operating System:    3.11.0-18-generic DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
  Computer Name:    gravitas-what-gravitas-ubuntu
  Result Size:    3 MB 
  CPU
    Name:    3rd generation Intel(R) Core(TM) Processor family
    Frequency:    2.7 GHz 
    Logical CPU Count:    4

Screen output:

 

(I was using export AMPLXE_RUNTOOL_OPTIONS="--profiling-signal 40" in this case. No warning notice about internal use of that signal was shown)

forrtl: Invalid argument
forrtl: severe (38): error during write, unit 6, file /proc/9427/fd/1
Image              PC                Routine            Line        Source             
pw4gww.x           0000000000A4E603  Unknown               Unknown  Unknown
pw4gww.x           00000000004F8727  o_bands_                  260  o_bands.f90
pw4gww.x           0000000000446E05  produce_wannier_g         318  produce_wannier_gamma.f90
pw4gww.x           000000000043BD3B  MAIN__                    492  pw4gww.f90
pw4gww.x           000000000043AEB6  Unknown               Unknown  Unknown
libc.so.6          00007F49CC17776D  Unknown               Unknown  Unknown
pw4gww.x           000000000043ADA9  Unknown               Unknown  Unknown

 

0 Kudos
Reply