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
When a trace is generated, values reported in the pcf file are invalid. By the values reported, I can tell that it has to do with some kind of memory corruption at the time of converting/accessing the array from Julia to C. You can see the values generated with one execution in the attached pcf file. test-cfg.pcf.txt
At the merging process we can also see that some values are duplicated:
Extrae(paraver/labels.c,885): Warning! Ignoring duplicate definition "init_worker" for value type 400002,10!
Extrae(paraver/labels.c,885): Warning! Ignoring duplicate definition "start_worker" for value type 400002,10!
Extrae(paraver/labels.c,885): Warning! Ignoring duplicate definition "CallWaitMsg" for value type 400004,10!
Extrae(paraver/labels.c,885): Warning! Ignoring duplicate definition "RemoteDoMsg" for value type 400004,10!
Extrae(paraver/labels.c,885): Warning! Ignoring duplicate definition "JoinPGRPMsg" for value type 400004,0!
At the register function values are correctly reported in a debug line.
The text was updated successfully, but these errors were encountered:
@clasqui Should the PCF file be generated only by the master process in the application? Could it be that different processes are trying to register the event values in the same PCF file?
Okay, so it really looks like a memory corruption thing. Duplicated event values are because the events are initialized with different values on each process. Most probably, the values come from uninitialized memory.
I'm gonna write some tests to check that conversion to C FFI is done correctly.
When a trace is generated, values reported in the pcf file are invalid. By the values reported, I can tell that it has to do with some kind of memory corruption at the time of converting/accessing the array from Julia to C. You can see the values generated with one execution in the attached pcf file.
test-cfg.pcf.txt
At the merging process we can also see that some values are duplicated:
At the
register
function values are correctly reported in a debug line.The text was updated successfully, but these errors were encountered: