<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 173: openmp does not work</title><link>https://sourceforge.net/p/orwelldevcpp/tickets/173/</link><description>Recent changes to 173: openmp does not work</description><atom:link href="https://sourceforge.net/p/orwelldevcpp/tickets/173/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 10 Dec 2016 08:43:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/orwelldevcpp/tickets/173/feed.rss" rel="self" type="application/rss+xml"/><item><title>#173 openmp does not work</title><link>https://sourceforge.net/p/orwelldevcpp/tickets/173/?limit=25#2702</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thagneill</dc:creator><pubDate>Sat, 10 Dec 2016 08:43:08 -0000</pubDate><guid>https://sourceforge.net8b79833698cfff71906f7aff83abdc1e673d04e6</guid></item><item><title>#173 openmp does not work</title><link>https://sourceforge.net/p/orwelldevcpp/tickets/173/?limit=25#f6cb</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">exxoo</dc:creator><pubDate>Sat, 03 Oct 2015 14:30:20 -0000</pubDate><guid>https://sourceforge.net29d9bd9b507642f64b617706ecc7e7a203955033</guid></item><item><title>openmp does not work</title><link>https://sourceforge.net/p/orwelldevcpp/tickets/173/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">qiangbo</dc:creator><pubDate>Fri, 02 Oct 2015 15:22:38 -0000</pubDate><guid>https://sourceforge.netade2b9d372f4276e9001f618ff7c1d1cf28a11c1</guid></item></channel></rss>