-
Notifications
You must be signed in to change notification settings - Fork 25
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
How do I build fvdb on Jetson? #17
Comments
I also have trouble installing fvdb, with a similar output when running
I also tried with other GCC already, didn't help. |
Hi @NinaWie, I think there should not be oom error for installing fvdb. Could you try |
Thanks for your help @xrenaa . I pulled the latest version of fvdb and tried again, but have the same issue. It happens when building the fvdb.fvdblib extension. I'm using Python 3.10, torch 2.2.0, cuda 12.1 (as installed with the environment.yaml) The output where the error occurs is the following:
|
Hi @NinaWie, please try: |
Thanks a lot for your help. It actually only worked after increasing the requested number of CPUs on our cluster significantly, but is installed now! |
Yah... It forces me to add 300GB of swap on my 16GB memory machine. LOL |
I am trying to get xcube to run on a nvidia Jetson Orin Nano. It is currently running with Jetpack 6.0.
During the setup process I ran into an error while building fvdb with 'python setup.py develop.' The error messages are below.
Do I have to modify the setup.py file to work properly with the jetson? Also will I have to modify the setup.py for building nksr afterwards?
home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libc10.so when searching for -lc10 /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lc10: No such file or directory /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libc10.so when searching for -lc10 /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libtorch.so when searching for -ltorch /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -ltorch: No such file or directory /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libtorch.so when searching for -ltorch /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so when searching for -ltorch_cpu /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -ltorch_cpu: No such file or directory /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so when searching for -ltorch_cpu /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libtorch_python.so when searching for -ltorch_python /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -ltorch_python: No such file or directory /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libtorch_python.so when searching for -ltorch_python /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lcudart: No such file or directory /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../lib/libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../libcudart.so when searching for -lcudart /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libc10_cuda.so when searching for -lc10_cuda /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lc10_cuda: No such file or directory /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libc10_cuda.so when searching for -lc10_cuda /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so when searching for -ltorch_cuda /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -ltorch_cuda: No such file or directory /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so when searching for -ltorch_cuda /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libstdc++.so when searching for -lstdc++ /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libstdc++.so when searching for -lstdc++ /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libstdc++.so when searching for -lstdc++ /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libstdc++.so when searching for -lstdc++ /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /home/kri/anaconda3/envs/xcube/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: skipping incompatible /home/kri/anaconda3/envs/xcube/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 collect2: error: ld returned 1 exit status error: command '/home/kri/anaconda3/envs/xcube/bin/x86_64-conda-linux-gnu-c++' failed with exit code 1
The text was updated successfully, but these errors were encountered: