[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-libmatheval] libmatheval not thread safe?

From: nate lust
Subject: Re: [bug-libmatheval] libmatheval not thread safe?
Date: Thu, 30 Jun 2011 12:32:42 -0400

Sorry it has taken so long to get back to you, Im working on my phd so my time comes and goes. Im specifically trying to write a python c extension, which takes some numbers (or arrays) and a string representing a formula, and uses openmp and libmatheval to compute the output. I will attach a copy of the code as it stands now. Thank you for the help.

On Sat, Jun 18, 2011 at 1:00 PM, Aleksandar Samardzic <address@hidden> wrote:
On Tue, Jun 14, 2011 at 12:01:59AM -0400, nate lust wrote:
> I am working on a small project, using libmatheval and openmp, it seems
> that when i try and call the libmatheval function from inside the parallel
> region i segfault (or get other memory tramples). If i set the number of
> threads to one, it runs fine, but defeats the purpose of my code. Is
> there anyway to make this tread safe?
> nate

Hello Nate,

Thanks for your message.  Would it be possible for you to provide more
details, or even better code sample demostrating the type of problem
you're facing with libmatheval?  The library is written to be
thread-safe, but I haven't used it along with OpenMP so far...


Attachment: mapper.c
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]