LBFGSpp icon indicating copy to clipboard operation
LBFGSpp copied to clipboard

Examples hang on Linux/ppc64le

Open awvwgk opened this issue 2 years ago • 0 comments

Trying to test LBFGS++ on Linux/ppc64le leads to the example programs in this repository hanging.

Test log
 + set -ex
 + for i in 'examples/*.cpp'
 + /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/bin/powerpc64le-conda-linux-gnu-c++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -mcpu=power8 -mtune=power8 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/test_tmp=/usr/local/src/conda/lbfgspp-0.2.0 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol=/usr/local/src/conda-prefix -I/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3 -o examples/example-quadratic.cpp.out examples/example-quadratic.cpp
 + examples/example-quadratic.cpp.out
 2 iterations
 x = 
 0 1 2 3 4 5 6 7 8 9
 f(x) = 6.76695e-30
 + for i in 'examples/*.cpp'
 + /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/bin/powerpc64le-conda-linux-gnu-c++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -mcpu=power8 -mtune=power8 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/test_tmp=/usr/local/src/conda/lbfgspp-0.2.0 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol=/usr/local/src/conda-prefix -I/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3 -o examples/example-rosenbrock-box.cpp.out examples/example-rosenbrock-box.cpp
 In file included from /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3/Eigen/Core:350,
                  from examples/example-rosenbrock-box.cpp:1:
 /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h: In function 'static void Eigen::internal::general_matrix_matrix_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride>::run(Index, Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, Eigen::internal::general_matrix_matrix_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride>::ResScalar*, Index, Index, Eigen::internal::general_matrix_matrix_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride>::ResScalar, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&, Eigen::internal::GemmParallelInfo<Index>*) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1]':
 /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h:2808:34: warning: builtin '__builtin_cpu_supports' needs GLIBC (2.23 and newer) that exports hardware capability bits
  2808 |       if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
       |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
 /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h:2808:73: warning: builtin '__builtin_cpu_supports' needs GLIBC (2.23 and newer) that exports hardware capability bits
  2808 |       if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
       |                                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
 + examples/example-rosenbrock-box.cpp.out
 13 iterations
 x = 
       2       2 1.64743       2       2       2       2       2       2       2       2       2       2       2       2       2       2       2       2       2       2       2       2 2.10909       4
 f(x) = 360.284
 + for i in 'examples/*.cpp'
 + /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/bin/powerpc64le-conda-linux-gnu-c++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -mcpu=power8 -mtune=power8 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/test_tmp=/usr/local/src/conda/lbfgspp-0.2.0 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol=/usr/local/src/conda-prefix -I/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3 -o examples/example-rosenbrock-bracketing.cpp.out examples/example-rosenbrock-bracketing.cpp
 + examples/example-rosenbrock-bracketing.cpp.out
 n = 2
 Test passed!
 
 n = 4
 Test passed!
 
 n = 6
 Test passed!
 
 n = 8
 Test passed!
 
 n = 10
 Test passed!
 
 n = 12
 Test passed!
 
 n = 14
 Test passed!
 
 n = 16
 Test passed!
 
 + for i in 'examples/*.cpp'
 + /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/bin/powerpc64le-conda-linux-gnu-c++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -mcpu=power8 -mtune=power8 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/test_tmp=/usr/local/src/conda/lbfgspp-0.2.0 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol=/usr/local/src/conda-prefix -I/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3 -o examples/example-rosenbrock-comparison.cpp.out examples/example-rosenbrock-comparison.cpp
 + examples/example-rosenbrock-comparison.cpp.out
 n = 2
   Average #calls:
   LineSearchBacktracking : 34 calls, 24 iterations
   LineSearchBracketing   : 33 calls, 24 iterations
   LineSearchNocedalWright: 35 calls, 26 iterations
 n = 4
   Average #calls:
   LineSearchBacktracking : 56 calls, 43 iterations
   LineSearchBracketing   : 56 calls, 43 iterations
   LineSearchNocedalWright: 57 calls, 44 iterations
 n = 6
   Average #calls:
   LineSearchBacktracking : 109 calls, 89 iterations
   LineSearchBracketing   : 108 calls, 88 iterations
   LineSearchNocedalWright: 100 calls, 83 iterations
 n = 8
   Average #calls:
   LineSearchBacktracking : 130 calls, 109 iterations
   LineSearchBracketing   : 130 calls, 109 iterations
   LineSearchNocedalWright: 120 calls, 103 iterations
 n = 10
   Average #calls:
   LineSearchBacktracking : 136 calls, 114 iterations
   LineSearchBracketing   : 136 calls, 114 iterations
   LineSearchNocedalWright: 126 calls, 109 iterations
 n = 12
   Average #calls:
   LineSearchBacktracking : 140 calls, 118 iterations
   LineSearchBracketing   : 139 calls, 118 iterations
   LineSearchNocedalWright: 130 calls, 114 iterations
 n = 14
   Average #calls:
   LineSearchBacktracking : 144 calls, 122 iterations
   LineSearchBracketing   : 144 calls, 122 iterations
   LineSearchNocedalWright: 134 calls, 117 iterations
 n = 16
   Average #calls:
   LineSearchBacktracking : 146 calls, 124 iterations
   LineSearchBracketing   : 145 calls, 123 iterations
   LineSearchNocedalWright: 134 calls, 118 iterations
 n = 18
   Average #calls:
   LineSearchBacktracking : 148 calls, 126 iterations
   LineSearchBracketing   : 149 calls, 126 iterations
   LineSearchNocedalWright: 137 calls, 120 iterations
 n = 20
   Average #calls:
   LineSearchBacktracking : 150 calls, 127 iterations
   LineSearchBracketing   : 150 calls, 127 iterations
   LineSearchNocedalWright: 136 calls, 120 iterations
 n = 22
   Average #calls:
   LineSearchBacktracking : 150 calls, 128 iterations
   LineSearchBracketing   : 150 calls, 128 iterations
   LineSearchNocedalWright: 140 calls, 123 iterations
 n = 24
   Average #calls:
   LineSearchBacktracking : 152 calls, 129 iterations
   LineSearchBracketing   : 152 calls, 129 iterations
   LineSearchNocedalWright: 140 calls, 123 iterations
 + for i in 'examples/*.cpp'
 + /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/bin/powerpc64le-conda-linux-gnu-c++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -mcpu=power8 -mtune=power8 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/test_tmp=/usr/local/src/conda/lbfgspp-0.2.0 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol=/usr/local/src/conda-prefix -I/home/conda/feedstock_root/build_artifacts/lbfgspp_1656534905612/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/include/eigen3 -o examples/example-rosenbrock.cpp.out examples/example-rosenbrock.cpp
 + examples/example-rosenbrock.cpp.out
 ##[error]The operation was canceled.
 ##[section]Finishing: Run docker build

Build log: https://app.travis-ci.com/github/conda-forge/lbfgspp-feedstock/jobs/575234358

awvwgk avatar Jun 30 '22 05:06 awvwgk