Re: GLPK and OPENMP - GLP_SIMPLEX running concurrently

2020-05-13 Thread Michael Hennebry
On Wed, 13 May 2020, Sierra Ansuas, Juan Pablo wrote: The program is returning correct values as long as the call to glp_simplex is enclosed inside an OMP CRITICAL region. This is the only part requiring a mutex. The rest of the glp_* functions are called concurrently by several threads with

Re: GLPK and OPENMP - GLP_SIMPLEX running concurrently

2020-05-13 Thread Domingo Alvarez Duarte
Hello Sierra ! My 2 cents, have you tried to compile with -fsanitize=thread to see if it catch the problem ? https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual Cheers ! On 13/5/20 14:50, Sierra Ansuas, Juan Pablo wrote: Hello, and sorry for insisting about this issue. Th

GLPK and OPENMP - GLP_SIMPLEX running concurrently

2020-05-13 Thread Sierra Ansuas, Juan Pablo
Hello, and sorry for insisting about this issue. The program is returning correct values as long as the call to glp_simplex is enclosed inside an OMP CRITICAL region. This is the only part requiring a mutex. The rest of the glp_* functions are called concurrently by several threads with no issu