-
Notifications
You must be signed in to change notification settings - Fork 5
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
执行用例错误 #19
Comments
cat /proc/version |
Hi wwhwwxlz, The error message "Segmentation fault (core dumped)" can be caused by various issues. Could you provide more details? Is there any additional information displayed on the screen? I noticed you're using the SuSiEx from the "bin" folder rather than the "bin_static" folder. Did you compile this script on your machine? If so, please try running: ldd ../bin/SuSiEx Alternatively, in the "bin_static" folder, there's a static version of SuSiEx that can be executed directly on a Linux system. Could you try running that version? My best Kai Yuan |
[root@181-12-19-171 bin]# ldd SuSiEx |
[root@181-12-19-171 bin_static]# bash SuSiEx |
In the examples folder, you can try this: ../bin_static/SuSiEx --sst_file=EUR.sumstats.txt,AFR.sumstats.txt --n_gwas=50000,50000 --ref_file=EUR,AFR --ld_file=EUR,AFR --out_dir=./ --out_name=SuSiEx.EUR.AFR.output.cs95 --level=0.95 --pval_thresh=1e-5 --maf=0.005 --chr=1 --bp=7314654,8314677 --snp_col=2,2 --chr_col=1,1 --bp_col=3,3 --a1_col=4,4 --a2_col=5,5 --eff_col=6,6 --se_col=7,7 --pval_col=9,9 --plink=../utilities/plink --mult-step=True --keep-ambig=True --threads=16 The file SuSiEx in the bin_static folder is executable. It is not a bash script. |
[root@181-12-19-171 examples]# ../bin_static/SuSiEx --sst_file=EUR.sumstats.txt,AFR.sumstats.txt --n_gwas=50000,50000 --ref_file=EUR,AFR --ld_file=EUR,AFR --out_dir=./ --out_name=SuSiEx.EUR.AFR.output.cs95 --level=0.95 --pval_thresh=1e-5 --maf=0.005 --chr=1 --bp=7314654,8314677 --snp_col=2,2 --chr_col=1,1 --bp_col=3,3 --a1_col=4,4 --a2_col=5,5 --eff_col=6,6 --se_col=7,7 --pval_col=9,9 --plink=../utilities/plink --mult-step=True --keep-ambig=True --threads=16 |
Hi wwhwwxlz, It appears that your machine is ARM64, while the file ../bin_static/SuSiEx was compiled for x86_64 architecture, so the static version won’t work on your system. Since you’ve compiled SuSiEx on your machine, it should be compatible. However, plink might be causing the issue. Could you try running the following command in the examples folder: ../utilities/plink --bfile AFR --keep-allele-order --chr 1 --maf 0.005 --make-bed --out AFR_maf to make sure plink is OK. My best Kai Yuan |
[root@181-12-19-171 examples]# ../utilities/plink --bfile AFR --keep-allele-order --chr 1 --maf 0.005 --make-bed --out AFR_maf |
哭唧唧 |
Ah, I see the issue now... I’m sorry that I can’t assist further, as this appears to be a problem with plink compatibility. I have two suggestions:
My best Kai Yuan |
@wwhwwxlz This post might be helpful if you would like to compile Plink on your machine. |
good,i will try it |
我已编译好了1.9plink 522066 MB RAM detected; reserving 261033 MB for main workspace. |
但是执行用例任然报错 |
[root@hostnamelpfy8 examples]# ../bin/SuSiEx --sst_file=EUR.sumstats.txt,AFR.sumstats.txt --n_gwas=50000,50000 --ref_file=EUR,AFR --ld_file=EUR,AFR --out_dir=./ --out_name=SuSiEx.EUR.AFR.output.cs95 --level=0.95 --pval_thresh=1e-5 --maf=0.005 --chr=1 --bp=7314654,8314677 --snp_col=2,2 --chr_col=1,1 --bp_col=3,3 --a1_col=4,4 --a2_col=5,5 --eff_col=6,6 --se_col=7,7 --pval_col=9,9 --plink=../utilities/plink --mult-step=True --keep-ambig=True --threads=16 |
Hi wwhwwxlz, It looks like you executed "../bin/SuSiEx" on the server "hostnamelpfy8", but compiled it on "181-12-19-171". Could you please recompile SuSiEx directly on "hostnamelpfy8" by running: make clean My best Kai Yuan |
[root@181-12-19-171 examples]# ../bin/SuSiEx --sst_file=EUR.sumstats.txt,AFR.sumstats.txt --n_gwas=50000,50000 --ref_file=EUR,AFR --ld_file=EUR,AFR --out_dir=./ --out_name=SuSiEx.EUR.AFR.output.cs95 --level=0.95 --pval_thresh=1e-5 --maf=0.005 --chr=1 --bp=7314654,8314677 --snp_col=2,2 --chr_col=1,1 --bp_col=3,3 --a1_col=4,4 --a2_col=5,5 --eff_col=6,6 --se_col=7,7 --pval_col=9,9 --plink=../utilities/plink --mult-step=True --keep-ambig=True --threads=16
提示:段错误 (核心已转储)
The text was updated successfully, but these errors were encountered: