The Dependencies analysis shows there is a reduction pattern dependency in the loop. Enable vectorization using the directive #pragma omp simd reduction(operator:list).
#pragma omp simd reduction(+:sumx)
...#pragma omp simd reduction(+:sumx)
for (k = 0;k < size2; k++)
{
sumx += x[k]*b[k];
}