This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OpenMP: setNumProcessors(1) causes invalid opcode exception on EVM6678 (regression, worked with 7.4b2 + openmp-beta)

Hi,

I recently switched an openmp based application from cgt-7.4b2 + openmp-beta to mcsdk-2.1 + cgt-7.4.1 and noticed, than when running the application on an EVM6678 with OpenMP.setNumProcessors(1)  for debugging purposes it immediatly crashed after loading with an invalid opcode exception (did not even reach main).
It works fine for NumProcessors >= 2 however.
Also the crash only happens on the EVM, the functional simulator works fine in this case.

If you can not easily reproduce the issue, I would be happy to provide a test-case triggering the issue (however, this is simply the math_vec example project with NumProcessors set to 1).

Thanks, Clemens