You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Extrae v4.2.1 the usage of the merger mpi2prv prints the follwing:
Usage: mpi2prv inputfile1 ... [--] inputfileN [-o <OutputFile>] [otheroptions]
mpi2prv -f file.mpits [-o <OutputFile>] [otheroptions]
mpi2prv -h
Options:
-h Get this help.
-v Increase verbosity.
-absolute-counters Emit hardware counters in absolute form in addition to relative form.
-o file Output trace file name.
-e file Uses the executable file to obtain some information.
...
As a paraver trace is not a single file, but 3 namely the <tracename>.{prv,pcf,row} I would expect the -o option to take in the <tracename> excluding the file ending, as the program only takes 1 output name.
When executing the merger like mpi2prv -f TRACE.mpits -o testtrace I obtain the following files:
machine@user:~/extrae_run$ ls
testt.pcf testt.row testtrace
This however is not really expected and leads to a faulty trace which Paraver is not able to open, as the implicit naming conventions are violated.
I would expect the files testtrace.pcftestttrace.row and testtrace.prv to be generated.
A simple check if the filename ends in .prv should be able to fix this.
Additionally, if you run it with a filename with less than 4 letters like mpi2prv -f TRACE.mpits -o tes a buffer overflow get detected as:
The text was updated successfully, but these errors were encountered:
valentin-seitz
changed the title
Bug in the merger when selecting the output trace name
Small bug in the merger when selecting the output trace name
Aug 21, 2024
Using Extrae v4.2.1 the usage of the merger
mpi2prv
prints the follwing:As a paraver trace is not a single file, but 3 namely the
<tracename>.{prv,pcf,row}
I would expect the-o
option to take in the<tracename>
excluding the file ending, as the program only takes 1 output name.When executing the merger like
mpi2prv -f TRACE.mpits -o testtrace
I obtain the following files:This however is not really expected and leads to a faulty trace which Paraver is not able to open, as the implicit naming conventions are violated.
I would expect the files
testtrace.pcf
testttrace.row
andtesttrace.prv
to be generated.A simple check if the filename ends in
.prv
should be able to fix this.Additionally, if you run it with a filename with less than 4 letters like
mpi2prv -f TRACE.mpits -o tes
a buffer overflow get detected as:A quick gdb backtrace spotted the culprid here:
extrae/src/merger/paraver/trace_to_prv.c
Line 677 in 4556241
The text was updated successfully, but these errors were encountered: