-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to run JSCIP test exmple on macbook #21
Comments
Can you compile the SCIP Optimization Suite via
and try again? Could you also add the full log when compiling JSCIPOpt? Thanks! |
Hi, The log is to long, could you please let me know what parts are important ? |
Direct the output to a file and upload it here.
usact <notifications@github.com> schrieb am Mi., 11. März 2020, 18:59:
… Hi, The log is to long, could you please let me know what parts are
important ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIKCB247U4PW4V77OIH64LRG7GPVANCNFSM4LFX4TSQ>
.
|
I have rebuilt JSCIPOpt. I run:
got:
then, I run
I got:
I am not sure why I got this. The log files are attached. |
Hi,
I have posted it on github
#21
thanks
…On Wed, Mar 11, 2020 at 11:21 AM Benjamin Mueller ***@***.***> wrote:
Direct the output to a file and upload it here.
usact ***@***.***> schrieb am Mi., 11. März 2020, 18:59:
> Hi, The log is to long, could you please let me know what parts are
> important ?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#21 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ACIKCB247U4PW4V77OIH64LRG7GPVANCNFSM4LFX4TSQ
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIY2AKXZ74CGQWTCBWPWCTRG7JENANCNFSM4LFX4TSQ>
.
|
Did anybody find something wrong in the attached build log files ? thanks! |
I just tested it on our Mac machine, which uses
I get the same error message about "-L..." directory not found and the warning about Anyway, executing
works just fine. I'm not too familiar with Mac and Java, so I cannot help you too much with the issue. |
Can you add all the output of the |
Hi, I run the same command and got the error as follows. thanks java -cp scip.jar:examples.jar "Linear" A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x000000010d4bd319, pid=52939, tid=0x0000000000002703 JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-b10) Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode bsd-amd64 compressed oops) Problematic frame: C [libawt_lwawt.dylib+0x48319] JNI_OnLoad+0x91 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: /Users/my_name/git/JSCIPOpt/build/Release/hs_err_pid52939.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. Abort trap: 6 gcc --version
cmake --version
|
Did you try ulimit -c unlimited ?
usact <notifications@github.com> schrieb am Fr., 13. März 2020, 16:03:
… Hi,
I run the same command and got :----------------------------java -cp
scip.jar:examples.jar "Linear"## A fatal error has been detected by the
Java Runtime Environment:## SIGSEGV (0xb) at pc=0x000000010d4bd319,
pid=52939, tid=0x0000000000002703## JRE version: OpenJDK Runtime
Environment (8.0_222-b10) (build 1.8.0_222-b10)# Java VM: OpenJDK 64-Bit
Server VM (25.222-b10 mixed mode bsd-amd64 compressed oops)# Problematic
frame:# C [libawt_lwawt.dylib+0x48319] JNI_OnLoad+0x91## 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:#
/Users/my_name/git/JSCIPOpt/build/Release/hs_err_pid52939.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.#Abort trap: 6---------------------------gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4) Target:
x86_64-apple-darwin18.7.0 Thread model: posix InstalledDir:
/Library/Developer/CommandLineTools/usr/bincmake --version cmake
version 3.16.5 CMake suite maintained and supported by Kitware (
kitware.com/cmake).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIKCBZK2XVRQNQFBGD2XYTRHJDL5ANCNFSM4LFX4TSQ>
.
|
Hi,
I run the same command and got the error as follows.
More details and the error log file can be found at
#21
thanks,
…----------------------------
java -cp scip.jar:examples.jar "Linear"
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000010d4bd319, pid=52939, tid=0x0000000000002703
#
# JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build
1.8.0_222-b10)
# Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode bsd-amd64
compressed oops)
# Problematic frame:
# C [libawt_lwawt.dylib+0x48319] JNI_OnLoad+0x91
#
# 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:
# /Users/my_name/git/JSCIPOpt/build/Release/hs_err_pid52939.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.
#
Abort trap: 6
---------------------------
gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
cmake --version
cmake version 3.16.5
CMake suite maintained and supported by Kitware (kitware.com/cmake).
On Fri, Mar 13, 2020 at 1:40 AM Benjamin Mueller ***@***.***> wrote:
Can you add all the output of the java -cp scip.jar:examples.jar "Linear",
please? I think that after A fatal error has been detected by the Java
Runtime Environment: there is also an error log mention. Please add the
file to the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIY2AO4DBJU5Q3XYZWMTMTRHHWODANCNFSM4LFX4TSQ>
.
|
yes, The error log file is attached. |
yes,
java -cp scip.jar:examples.jar "Linear" ulimit -c unlimited
The error log file is attached.
#21
thanks,
Jinxu
…On Fri, Mar 13, 2020 at 8:07 AM Benjamin Mueller ***@***.***> wrote:
Did you try ulimit -c unlimited ?
usact ***@***.***> schrieb am Fr., 13. März 2020, 16:03:
> Hi,
> I run the same command and got :----------------------------java -cp
> scip.jar:examples.jar "Linear"## A fatal error has been detected by the
> Java Runtime Environment:## SIGSEGV (0xb) at pc=0x000000010d4bd319,
> pid=52939, tid=0x0000000000002703## JRE version: OpenJDK Runtime
> Environment (8.0_222-b10) (build 1.8.0_222-b10)# Java VM: OpenJDK 64-Bit
> Server VM (25.222-b10 mixed mode bsd-amd64 compressed oops)# Problematic
> frame:# C [libawt_lwawt.dylib+0x48319] JNI_OnLoad+0x91## 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:#
> /Users/my_name/git/JSCIPOpt/build/Release/hs_err_pid52939.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.#Abort trap: 6---------------------------gcc --version
> Configured with: --prefix=/Library/Developer/CommandLineTools/usr
>
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
> Apple LLVM version 10.0.1 (clang-1001.0.46.4) Target:
> x86_64-apple-darwin18.7.0 Thread model: posix InstalledDir:
> /Library/Developer/CommandLineTools/usr/bincmake --version cmake
> version 3.16.5 CMake suite maintained and supported by Kitware (
> kitware.com/cmake).
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#21 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ACIKCBZK2XVRQNQFBGD2XYTRHJDL5ANCNFSM4LFX4TSQ
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIY2AOVSAGSXEXSAL4NUMTRHJD3LANCNFSM4LFX4TSQ>
.
|
I don't see the log, where is it? Sorry, I might not see it because I use my phone. It looks like that you added the ulimit ... to the java command. Just to be sure: You need to set the ulimit first and then execute the java command. |
i have run it: $ulimit -c unlimited and then A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x0000000123280319, pid=55309, tid=0x0000000000002203 JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-b10) Core dump written. Default location: /cores/core or core.55309 An error report file with more information is saved as: If you would like to submit a bug report, please visit: Abort trap: 6 (core dumped) |
I have run it:
$ulimit -c unlimited
and then
$ java -cp scip.jar:examples.jar "Linear"
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x0000000123280319, pid=55309, tid=0x0000000000002203
JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-b10)
Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode bsd-amd64
compressed oops)
Problematic frame:
C [libawt_lwawt.dylib+0x48319] JNI_OnLoad+0x91
Core dump written. Default location: /cores/core or core.55309
An error report file with more information is saved as:
/Users/my_name/git/JSCIPOpt/build/Release/hs_err_pid55309.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.
Abort trap: 6 (core dumped)
…On Fri, Mar 13, 2020 at 8:43 AM Benjamin Mueller ***@***.***> wrote:
I don't see the log, where is it? Sorry, I might not see it because I use
my phone.
It looks like that you added the ulimit ... to the java command. Just to
be sure: You need to set the ulimit first and then execute the java command.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIY2ANXB2GFIVP7BKVHT2LRHJIDZANCNFSM4LFX4TSQ>
.
|
What is written in
/Users/my_name/git/JSCIPOpt/build/Release/hs_err_pid55309.log
?
usact <notifications@github.com> schrieb am Fr., 13. März 2020, 16:52:
… i have run it:
$ulimit -c unlimited
$ java -cp scip.jar:examples.jar "Linear"
A fatal error has been detected by the Java Runtime Environment: SIGSEGV
(0xb) at pc=0x0000000123280319, pid=55309, tid=0x0000000000002203 JRE
version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-b10) Java
VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode bsd-amd64 compressed
oops) Problematic frame: C [libawt_lwawt.dylib+0x48319] JNI_OnLoad+0x91 Core
dump written. Default location: /cores/core or core.55309 An error report
file with more information is saved as:
/Users/my_name/git/JSCIPOpt/build/Release/hs_err_pid55309.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.
Abort trap: 6 (core dumped)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIKCBYJCEP4KEBYMVDQTZDRHJJCPANCNFSM4LFX4TSQ>
.
|
Okay, I have seen that you added the log to a previous post. |
Could it be that you have multiple versions of the java jdk installed? According to the error log, it looks like that there is some jenkins related jdk somewhere used. Could this be? |
You mean this ? Internal exceptions (2 events): 200 Event: 0.039 Thread 0x00007fc223006800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang /String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000076ab07cb8) thrown at [/Users/jenkins/workspace/build- scripts/jobs/jdk8u/jdk8u-mac-x64-hotsp 201 Event: 0.039 Thread 0x00007fc223006800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lan g/Object;J)V name or signature does not match> (0x000000076ab07fa0) thrown at [/Users/jenkins/workspace/build-scripts/jobs/jdk8u /jdk8u-mac-x64-hotspot/workspace/build |
But, I do not have this folder: on my laptop (macbook pro) |
You mean this ?
…-------------
Internal exceptions (2 events):
200 Event: 0.039 Thread 0x00007fc223006800 Exception <a
'java/lang/NoSuchMethodError': Method
sun.misc.Unsafe.defineClass(Ljava/lang /String;[BII)Ljava/lang/Class; name
or signature does not match> (0x000000076ab07cb8) thrown at
[/Users/jenkins/workspace/build- scripts/jobs/jdk8u/jdk8u-mac-x64-hotsp
201 Event: 0.039 Thread 0x00007fc223006800 Exception <a
'java/lang/NoSuchMethodError': Method
sun.misc.Unsafe.prefetchRead(Ljava/lan g/Object;J)V name or signature does
not match> (0x000000076ab07fa0) thrown at
[/Users/jenkins/workspace/build-scripts/jobs/jdk8u
/jdk8u-mac-x64-hotspot/workspace/build
-------------------------------
But, I do not have this folder:
/Users/jenkins
on my laptop (macbook pro)
On Fri, Mar 13, 2020 at 9:03 AM Benjamin Mueller ***@***.***> wrote:
Could it be that you have multiple versions of the java jdk installed?
According to the error log, it looks like that there is some jenkins
related jdk somewhere used. Could this be?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIY2AIC5LE7PEOUOVAPGQTRHJKMTANCNFSM4LFX4TSQ>
.
|
this is the latest error log file attached: |
this is the latest error log file attached.
…On Fri, Mar 13, 2020 at 9:03 AM Benjamin Mueller ***@***.***> wrote:
Could it be that you have multiple versions of the java jdk installed?
According to the error log, it looks like that there is some jenkins
related jdk somewhere used. Could this be?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALIY2AIC5LE7PEOUOVAPGQTRHJKMTANCNFSM4LFX4TSQ>
.
|
I do not see that I have multiple JDKs ? |
The directory does not exist? Very strange. You should try to figure out
why java wants to call something from there. Maybe you could reinstall the
jdk? Check also your PATH and LD_LIBRARY_PATH variable (maybe there is
something else for Mac).
usact <notifications@github.com> schrieb am Fr., 13. März 2020, 17:33:
… this is the latest error log file attached.
On Fri, Mar 13, 2020 at 9:03 AM Benjamin Mueller ***@***.***
>
wrote:
> Could it be that you have multiple versions of the java jdk installed?
> According to the error log, it looks like that there is some jenkins
> related jdk somewhere used. Could this be?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#21 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ALIY2AIC5LE7PEOUOVAPGQTRHJKMTANCNFSM4LFX4TSQ
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIKCB7THR7UAQR5IJYZ7TLRHJN6PANCNFSM4LFX4TSQ>
.
|
These are the values for the two env variables: echo $PATH $ echo $LD_LIBRARY_PATH It is not set yet. |
Also, I have installed "docker desktop" on my laptop. Hope that it is not a problem. |
Also, I have tried to run a simple test Hello-World Java Program on my laptop. It works well. |
Would it be possible for you to create a new user account on your Mac that
has no additional packages installed? I think that the current issue is due
to some incompatibilities of some installed packages.
usact <notifications@github.com> schrieb am Fr., 13. März 2020, 18:17:
… Also, I have tried to run a simple test Hello-World Java Program on my
laptop. It works well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIKCB4THII7OJ7B3UPRQU3RHJTBZANCNFSM4LFX4TSQ>
.
|
You mean "Jenkins" could be a pseudo account that cause this problem ? The MacBook operating system assumes that the "Jenkins" account is calling JDK not my login-account ? |
But, I never install "Jenkins". |
If there is something wrong with JDK, why the test "HelloWord" java program works well under the same account on my laptop ? thanks ! |
I'm proposing to start from a "clean" account, i.e., that didn't install any additional packages. With this account, you try to make JSCIPOpt work and then you want to find out, which package breaks things. Not very efficient, but I don't have a good suggestion on how to proceed with your issue. |
I don't think that your java is generally broken, so this "Hello World" example doesn't mean much. I could imagine that the java native interface that is used to compile the code in JSCIPOpt is incompatible with the installed version of the JDK. Sorry, but I'm just guessing here. |
"the java native interface that is used to compile the code in JSCIPOpt" should be the JDK that is installed on my laptop, right ? |
My laptop is a business machine and I cannot create another "clean account" on it. Also, the installed packages are still there even though I can create the "clean account", right ? |
I have two JDKS: Should I remove "adoptopenjdk-8.jdk" ? and try jdk12 ? Hi, I have removed "adoptopenjdk-8.jdk" and now it works. I can run $ java -cp scip.jar:examples.jar "Linear" and get results. I am using jdk 12. Java VM: Java HotSpot(TM) 64-Bit Server VM (12.0.2+10, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64) No core dump will be written. 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: If you would like to submit a bug report, please visit: Disconnected from the target VM, address: '127.0.0.1:55368', transport: 'socket' Process finished with exit code 134 (interrupted by signal 6: SIGABRT) |
The "Linear.java" crashed when I run the following line in debug mode: Which version of JDK is more stable for JSCIP ? JDK10 is not supported so I use JDK12. Also, "releaseVar" also crashed the program. It seems that if variables or constraints are released, it will cause crash ? |
Duplicate of #10. |
Hi, I am trying to run JSCIP on MacBook.
My OS :
My java:
I downloaded SCIP from
and build it after installing gmp.
I just run :
and then
It works well on MacBook.
Then, I installed JSCIP on macbook by following this step by step:
When I am running
I got :
When I run
I got:
How can I run this correctly ?
Thanks
The text was updated successfully, but these errors were encountered: