In cs426, we use OpenMP both on PC and in SciCloud. If you want to try OpenMP on you laptop or PC, you may have to install some software as following.
- get CodeBlock IDE and MinGW
- include C:\MinGW\bin to system path
- install mingw32-pthreads-w32 using C:\MinGW\bin\mingw-get.exe
- In codeBlock, Settings>>compiler>>linker setting>>link library=C:\MinGW\bin\libgomp-1.dll
- In codeBlock, Settings>>compiler>>compiler settings>>other options= -fopenmp
You may need to restart your computer to apply the new configuration.