I try to use pgprof in text mode, and that does not work, neither does graphical mode.
I compile with a mix of
# 1 : modules w/ compiler optimization problems
# 2 : default optimization level
# 3 : aggresive optimization, use on largest cpu time contributors only
OPT1 = -O1
OPT2 = -O2
OPT3 = -O3 -fastsse
COMFLAGS = -r8 -tp=amd64 -Minfo=all -Mprof=func
That is, no debugging (-g). Also, the executable is 1093K and is executed on 2 processors with mpirun for an elapsed time of 224 seconds, generating a file pgprof.out of size 4623 bytes.
I then invoke pgprof in command mode with
$ pgprof -text -exe <executable> -I <srcdir> pgprof.out
Now, except for writing the usual text about my evaluation license, nothing happens. It fires up a java subprocess which runs continously:
UID PID PPID C STIME TTY TIME CMD
joern 12686 12684 0 08:00 pts/1 00:00:00 -bash
joern 12714 12686 0 08:00 pts/1 00:00:00 /bin/sh /usr/pgi/linux86-64/6.0/
joern 12742 12714 99 08:00 pts/1 03:58:49 /usr/pgi/linux86-64/6.0/bin/../java
I have just ordered permament floating licenses, so in case you are interested in trying this yourself I can easily create an account for you on the target machine. It is not yet in production. I can also send you a tarball with source, job scripts and makefiles.