SCIP JNI — пример JNIKnapsack не запускается

Я пытаюсь использовать SCIP JNI с помощью SCIP Optimization Suite и компилирую его из исходного кода с помощью Ubuntu 16.04. Я скомпилировал папку интерфейса jni, используя инструкции, представленные на сайте, но, похоже, возникла проблема с примером JniKnapsack. При запуске с помощью Makefile и файла run.sh, доступного в папке:

make run

Результат:

SCIP version 3.2.1 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 2.2.1] [GitHash: c7c6c02]
Copyright (c) 2002-2016 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
created variables <x0>
variables pointer <1958512920>
created variables <x1>
variables pointer <1958513276>
created variables <x2>
variables pointer <1958517056>
created variables <x3>
variables pointer <1958517412>
created variables <x4>
variables pointer <1958517768>
created variables <x5>
variables pointer <1958518124>
created variables <x6>
variables pointer <1958521568>
created variables <x7>
variables pointer <1958521924>
created variables <x8>
variables pointer <1958522280>
created variables <x9>
variables pointer <1958522636>
*** 10.0
*** 11.0
*** 12.0
*** 13.0
*** 14.0
*** 15.0
*** 16.0
*** 17.0
*** 18.0
*** 19.0
*** 11
*** Value found: -1.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x74823c65, pid=18485, tid=3057216320
#
# JRE version: OpenJDK Runtime Environment (8.0_91-b14) (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14)
# Java VM: OpenJDK Server VM (25.91-b14 mixed mode linux-x86 )
# Problematic frame:
# C  [libscip.linux.x86.gnu.opt.so+0x44bc65]  SCIPsolGetVal+0x35
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/david/workspace/scipoptsuite-3.2.1/scip-3.2.1/interfaces/jni/examples/JniKnapsack/hs_err_pid18485.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

person desr    schedule 22.06.2016    source источник
comment
Вы используете 32-битную версию Java? Вывод предполагает, что вы используете 64-битный вариант Java, но 32-битную версию SCIP. Вы должны либо переключиться на 64-битный SCIP, либо на 32-битную Java. Вы все еще получаете ту же ошибку?   -  person mueldgog    schedule 22.06.2016
comment
Я использую 32-битное ядро ​​и 32-битную Java -- uname -i outputs:i686; java -version: openjdk версия 1.8.0_91 Среда выполнения OpenJDK (сборка 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14) Виртуальная машина сервера OpenJDK (сборка 25.91-b14, смешанный режим)   -  person desr    schedule 23.06.2016
comment
Согласно указанию на ответ, который вы предоставили в stackoverflow.com/ questions/37001271/install-scip-on-eclipse/ Я успешно скомпилировал и запустил тот же пример в дистрибутиве Linux x64. Зная, что на сайте SCIP доступна версия x86, я предполагаю, что должна существовать какая-то проблема с исходным кодом SCIPSuite.   -  person desr    schedule 23.06.2016