Hi Dear Authors:
Thanks a lot for your work and open-sourcing. I encountered pyflex compilation error. I do the following thing from the originally cloning the repo. Can you help me to analyze which step goes wrong?
1.Setup conda env
As i have followed your previous great work FoldsFormer and run it successfully, i directly clone the foldsformer conda env and named it as lang-def. The python version is 3.6.13, the torch version is 1.10.1
Then i installed pytorch-geometric, torch-scatter, torch-sparse successfully by running the code
pip install torch_geometric==2.0.1pip install torch-sparse -f https://data.pyg.org/whl/torch-1.10.1.htmlpip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.1.html
CMake Error at /home/dhz/miniconda3/envs/lang-def/share/cmake/pybind11/pybind11Tools.cmake:131 (add_library):
No SOURCES given to target: pyflex
Call Stack (most recent call first):
CMakeLists.txt:37 (pybind11_add_module)
--Build files have been written to: /workspace/language_deformable/PyFlex/bindings/build
make: *** No targets specified and no makefile found. Stop.`
I never met this bug when running foldsformer. The compilation steps might be similar and I wonder where i went wrong. Can you help me with that? Thank you a lot!
Hi Dear Authors: Thanks a lot for your work and open-sourcing. I encountered pyflex compilation error. I do the following thing from the originally cloning the repo. Can you help me to analyze which step goes wrong?
1.Setup conda env As i have followed your previous great work
FoldsFormer
and run it successfully, i directly clone thefoldsformer
conda env and named it aslang-def
. The python version is 3.6.13, the torch version is 1.10.1 Then i installed pytorch-geometric, torch-scatter, torch-sparse successfully by running the codepip install torch_geometric==2.0.1
pip install torch-sparse -f https://data.pyg.org/whl/torch-1.10.1.html
pip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.1.html
2.running
docker run -v /data2/dhz/language_deformable:/workspace/language_deformable -v /home/dhz/miniconda3:/home/dhz/miniconda3 --shm-size=10gb -e DISPLAY=$DISPLAY -e QT_X11_NO_MITSHM=1 -it xingyu/softgym:latest bash
and it entered the docker command line.
export PATH="/home/dhz/miniconda3/envs/lang-def/bin:$PATH"
andcd language-deformable
. prepare_1.0.sh
.compile_1.0.sh
Then i got error:`CMake Error at /home/dhz/miniconda3/envs/lang-def/share/cmake/pybind11/pybind11Tools.cmake:131 (add_library): Cannot find source file:
/bindings/pyflex.cppage_deformable/PyFlex
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): CMakeLists.txt:37 (pybind11_add_module)
CMake Error at /home/dhz/miniconda3/envs/lang-def/share/cmake/pybind11/pybind11Tools.cmake:131 (add_library): No SOURCES given to target: pyflex Call Stack (most recent call first): CMakeLists.txt:37 (pybind11_add_module)
--Build files have been written to: /workspace/language_deformable/PyFlex/bindings/build make: *** No targets specified and no makefile found. Stop.`
I never met this bug when running foldsformer. The compilation steps might be similar and I wonder where i went wrong. Can you help me with that? Thank you a lot!