PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgcollect error - Error: opening executable file
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
volkert



Joined: 19 Jun 2012
Posts: 2

PostPosted: Wed Aug 29, 2012 3:02 am    Post subject: pgcollect error - Error: opening executable file Reply with quote

I have seen similar error descriptions in this forum, but unfortunately no solution so far. So here I go, hoping for better luck.
I am calling pgcollect from a Windows command line. The profiling seems to run just fine and the program produces output, but it produces an error when trying to write the output file.

Here is how I call pgcollect:

pgcollect Simple_model.exe

Here is the error I get:
"target process has terminated, writing profile data
Error: opening executable file C:\Program: System reported error: Das System kan
n die angegebene Datei nicht finden."
(The last sentence translates "the system cannot locate the indicated file".)

I looks like some path variable is not properly set (like some string should be hyphenated to produce "Program Files" in windows) but I cannot figure out which one.

Thanks in advance!
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5952
Location: The Portland Group Inc.

PostPosted: Wed Aug 29, 2012 10:11 am    Post subject: Reply with quote

Hi volkert,

Which PGI release are you using? This might be related to an issue that was fixed in the 12.8 release.

Thanks,
Mat
Back to top
View user's profile
Cristiano Padrin



Joined: 30 Aug 2012
Posts: 1

PostPosted: Thu Aug 30, 2012 1:56 am    Post subject: Reply with quote

Hi
I have a similar problem with the 12.8 release
I'm calling (on linux86-64):

pgcollect -v -time -cuda=gmem -cuda=cc20 ./pgi_convection

and the log of error is:

/caspur/shared/sw/devel/pgi/linux86-64/12.8/bin/pgevtofq ./pgi_convection pgprof.out
Error: opening executable file '44766': System reported error: No such file or directory
pgcollect-Fatal-runprofconv completed with exit code 1

Obviously the file '44766' dosen't exist, but in pgprof.out are generated the lines:

...
o 44766 0xa70 0x1682d
...
s 44766
...
s 44766
...

However are generated others output files:

pgpaccnum.out
pgpacc.out
pgpaccinfo.out

Any suggestion?
Thanks!

Cristiano
Back to top
View user's profile
volkert



Joined: 19 Jun 2012
Posts: 2

PostPosted: Thu Aug 30, 2012 10:36 am    Post subject: Reply with quote

@mkcolq: The problem occurs both when calling pgcollect from a Visual Fortran command prompt (v 12.8) and from workstation bash shell (v. 12.6). The program itself was compiled with v 12.8 in VS 2008.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5952
Location: The Portland Group Inc.

PostPosted: Thu Aug 30, 2012 12:50 pm    Post subject: Reply with quote

Thanks to both of you. I'll need to ask the engineer in change of pgcollect for advice. Unfortunately, he's out sick today, so it may be a few days. I'll try another engineer, buy I'm not sure she'll know.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group