Skip to content
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

error in installing astral-mp #78

Open
Aannaw opened this issue Aug 10, 2021 · 3 comments
Open

error in installing astral-mp #78

Aannaw opened this issue Aug 10, 2021 · 3 comments

Comments

@Aannaw
Copy link

Aannaw commented Aug 10, 2021

Hello, Professor,
I am installing the astral-mp, my command is :
git clone https://github.com/smirarab/ASTRAL/
cd ASTRAL
git checkout MP
./make.sh
java -D"java.library.path=/data/01/user157/software/ASTRAL/lib/" -jar native_library_tester.jar
The path of lib is current path,and I get the error :

There are 2 threads used to run.
Native AVX library found.
A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x00007f627452234a, pid=732789, tid=0x00007f62f3ad7700
JRE version: OpenJDK Runtime Environment (8.0_192-b01) (build 1.8.0_192-b01)
Java VM: OpenJDK 64-Bit Server VM (25.192-b01 mixed mode linux-amd64 compressed oops)
Problematic frame:
C [libAstral.so+0x234a] Java_phylonet_coalescent_Polytree_00024PTNative_cppBatchCompute+0x10a
Core dump written. Default location: /data/01/user157/software/ASTRAL/core or core.732789
An error report file with more information is saved as:
/data/01/user157/software/ASTRAL/hs_err_pid732789.log
[1] 732789 segmentation fault (core dumped) java -D"java.library.path=/data/01/user157/software/ASTRAL/lib/" -jar

Can you help me about the problem? Looking forward to your reply.

@Aannaw Aannaw closed this as completed Aug 10, 2021
@Aannaw Aannaw reopened this Aug 10, 2021
@smirarab
Copy link
Owner

smirarab commented Aug 10, 2021 via email

@Aannaw
Copy link
Author

Aannaw commented Aug 11, 2021

Hi,Professor,

Thanks for your reply.

This out_error.txt is the standard out and error captured when running ./make.sh.There is warning that : Build finished successfully. You can distribute Astral.5.15.4.zip or simply run astral.5.15.4.jar. Note that if you are moving astral.5.15.4.jar to some other location, you need to also move the lib directory.But the astral.5.15.4.jar is in the current path---/data/01/user157/software/ASTRAL. Should I remove the Astral.5.15.4.zip? I can not understand the meaning.

Thanks for again.

@smirarab
Copy link
Owner

Hmm. I see no errors in the make. You do not need to move Astral.5.15.4.zip.

The error you are reporting is something we have not seen before. I am not quite sure what is driving it. The important part seems to be:

OpenJDK 64-Bit Server VM (25.192-b01 mixed mode linux-amd64 compressed oops)

When I google this, it seems to be an error with either gcc, java, or both. The error is probably specific to some versions of Java (or gcc). Are you able to change the java version or gcc version on your machine? For example, if you are doing this on a cluster, sometimes, you can load new "modules" that change C or java compilers. If you are able to do that, perhaps try that to see if it fixes anything?

In particular, your java seems slightly old. You seem to have 1.8.0_192-b01 whereas, on all linux machines I have, I seem to have 1.8.0_252-b09. Is it possible to update java and try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants