I have downloaded openMP using cygwin which i use as compiler in CLION.
I have included
#include <omp.h>
and used its schemas e.g
#pragma omp paraller
#pragma omp single
however when i use omp_get_max_threads()
it throws
undefined reference to `omp_get_max_threads'
error, i tried to add compiler arguments:
But the error remains the same. Is there a way how to fix this? Thanks for help.