[cfe-commits] [PATCH] First OpenMP patch

Hal Finkel hfinkel at anl.gov
Tue Dec 11 21:12:42 PST 2012


----- Original Message -----
> From: "Alexey Bataev" <a.bataev at gmx.com>
> To: "Alexey Bataev" <a.bataev at gmx.com>, "Dmitri Gribenko" <gribozavr at gmail.com>
> Cc: "benny kra" <benny.kra at gmail.com>, cfe-commits at cs.uiuc.edu
> Sent: Tuesday, December 11, 2012 10:10:31 PM
> Subject: Re: [cfe-commits] [PATCH] First OpenMP patch
> 
> 
> Hello guys,
> Are there any comments on this version of patch? If no, then can I
> commit?

If an OpenMP program
+is compiled witout flag <b>-fopenmp</b>, a warning will be generated for every
+OpenMP directive. To suppress these warnings and compile program without OpenMP
+support you need to provide compile-time flag <b>-fno-openmp</b>.

As was discussed earlier, we (or at least I) don't want a warning on every directive, only the first.

+<!-- ======================================================================= -->
+<h2 id="TBD">TBD</h2>
+<!-- ======================================================================= -->
+
+<p>TBD
+</p>

I'm not sure we want TBDs on the web site, do we?

Thanks again,
Hal

> 
> Alexey.
> 
> 
> 
> 
> 
> 
> 
> ----- Original Message -----
> 
> From: Alexey Bataev
> 
> Sent: 12/05/12 06:12 PM
> 
> To: Dmitri Gribenko
> 
> Subject: Re: [cfe-commits] [PATCH] First OpenMP patch
> 
> Here is an updated patch.
> 
> 
> 
> 
> 
> 
> 
> ----- Original Message -----
> 
> From: Dmitri Gribenko
> 
> Sent: 12/04/12 06:26 PM
> 
> To: Alexey Bataev
> 
> Subject: Re: [cfe-commits] [PATCH] First OpenMP patch
> 
> 
> On Tue, Dec 4, 2012 at 9:26 AM, Alexey Bataev <a.bataev at gmx.com>
> wrote:
> > After discussion with Mahesha, we decided that it would be more
> > convenient
> > for me to carry on further work on this patch.
> > I've added -Wsource-uses-openmp, which is disabled if -fno-openmp
> > is
> > specified. Please, take a look.
> 
> Please document the intended warning behavior w.r.t.
> -fopenmp/fno-openmp, and please also test it if possible now.
> 
> Dmitri
> 
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> 
> 
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> 

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory



More information about the cfe-commits mailing list