Hello,
in order to analyze the effect of multithreading (using pragma omp parallel) I enabled execution profiling in the Build options and added the call
CVIProfSetCurrentThreadProfiling(1);
as first line in the function of interest.
When running the (64 bit) debug version of the software (built with CVI 2019) I receive the following error from this call:
Library function error (return value == -5 [0xfffffffffffffffb]). An unexpected fatal error occurred in the Execution Profiler.
What should I do with this information?
What I can add:
without the line CVIProfSetCurrentThreadProfiling(1); after finishing my code resource tracking does not report any memory leak, however, when profiling is enabled (otherwise everything identical), I do get 5 warnings....
The three sample programs in the profiler directory work well so that I fear that it might be due to a non-compatibility of OpenMP with execution profiling...?
Help is much appreciated, thanks,
Wolfgang