jittor icon indicating copy to clipboard operation
jittor copied to clipboard

Arch linux python -m jittor.test.test_example

Open sorrowyn opened this issue 3 years ago • 8 comments

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

sorrowyn avatar Aug 20 '21 01:08 sorrowyn

thanks for your feedback, for further investigation, could you please execute log_v=1 python -m jittor.test.test_core

cjld avatar Aug 20 '21 02:08 cjld

图片

sorrowyn avatar Aug 22 '21 06:08 sorrowyn

图片

sorrowyn avatar Aug 22 '21 06:08 sorrowyn

thanks for your feedback, for further investigation, could you please execute log_v=1 python -m jittor.test.test_core 图片

sorrowyn avatar Aug 22 '21 14:08 sorrowyn

LD_PRELOAD=/usr/lib/libstdc++.so.6 python -m jittor.test.test_example https://pastebin.ubuntu.com/p/79jdS98927/

sorrowyn avatar Aug 24 '21 11:08 sorrowyn

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.

Jittor avatar Aug 24 '21 12:08 Jittor

I gave up when I couldn't downgrade

sorrowyn avatar Sep 04 '21 02:09 sorrowyn

how about install two version of g++ and use cc_path enviroment veriable? 'cc_path=g++-7 python3.7 -m jittor.test.test_core'

cjld avatar Sep 04 '21 02:09 cjld