From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5470 invoked by alias); 12 Dec 2012 21:36:42 -0000 Received: (qmail 5396 invoked by uid 22791); 12 Dec 2012 21:36:41 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wg0-f45.google.com (HELO mail-wg0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 12 Dec 2012 21:36:37 +0000 Received: by mail-wg0-f45.google.com with SMTP id dq12so468163wgb.12 for ; Wed, 12 Dec 2012 13:36:36 -0800 (PST) Received: by 10.180.24.9 with SMTP id q9mr23698119wif.14.1355348196081; Wed, 12 Dec 2012 13:36:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.90.231 with HTTP; Wed, 12 Dec 2012 13:36:16 -0800 (PST) In-Reply-To: <50C8F364.2010109@calculquebec.ca> References: <50C791BB.4060303@calculquebec.ca> <50C8F364.2010109@calculquebec.ca> From: Rhys Ulerich Date: Wed, 12 Dec 2012 21:36:00 -0000 Message-ID: Subject: Re: Adding OpenMP support for some of the GSL functions To: Maxime Boissonneault Cc: gsl-discuss@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2012-q4/txt/msg00005.txt.bz2 > I have not, since it is much simpler to add 6 pragmas to the loops of > rk45_apply to achieve the same goal. I suspect, from glancing at the first example at http://www.gnu.org/software/gsl/manual/html_node/ODE-Example-programs.html, you could achieve parallelization atop stock GSL builds with fewer than 6 pragmas. I also suspect that by using OpenMP tasks over the coarser granularity concept (1 ODE) instead of the parallel-fors over the finer granularity method (1 step) you may see better overall performance. - Rhys