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!

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

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

@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.

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

Hi Guys,

Unfortunately, Don’s not sure what’s wrong. If both of you could send a report to PGI Customer Service (trs@pgroup.com) and include your “pgprof.out” and “pgpacc*” files, we would appreciate it.

Thanks,
Mat

Hi,

I was just wondering if a solution to this problem had been found? I am experiencing an almost identical issue:

/home/local/software/rh53/pgi/12.6/linux86-64/12.6/bin/pgevtofq ../../../bin/onetep.iridis.cpu.pgi126.prof_1 pgprof.out
Error: opening executable file '49838': System reported error: No such file or directory
pgcollect-Fatal-runprofconv completed with exit code 1

I hope to be able to test with 12.9 shortly.

Cheers,

Karl

Hi Karl,

Our tools team have had trouble reproducing this error so have asked me to relay these questions:

(1) What programming model are you using: CUDA Fortran, PGI Accelerator,
or OpenACC?

(2) Did pgcollect leave any files in the working directory? This might
include pgprof.out, pgpacc.out, pgpaccinfo.out, or cudaprof.csv. If so,
would you please email those files to trs@pgroup.com with instructions
to forward them to the tools group?

(3) What is the output of your pgaccelinfo command? If there is more
than one GPU, which one were you using? If possible, please include
this with the data files sent in question (2).

(4) What operating system are you using (i.e., what version of Linux)?

Thanks,
Mat

Hello. I have got similar problem. On PVF 12.5 pgprof gives error “Error opening executable file…”.

Pgcollect generates pgprof.out file, but pgprof says it is unusable.
I am not using any accelerator things now.
Here is pgprof out: pgprof.out

Hi Senya,

My IT is blocking the site you posted the pgprof.out file so I can’t download it. Mind sending to PGI Customer Service (trs@pgroup.com)? Also, can you provide answers to the question I posted for Karl?

Thanks,
Mat

(1) What programming model are you using: CUDA Fortran, PGI Accelerator,
or OpenACC?

Not using accelerator for now.

(2) Did pgcollect leave any files in the working directory? This might
include pgprof.out, pgpacc.out, pgpaccinfo.out, or cudaprof.csv. If so,
would you please email those files to trs@pgroup.com with instructions
to forward them to the tools group?

Only pgprof.out.

(3) What is the output of your pgaccelinfo command? If there is more
than one GPU, which one were you using? If possible, please include
this with the data files sent in question (2).

I can’t say it for a while, but i’m not sure it is required because i’m not using accelerator.

(4) What operating system are you using (i.e., what version of Linux)?

That is Windows 7.