[GiNaC-list] is ginac thread safe for this case?

Cristobal Navarro axischire at gmail.com
Mon Jul 26 18:07:01 CEST 2010


Hello ginac friends
we known ginac is not thread safe, but it should be process safe, for
exmaple for openMPI usage right?

On Mon, Jun 14, 2010 at 1:12 AM, Alexei Sheplyakov
<alexei.sheplyakov at gmail.com> wrote:
> Hello,
>
> On Sun, Jun 13, 2010 at 03:44:13PM -0400, Cristobal Navarro wrote:
>> i would to clear a little!
>>
>> the expressions are independant from each thread,
>>
>> exp1 = x*y+....
>>
>> exp2 = x+x+x+x...
>>
>> exp3 = y+y*y+3...
>> ..
>> ..
>> expn = just_symbols..
>>
>> no subexpressions never.
>
> You can't know that for sure. Expression sharing is completely transparent
> for the user, it might be a side effect of some computation (i.e. calculating
> the derivative of a product, comparing two expressions, etc).
>
> Best regards,
>        Alexei
>
> _______________________________________________
> GiNaC-list mailing list
> GiNaC-list at ginac.de
> https://www.cebix.net/mailman/listinfo/ginac-list
>


More information about the GiNaC-list mailing list