From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13789 invoked by alias); 12 Dec 2012 17:05:31 -0000 Received: (qmail 13764 invoked by uid 22791); 12 Dec 2012 17:05:27 -0000 X-SWARE-Spam-Status: No, hits=-4.2 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-we0-f169.google.com (HELO mail-we0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 12 Dec 2012 17:05:21 +0000 Received: by mail-we0-f169.google.com with SMTP id t49so428523wey.0 for ; Wed, 12 Dec 2012 09:05:20 -0800 (PST) Received: by 10.181.11.234 with SMTP id el10mr24095122wid.7.1355331920376; Wed, 12 Dec 2012 09:05:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.90.231 with HTTP; Wed, 12 Dec 2012 09:05:00 -0800 (PST) In-Reply-To: <50C791BB.4060303@calculquebec.ca> References: <50C791BB.4060303@calculquebec.ca> From: Rhys Ulerich Date: Wed, 12 Dec 2012 17:05: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/msg00002.txt.bz2 > I am using GSL from another library of my own to perform numerical > integration of vectorial differential equations. After optimizing and > parallelizing most of my library, I ended up with the conclusion that GSL is > a major bottle neck in my computation, simply because it is not parallelized > to exploit multi-core achitectures. Have you tried solving many such problems in parallel using threadprivate GSL workspaces? This permits you to put a parallel section outside of many GSL invocations by ensuring GSL's working storage is kept local to each thread. - Rhys