If I do this it works fine:
#pragma omp parallel for
for (int i = 1; i <= 200; i++) { ... }
this still works fine
#pragma omp parallel for
for (unsigned long long i = 1; i <= 200; i++) { ... }
but this isnt working
#pragma omp parallel for
for (unsigned long long i = 1; i <= LLONG_MAX; i++) { ... }
-> compiler error: invalid controlling predicate
LLONG_MAX is coming from
#include <limits.h>
g++ --version -> g++ (tdm64-1) 5.1.0
it is said that openmp 3.0 can handle unsigned integer - types.
I searched alot for this issue, without success. They all use int as iteration-variable. Someone knows a solution?