Skip to content
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

Arch linux python -m jittor.test.test_example #258

Open
sorrowyn opened this issue Aug 20, 2021 · 8 comments
Open

Arch linux python -m jittor.test.test_example #258

sorrowyn opened this issue Aug 20, 2021 · 8 comments

Comments

@sorrowyn
Copy link

sorrowyn commented Aug 20, 2021

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 sorrowyn changed the title Arch linux python3.7 -m jittor.test.test_example Arch linux python -m jittor.test.test_example Aug 20, 2021
@cjld
Copy link
Collaborator

cjld commented Aug 20, 2021

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

@sorrowyn
Copy link
Author

图片

@sorrowyn
Copy link
Author

图片

@sorrowyn
Copy link
Author

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

@sorrowyn
Copy link
Author

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

@Jittor
Copy link
Owner

Jittor commented Aug 24, 2021

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.

@sorrowyn
Copy link
Author

sorrowyn commented Sep 4, 2021

I gave up when I couldn't downgrade

@cjld
Copy link
Collaborator

cjld commented Sep 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants