News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to use openmp?

Started by SilWb, December 19, 2016, 10:14:43 PM

Previous topic - Next topic

SilWb

Hello everyone.
I'm new to codeblocks and I'm trying to use a simple C hello world program with openmp.
I'm using the -fopenmp option, but I'm still getting 'undefined reference' problems.
Should I change the linker options? What do I use?
(I'm using the Windows version with MinGW)

Excuse me if this may be obvious but I've been trying for a while and
I could use some help. Thanks.


***EDIT: Never mind, solved