Re: Thread Safety of GLPK
Andrew Makhorin <[email protected]>
| Newsgroups | gmane.comp.gnu.glpk |
|---|---|
| Message-ID | <1504075958.4533.1.camel@corvax> |
> 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 mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk