odelaneau / shapeit4

Segmented HAPlotype Estimation and Imputation Tool
MIT License
89 stars 17 forks source link

Core dump on invoking on CentOS8 #60

Open brucedesertrat opened 2 years ago

brucedesertrat commented 2 years ago

Environment: CentOS Linux release 8.3.2011 Boost and HTSLib from epel

Installed Packages Name : boost169 Version : 1.69.0 Release : 4.el8 Architecture : x86_64 Size : 1.3 k Source : boost169-1.69.0-4.el8.src.rpm Repository : @System From repo : epel

Installed Packages Name : htslib Version : 1.9 Release : 5.el8 Architecture : x86_64 Size : 952 k Source : htslib-1.9-5.el8.src.rpm Repository : @System From repo : epel

makefile (attached as makefile.txt) works and it compiles without any warnings or errors.

running it results in an immediate core dump:

./shapeit4.2 --help Illegal instruction (core dumped)

abrt report is included as shapeit_cor.tar.gz

shapeit_core.tar.gz

makefile.txt

brucedesertrat commented 2 years ago

I was able to get it to function by changing the compiler / linker flag to

CXXFLAG=-O3 -march=native