[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Thread Safety of GLPK
From: |
Simone Atzeni |
Subject: |
Re: [Help-glpk] Thread Safety of GLPK |
Date: |
Wed, 30 Aug 2017 09:08:17 -0600 |
Yes, I run the following command:
"../configure --prefix=$HOME/usr --with-gmp”
attached the output of “config”.
I am working on a Red Hat Enterprise Linux Server release 7.3.
Thanks.
Simone
config.txt
Description: Text document
> On Aug 30, 2017, at 00:52, Andrew Makhorin <address@hidden> wrote:
>
>> thanks for your answers.
>> I updated to version 4.63, but I keep getting errors such as
>> "segmentation fault" or "glp_free: memory allocation error”.
>>
>> I have a function, with a few parameters in input, which creates the
>> MIP and solve it (attached the function which creates the MIP).
>> This function is called by multiple threads with different parameters and
>> they do not share any data.
>> As soon as I call the function within a mutex lock/unlock everything works
>> fine.
>>
>> I compiled the GLPK package with Clang/LLVM 4.9 which has support for
>> TLS, so I think everything should be fine.
>> Do I need to do something else to make GLPK thread safe?
>>
>
> How do you configure the package? Do you run the configure script?
- [Help-glpk] Thread Safety of GLPK, Simone Atzeni, 2017/08/24
- Re: [Help-glpk] Thread Safety of GLPK, Andrew Makhorin, 2017/08/25
- Re: [Help-glpk] Thread Safety of GLPK, Simone Atzeni, 2017/08/29
- Re: [Help-glpk] Thread Safety of GLPK, Heinrich Schuchardt, 2017/08/30
- Re: [Help-glpk] Thread Safety of GLPK, Simone Atzeni, 2017/08/30
- Re: [Help-glpk] Thread Safety of GLPK, Heinrich Schuchardt, 2017/08/30
- Re: [Help-glpk] Thread Safety of GLPK, Simone Atzeni, 2017/08/30
- Re: [Help-glpk] Thread Safety of GLPK, Heinrich Schuchardt, 2017/08/30