Originally posted by: p_weiss
CPX_PARAM_DATACHECK is set to one (CPXsetintparam (_env, CPX_PARAM_DATACHECK, 1)).
Up until now, the freezing never occurred when I used valgrind, at least in those cases there were no memory errors.
The freezing didn't occur for some time, as I was focusing some other project. Yesterday, I again had a frozen run (without valgrind), even though I included a wall time limit of 7200s (CPXsetintparam (_env, CPX_PARAM_CLOCKTYPE, 2); CPXsetdblparam (_env, CPX_PARAM_TILIM, num_seconds);) It seems, the time limit was ignored.
I attached gdb to the process, unfortunately, there is no debug information in the cplex lib files. It said (after single stepping multiple times)
0x00007f3122e0f89c in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) n
Single stepping until exit from function __lll_lock_wait,
which has no line number information.
0x00007f3122e0b4d7 in _L_lock_913 () from /lib64/libpthread.so.0
(gdb) n
Single stepping until exit from function _L_lock_913,
which has no line number information.
0x00007f3122e0b300 in pthread_mutex_lock () from /lib64/libpthread.so.0
(gdb) n
Single stepping until exit from function pthread_mutex_lock,
which has no line number information.
0x00007f30f70b47e1 in _5b993699a1a5c9fd7161ae008bbeb2a5 () from <some path>/cplex126/bin/Linux64/libcplex126.so
(gdb) n
Single stepping until exit from function _5b993699a1a5c9fd7161ae008bbeb2a5,
which has no line number information.
Then it stopped, i.e. it never exited this function. I detached and reattached gdb multiple times, and it always went either like this or with "unlock" instead of "lock" everywhere, and ended inside the same function.
Regarding the version, it says 12.6.0 in the README.html, I guess there is just a minor difference to 12.6.0.1, if at all?
Any more ideas what I could try?
Here the complete log of the frozen run:
Found 0 integer variables.
Tried aggregator 1 time.
LP Presolve eliminated 225328 rows and 28842 columns.
Aggregator did 79248 substitutions.
Reduced LP has 449721 rows, 1234378 columns, and 2353751 nonzeros.
Presolve time = 1.87 sec. (783.82 ticks)
Parallel mode: using up to 8 threads for barrier.
***NOTE: Found 468 dense columns.
Number of nonzeros in lower triangle of A*A' = 4083271
Using Nested Dissection ordering
Total time for automatic ordering = 12.96 sec. (9153.89 ticks)
Summary statistics for Cholesky factor:
Threads = 8
Rows in Factor = 450189
Integer space required = 1706338
Total non-zeros in factor = 44116620
Total FP ops to factor = 48009042878
Itn Primal Obj Dual Obj Prim Inf Upper Inf Dual Inf
0 -2.2725586e+11 6.9107417e+08 1.89e+06 3.01e+04 1.01e+11
1 -1.2366787e+11 5.5256110e+09 1.03e+06 1.64e+04 5.91e+10
2 -9.7606899e+10 1.3451611e+10 4.05e+05 6.43e+03 2.76e+10
3 -1.0894040e+10 1.2118791e+10 5.25e+02 8.34e+00 1.03e+10
4 -6.4992818e+09 5.8101901e+09 2.61e+02 4.14e+00 3.66e+09
5 -3.0368811e+09 5.7409818e+09 7.10e+00 1.13e-01 2.71e+09
6 -1.7025683e+09 3.5384470e+09 4.02e+00 6.39e-02 1.07e+09
7 -1.0815752e+09 3.1364594e+09 2.44e+00 3.87e-02 6.81e+08
8 -4.9227157e+06 2.2383293e+09 7.21e-01 1.15e-02 2.27e+08
9 4.4555028e+08 1.6335403e+09 2.85e-01 4.53e-03 4.52e+07
10 7.7919893e+08 1.5071687e+09 6.35e-02 1.01e-03 2.50e+07
11 8.8272935e+08 1.3934206e+09 1.87e-02 2.97e-04 1.18e+07
12 9.9579129e+08 1.2756661e+09 1.07e-03 1.70e-05 3.81e+06
13 1.0245776e+09 1.2295162e+09 3.35e-04 5.32e-06 1.64e+06
14 1.0773196e+09 1.1726417e+09 5.32e-05 8.45e-07 3.59e+05
15 1.0857848e+09 1.1637071e+09 3.41e-05 5.42e-07 1.94e+05
16 1.1093654e+09 1.1491161e+09 1.25e-05 1.99e-07 7.80e+04
17 1.1161374e+09 1.1424542e+09 3.34e-06 5.31e-08 1.01e+04
18 1.1211978e+09 1.1399249e+09 1.37e-06 2.18e-08 4.16e+03
19 1.1283184e+09 1.1367039e+09 3.42e-07 5.44e-09 1.21e+03
20 1.1297214e+09 1.1357052e+09 1.72e-07 2.73e-09 4.41e+02
21 1.1313988e+09 1.1352350e+09 7.51e-08 1.19e-09 2.72e+02
22 1.1329246e+09 1.1344811e+09 1.28e-08 1.94e-10 6.33e+01
23 1.1332920e+09 1.1343278e+09 8.69e-09 1.25e-10 4.50e+01
24 1.1336073e+09 1.1341408e+09 5.35e-09 6.50e-11 2.27e+01
25 1.1337620e+09 1.1340537e+09 4.17e-09 3.58e-11 1.22e+01
26 1.1338541e+09 1.1340011e+09 4.48e-09 1.84e-11 5.93e+00
27 1.1338887e+09 1.1339784e+09 4.16e-09 1.19e-11 3.22e+00
28 1.1339195e+09 1.1339707e+09 5.09e-09 6.04e-12 2.29e+00
29 1.1339300e+09 1.1339597e+09 4.61e-09 6.73e-08 9.76e-01
30 1.1339382e+09 1.1339567e+09 5.21e-09 4.18e-08 6.14e-01
31 1.1339425e+09 1.1339552e+09 5.91e-09 2.83e-08 4.33e-01
32 1.1339449e+09 1.1339539e+09 1.53e-07 2.07e-08 2.83e-01
33 1.1339481e+09 1.1339527e+09 8.49e-08 6.31e-08 1.41e-01
34 1.1339503e+09 1.1339521e+09 1.08e-07 2.22e-08 5.83e-02
35 1.1339511e+09 1.1339519e+09 1.24e-07 4.49e-08 3.74e-02
36 1.1339512e+09 1.1339517e+09 4.19e-07 1.16e-07 1.55e-02
37 1.1339514e+09 1.1339517e+09 2.88e-07 9.72e-08 1.16e-02
#CPLEXOptimizers#DecisionOptimization