-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
Example:
[...]
%EventDef PajeStartLink 40
% Time date
% Type string
% Container string
% StartContainer string
% Value string
% Key string
%EndEventDef
%EventDef PajeEndLink 41
% Time date
% Type string
% Container string
% EndContainer string
% Value string
% Key string
%EndEventDef
[...]
41 3.772031 "L_MPI_Coll" "C_Prog" "P#1_T#3626231744" "src=0, dest=1" "0_1_0x7f0df00f6390"
[...]
40 3.775296 "L_MPI_Coll" "C_Prog" "P#0_T#2910222272" "src=0, dest=1" "0_1_0x7f0df00f6390"
leads to this pjdumped output:
Link, Program, MPI collective communication, 3.7753, 3.77203, -0.003265, src=0, dest=1, P#0_T#2910222272, P#1_T#3626231744
where container fields are shifted of +1 because of the additional comma,
I see two solutions:
- the simplest : forbid commas in string and raise an error if a comma is present in the trace
- use " or ' in the output around the problematic string. However, according to the program that reads the csv, it could still be a problem to have a comma in the string.
Reactions are currently unavailable