From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21761 invoked by alias); 12 Dec 2012 21:41:27 -0000 Received: (qmail 21750 invoked by uid 22791); 12 Dec 2012 21:41:26 -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,SARE_MILLIONSOF 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 21:41:23 +0000 Received: by mail-we0-f169.google.com with SMTP id t49so569471wey.0 for ; Wed, 12 Dec 2012 13:41:22 -0800 (PST) Received: by 10.194.7.104 with SMTP id i8mr4404827wja.27.1355348482069; Wed, 12 Dec 2012 13:41:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.90.231 with HTTP; Wed, 12 Dec 2012 13:41:01 -0800 (PST) In-Reply-To: <50C8F2E7.7070701@calculquebec.ca> References: <50C791BB.4060303@calculquebec.ca> <50C8F2E7.7070701@calculquebec.ca> From: Rhys Ulerich Date: Wed, 12 Dec 2012 21:41: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/msg00006.txt.bz2 > The more intensive function is within rkf45_apply in my case. I simply added > a few pragmas to the loops, and it speed it up quite a lot. Having looked at where you've placed the #pragma omp parallels, have you tried enabling vectorization to see if the time spent in those axpy-like operations could be improved? A good SSE-ready optimizer should nail those. I may have misunderstood your "millions of differential equations" statement. Are you rather solving one problem with a million degrees of freedom? - Rhys