There seems to be an issue with threads reading and writing parts of the memory at the same time.
Here are APCEMM outputs with two consecutive runs when using 8 threads:


I was not able to recreate the random jumps with OpenMP Num Threads set to 1, but I was with more threads.
There seems to be an issue with threads reading and writing parts of the memory at the same time.
Here are APCEMM outputs with two consecutive runs when using 8 threads:


I was not able to recreate the random jumps with
OpenMP Num Threadsset to 1, but I was with more threads.