| View previous topic :: View next topic |
| Author |
Message |
volkert
Joined: 19 Jun 2012 Posts: 2
|
Posted: Wed Aug 29, 2012 3:02 am Post subject: pgcollect error - Error: opening executable file |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Wed Aug 29, 2012 10:11 am Post subject: |
|
|
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 |
|
 |
Cristiano Padrin
Joined: 30 Aug 2012 Posts: 1
|
Posted: Thu Aug 30, 2012 1:56 am Post subject: |
|
|
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 |
|
 |
volkert
Joined: 19 Jun 2012 Posts: 2
|
Posted: Thu Aug 30, 2012 10:36 am Post subject: |
|
|
| @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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Thu Aug 30, 2012 12:50 pm Post subject: |
|
|
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 |
|
 |
|