Re: [Gaul-devel] Disabling OpenMP when compiling our program with GAUL
Brought to you by:
stewartadcock
From: Gangadhar N. <npk...@gm...> - 2010-09-26 13:38:04
|
Yeah you are right, but I am not sure if the code is flexible enough to conditionally compile that way. I will try to check that sometime later next week (am busy this week). Meanwhile, if someone else on the list knows the feasibility of this, please chime in. On Fri, Sep 24, 2010 at 7:06 AM, Paul Smith <ph...@gm...> wrote: > Hi Gangadhar, > > Thanks for your answer. > > The possibility of switching off OpenMP would be very useful, as it > would allow comparing the execution time with and without OpenMP. > Moreover, there are situations where the parallelism is slower than > without it. > > Paul > > > On Fri, Sep 24, 2010 at 2:06 AM, Gangadhar Nittala > <npk...@gm...> wrote: >> Paul, >> I believe once you build gaul with OpenMP it is going to use that >> always. I haven't checked the code yet to see if there is anyway to >> stop it from using OpenMP. IIRC, the code is #defined and not a >> runtime check. >> >> hth >> On Thu, Sep 16, 2010 at 7:00 AM, Paul Smith <ph...@gm...> wrote: >>> Dear All, >>> >>> I have GAUL built with OpenMP. In case I want to run a problem with >>> GAUL without using OpenMP, how can I do that? Have I to rebuild GAUL >>> without OpenMP and reinstalling it? Is not there an easier way? >>> >>> Thanks in advance, >>> >>> Paul >>> >>> ------------------------------------------------------------------------------ >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> http://p.sf.net/sfu/novell-sfdev2dev >>> _______________________________________________ >>> Gaul-devel mailing list >>> Gau...@li... >>> https://lists.sourceforge.net/lists/listinfo/gaul-devel >>> >> > |