bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] Re: GLPK and Distributed Shared Memory System


From: Andrew Makhorin
Subject: [Bug-glpk] Re: GLPK and Distributed Shared Memory System
Date: Thu, 22 Jan 2009 20:03:05 +0300

>> > Im using GLPK to solve tons of transportation problems in parallel
>> > with a distributed shared memory system.
>> > But sometimes the application exits with Segmentation Fault.
>> >
>> > Could it be that GLPK is doing some nusty things, that is writing IN
>> > memory blocks that I had reserved with malloc, or killing threads of the
>> > distributed shared system?
>>
>> Glpk is *not* thread safe, so calling glpk api routines from different
>> threads may cause addressing/segmentation error.

> Im not using threads.

Glpk routines do not write anything to memory blocks which were
allocated by someone else, and do not kill any threads of the distributed
shared system.

Could you provide more detailed information? Does the error happen within
a glpk routine? If so, in which one? Thanks.


Andrew Makhorin





reply via email to

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