sokrypton / sokrypton/ColabFold

Unable to resolve runtime symbol: `__extendhfsf2'

Open
#467 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
2.9k
Forks
747
PR merge metrics
No merged PRs in 30d

Description

Steps to Reproduce (for bugs)

This happens with any input, even the examples provided on the README from the local install.
About my install, see the section below.
If this is an issue because of running on a VM and can never work there, just let me know and we close the ticket.

ColabFold Output (for bugs)

2023-06-22 09:06:53,582 Running colabfold 1.5.2 (3e99c44eec189ec27f6d120af851adb7ff6aa2a2)
2023-06-22 09:06:53,588 non-fasta/a3m file in input directory: test_a3m/cite.bibtex
2023-06-22 09:06:53,588 non-fasta/a3m file in input directory: test_a3m/config.json
2023-06-22 09:06:53,588 non-fasta/a3m file in input directory: test_a3m/log.txt
2023-06-22 09:06:53.642616: W external/org_tensorflow/tensorflow/tsl/platform/default/dso_loader.cc:66] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /progs/all/opensource/gcc/12.1.0/lib64
2023-06-22 09:06:53.642647: W external/org_tensorflow/tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:265] failed call to cuInit: UNKNOWN ERROR (303)
2023-06-22 09:06:53,643 WARNING: no GPU detected, will be using CPU
2023-06-22 09:06:55,993 Found 4 citations for tools or databases
2023-06-22 09:06:55,993 Query 1/1: test (length 122)
2023-06-22 09:06:55,994 Setting max_seq=1, max_extra_seq=1
2023-06-22 09:07:22.106463: E external/org_tensorflow/tensorflow/compiler/xla/service/cpu/simple_orc_jit.cc:211] Unable to resolve runtime symbol: `__extendhfsf2'.  Hint: if the symbol a custom call target, make sure you've registered it with the JIT using XLA_CPU_REGISTER_CUSTOM_CALL_TARGET.
JIT session error: Symbols not found: [ __extendhfsf2 ]
Segmentation fault

Context

I explain the context in the environment

Your Environment

About the machine, the error is only found on a VM. When I run the same installation on a physical machine, the issue does not occur (either with or without GPU available). But since I use VMs to test setups, it would be good to have a working testing environment. The VM is a CentOS 7 running on VirtualBox.
About the installation, it is important for me to control what I am installing, so I am using this as inspiration: https://github.com/YoshitakaMo/localcolabfold/blob/a4455b1086671549ad41e3ba2b4f01ba5815d590/install_colabbatch_linux.sh, but I am doing my own script, not running that exact shell script. I am using that commit, because I want to pin-point to a release version of ColabFold (1.5.2, in this case), and that commit seems to be the one that implements it.
My conda environment.yml file:

channels:
  - conda-forge
  - bioconda
dependencies:
  - python=3.9
  - cudnn==8.2.1.32
  - cudatoolkit==11.1.1
  - openmm==7.5.1
  - pdbfixer
  - kalign2=2.04
  - hhsuite=3.3.0
  - mmseqs2=14.7e284

and my pip requirements.txt:

colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/ColabFold@v1.5.2
https://storage.googleapis.com/jax-releases/cuda11/jaxlib-0.3.25+cuda11.cudnn82-cp39-cp39-manylinux2014_x86_64.whl
jax==0.3.25
chex==0.1.6
biopython==1.79

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing a README example with the pinned ColabFold 1.5.2, JAX 0.3.25, CUDA 11.1, and Python 3.9 environment described in environment.yml and requirements.txt on the CentOS 7 VirtualBox VM. Compare the VM with the physical-machine result and investigate the __extendhfsf2 runtime-symbol failure; done means the example completes without the JIT error or segmentation fault.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.