IBVerbs crashes sometimes after finilazation
I submitted the same executable multiple times and IBVerbs crashes after all the work is done and sometimes it doesn't. Here is the error stream
Both asks crash (Job 4853807)
timings[000] [all] t= 83.43715 ms
srun: error: jwc00n005: tasks 4-7: Terminated
srun: Force Terminated job step 4853807.0
+ '[' 143 -ne 0 ']'
+ echo 'linktest run failed'
+ exit 0
One task crashes (Job 4862393)
timings[000] [all] t= 84.08987 ms
srun: error: jwc00n032: task 6: Terminated
srun: Force Terminated job step 4862393.0
+ '[' 143 -ne 0 ']'
+ echo 'linktest run failed'
+ exit 0
No task crashes (Job 4862423)
timings[000] [all] t= 83.80553 ms
+ '[' 0 -ne 0 ']'
+ touch ready
+ exit 0
In further tests, I saw the crash happened after the finalize() function returned successfully, aka when the end of the main function is reached.