-
Notifications
You must be signed in to change notification settings - Fork 602
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
gcc should be listed in the README as required dependency for running GATK #6012
Comments
If you wrap the gatk python script with something like: #! /bin/bash -e
export LD_LIBRARY_PATH='<path to gcc-7.4.0-lib>/lib'${LD_LIBRARY_PATH:+':'}$LD_LIBRARY_PATH
exec "gatk" "$@" It should work |
I have gcc installed and have also tried the suggestion that @scalavision has suggested and still I get the warning "Machine does not have the AVX instruction set support needed for the accelerated AVX PairHmm. Falling back to the MUCH slower LOGLESS_CACHING implementation!". I am not sure that I used the correct path. I found the path to gcc 7.4.0 path by running |
The GCC OpenMP library, libgomp1, a required dependency of GCC, needs to be present in order to run the GKL accelerated PairHMM in tools like HaplotypeCaller. We now mention this requirement in the GATK README. Resolves #6012
Documentation request
Description
I propose that installation of gcc be added to the instructions on the GATK Github README.md
If gcc is not installed, HaplotypeCaller complains that the AVX instruction set is not available, even when it is. It falls back to slower LOGLESS_CACHING PairHMM. The fault is missing libgomp1, which is a required dependency of gcc.
Since this documentation request is related to a "bug" that comes about from not installing necessary libraries, I'll include the bug report format below, in case someone else searches for solutions to this problem, as suggested by @lbergelson
Affected tool(s) or class(es)
HaplotypeCaller, or any other tool that uses PairHMM
Affected version(s)
-I think all as of 2019-06-20. I tested on release version 4.1.2.0
Steps to reproduce
Run HaplotypeCaller from a released jar on an Ubuntu VM that supports the AVX instruction set. Critically, do NOT install gcc on the VM. Installing gcc fixes this problem.
Expected behavior
If you install gcc, that results in the installation of libgomp1, which allows the Intel library to load and use AVX acceleration. You could probably install libgomp1 on its own, but I did not test that.
Actual behavior
Without libgomp1, AVX acceleration doesn't work:
The text was updated successfully, but these errors were encountered: