Author Topic: How to use openmp?  (Read 1420 times)


  • Guest
How to use openmp?
« on: December 19, 2016, 10:14:43 pm »
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
« Last Edit: December 19, 2016, 11:10:00 pm by SilWb »