This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
Re: Adding OpenMP support for some of the GSL functions
- From: Rhys Ulerich <rhys dot ulerich at gmail dot com>
- To: Maxime Boissonneault <maxime dot boissonneault at calculquebec dot ca>
- Cc: gsl-discuss at sourceware dot org
- Date: Wed, 12 Dec 2012 11:05:00 -0600
- Subject: Re: Adding OpenMP support for some of the GSL functions
- References: <50C791BB.4060303@calculquebec.ca>
> 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