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

Test+Docker profile fails: "The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine." #590

Open
sitems opened this issue Aug 12, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@sitems
Copy link

sitems commented Aug 12, 2024

Description of the bug

ERROR ~ Error executing process > 'NFCORE_RAREDISEASE:RAREDISEASE:CALL_SNV:CALL_SNV_DEEPVARIANT:DEEPVARIANT (
earlycasualcaiman)'

Caused by:
Process NFCORE_RAREDISEASE:RAREDISEASE:CALL_SNV:CALL_SNV_DEEPVARIANT:DEEPVARIANT (earlycasualcaiman) term
inated with an error exit status (134)

Command executed:

/opt/deepvariant/bin/run_deepvariant \
--ref=reference.fasta \
--reads=earlycasualcaiman_sorted_md.bam \
--output_vcf=earlycasualcaiman_deepvar.vcf.gz \
--output_gvcf=earlycasualcaiman_deepvar.g.vcf.gz
--model_type=WGS

--intermediate_results_dir=tmp \
--num_shards=2

cat <<-END_VERSIONS > versions.yml
"NFCORE_RAREDISEASE:RAREDISEASE:CALL_SNV:CALL_SNV_DEEPVARIANT:DEEPVARIANT":
deepvariant: 1.6.1
END_VERSIONS

Command exit status:
134

Command output:
(empty)

                                                                                              [100/1899]

Command error:
The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
/opt/deepvariant/bin/run_deepvariant: line 2: 34 Aborted (core dumped) python3 -u /opt/d
eepvariant/bin/run_deepvariant.py "$@"

Work dir:
shortened/work/30/b59653cd5fb9be91a8c525651d6d0e

Tip: you can replicate the issue by changing to the process work dir and entering the command bash .command. run

-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

-- Check '.nextflow.log' file for details
-[nf-core/raredisease] Pipeline completed with errors-

Command used and terminal output

nextflow run nf-core/raredisease -revision dev -profile test,docker --outdir out

Relevant files

No response

System information

Nextflow version: 24.04.4.5917
Hardware: Desktop
Executor: local
Container engine: Docker
OS: Ubuntu 22.04
Version of nf-core/raredisease: dev (on 2024-08-12)

@sitems sitems added the bug Something isn't working label Aug 12, 2024
@ramprasadn
Copy link
Collaborator

@sitems Are you able to run deepvariant outside of nf-core/raredisease?

@sitems
Copy link
Author

sitems commented Aug 14, 2024

No, the error is the same when I run 'docker run google/deepvariant:1.6.1 ...'

@ramprasadn
Copy link
Collaborator

hmm.. This could be because some libraries/tools are missing on your machine. Others have reported similar issues with deepvariant. Looks like there might be a workaround. Check google/deepvariant#657

@Oliversinn
Copy link

I'm facing the same issue here. The only difference is that I am using Linux Mint instead of Ubuntu.

@sitems
Copy link
Author

sitems commented Sep 14, 2024

Based on what I've read so far, it looks that my processor is a bit outdated (since it doesn't support AVX instruction), so I decided to move the pipeline to another hardware (rather than doing some compilation hacks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants