jittor
jittor copied to clipboard
Arch linux python -m jittor.test.test_example
Describe the bug
Import error and python test error
export LDFLAGS="-L/home/linuxbrew/.linuxbrew/opt/libomp/lib" export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/libomp/include" export nvcc_path="/opt/cuda/bin/nvcc"
OS: Arch Linux x86_64 Kernel: 5.13.10-arch1-1 Uptime: 47 mins Packages: 850 (pacman) Shell: zsh 5.8 Resolution: 5640x3610 WM: dwm Theme: Breeze [GTK2/3] Icons: breeze [GTK2/3] Terminal: /dev/pts/3 CPU: Intel i7-6800K (12) @ 3.800GHz GPU: NVIDIA GeForce GTX 1080 Ti Memory: 445MiB / 48092MiB
Full Log
Minimal Reproduce
Reproduce this error with a file or several lines of code.
If it is not possible, leave it blank.
Expected behavior
A clear and concise description of what you expected to happen.
If you are submitting an issue for the first time, please refer to our guideline
thanks for your feedback, for further investigation, could you please execute log_v=1 python -m jittor.test.test_core
thanks for your feedback, for further investigation, could you please execute
log_v=1 python -m jittor.test.test_core
LD_PRELOAD=/usr/lib/libstdc++.so.6 python -m jittor.test.test_example
https://pastebin.ubuntu.com/p/79jdS98927/
Thanks for your feedbacks, it seems your gcc version is too high, and nvcc not support this version of gcc, you can downgrade your gcc to 7, may solve this problem.
I gave up when I couldn't downgrade
how about install two version of g++ and use cc_path enviroment veriable? 'cc_path=g++-7 python3.7 -m jittor.test.test_core'