I want to write parallel program in C++ using OpenMP, so I am getting started with OpenMP. On the other words I am a beginner and I need good OpenMP guide telling how to install
So here is what I did to finally get OpenMP working on my Windows 10 PC:
g++ -v
to make sure it is up and runningmingw-get upgrade --recursive "gcc<4.7.*" "gcc-g++<4.7.*"
This is the "Fun" part. Because at this time there was no libgomp library supported in their 4.9.* version my gcc wasn't able to recognize
the last support version was 4.7.2 so with this I finally was able to run my openMPTo compile run g++ -fopenmp myOpenMPFile.cpp -o myOpenMP
and it will all work from there
gcc -fopenmp myOpenMPFile.cpp -o myOpenMP
will also work for C code