[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GLPK compiled with -march=native produces different results
From: |
Domingo Alvarez Duarte |
Subject: |
GLPK compiled with -march=native produces different results |
Date: |
Fri, 17 Jul 2020 17:34:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hello !
Doing tests with GLPK I noticed that if I compile it with "-march=native
-g -O2" on a computer with an "i7" processor the solution for several
files change, the objective function result remain the same but other
values varies from model to model.
Example dist.mod:
====
6 rlim[w96] NU 3 0 3 -11283.2 #
only -O2
====
6 rlim[w96] NU 3 0 3 -11283.1 #
-O2 -march=native
====
Example mfasp.mod:
====
1 r[1,2] 9 1 # only -O2
2 r[2,3] 2 1
====
1 r[1,2] 1 1 # -O2 -march=native
2 r[2,3] 10 1
====
Cheers !
- GLPK compiled with -march=native produces different results,
Domingo Alvarez Duarte <=