<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 173: openmp does not work</title><link href="https://sourceforge.net/p/orwelldevcpp/tickets/173/" rel="alternate"/><link href="https://sourceforge.net/p/orwelldevcpp/tickets/173/feed.atom" rel="self"/><id>https://sourceforge.net/p/orwelldevcpp/tickets/173/</id><updated>2016-12-10T08:43:08.858000Z</updated><subtitle>Recent changes to 173: openmp does not work</subtitle><entry><title>#173 openmp does not work</title><link href="https://sourceforge.net/p/orwelldevcpp/tickets/173/?limit=25#2702" rel="alternate"/><published>2016-12-10T08:43:08.858000Z</published><updated>2016-12-10T08:43:08.858000Z</updated><author><name>thagneill</name><uri>https://sourceforge.net/u/thagneill/</uri></author><id>https://sourceforge.net8b79833698cfff71906f7aff83abdc1e673d04e6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;i aggree with exxoo. there might be other that is link with that #include&amp;lt;omp.h&amp;gt;. Voting to close&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#173 openmp does not work</title><link href="https://sourceforge.net/p/orwelldevcpp/tickets/173/?limit=25#f6cb" rel="alternate"/><published>2015-10-03T14:30:20.383000Z</published><updated>2015-10-03T14:30:20.383000Z</updated><author><name>exxoo</name><uri>https://sourceforge.net/u/exxoo/</uri></author><id>https://sourceforge.net29d9bd9b507642f64b617706ecc7e7a203955033</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;That might be an issue with the used GCC or you did something wrong. This or that way this is surely not linked anyhow to dev-cpp. Voting to close.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>openmp does not work</title><link href="https://sourceforge.net/p/orwelldevcpp/tickets/173/" rel="alternate"/><published>2015-10-02T15:22:38.355000Z</published><updated>2015-10-02T15:22:38.355000Z</updated><author><name>qiangbo</name><uri>https://sourceforge.net/u/qiangbogmail/</uri></author><id>https://sourceforge.netade2b9d372f4276e9001f618ff7c1d1cf28a11c1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Version: 5.11 with TDM-GCC 4.9.2 64-bit&lt;br/&gt;
OS version: Windows 7&lt;br/&gt;
Error reported: main.c:(.text+0x2d): undefined reference to `GOMP_parallel'&lt;br/&gt;
Stack trace:&lt;br/&gt;
Steps needed to reproduce the problem:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;#include &amp;lt;stdio.h&amp;gt; &lt;/span&gt;
&lt;span class="cp"&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;/span&gt;
&lt;span class="cp"&gt;#include &amp;lt;omp.h&amp;gt;&lt;/span&gt;

&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;argc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;char&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;argv&lt;/span&gt;&lt;span class="p"&gt;[])&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="cp"&gt;#pragma omp parallel&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; 
       &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello, world.&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
   &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I have added -fopenmp flag in the compiler option.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>