News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

How to enable omp.h in code blocks?

Started by triwater, June 15, 2015, 11:56:29 AM

Previous topic - Next topic

triwater

I need some help on how to set code blocks to enable omp.h. I have followed the instruction I can find online, but I still got the warning ignoring #pragma omp parallel.

I have tried to put -fopenmp in Compiler settings->Compiler settings -> Other options and also add the exact address of libgomp-1.dll in linker library.

stahta01

#1
Step0: Read this site rules and FAQs
http://forums.next.codeblocks.org/index.php/topic,9996.0.html
http://wiki.codeblocks.org/index.php?title=FAQ
Step1: Learn the name and version of your Compiler
Step2: Learn how to do what you want with your Compiler
Step3: Ask where to enter the options found in step 2 on this site

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

marcelinux

I just need learn a little bit more. Thank you for your help.