-
Notifications
You must be signed in to change notification settings - Fork 17
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
Link errors on ubuntu 20.04 with clang-10 #47
Comments
Also tried a clean build with customized options for taichi-aot-demo:
but also fails. T_T |
I read the documentation again and find I missed the customized LLVM 10.0 installation. |
I installed the customized LLVM-10 from taichi document website, prepend to my DetailsWhen build taichi-aot-demo:
|
If Vulkan is all you need I recommend you to disable llvm compilation with |
After disabling The running result of taichi-aot-demo shows that, E1 is OK, E2 and E3 has some error.
The running directory is:
|
Hi @zchrissirhcz, |
@jim19930609 Hi, tested but E2 and E3 still has some error message
|
You should launch the test apps in the root current directory. |
Now switched to root directory of
|
That looks weird, can you try:
Have you noticed any error message while |
@jim19930609 I pasted the cmake configure full output in the following. create directorycd ~/work/taichi-aot-demo
git pull
mkdir build2 # a fresh new build
cd build2 cmake configure output
|
btw we have recently solved a compatibility issue so please ensure you are using the latest master for both repo |
The cmake outputs looks fine...If you've tried building |
Let me check again. repos should use latesttaichi repo:
taichi-aot-demo repo:
vulkan version
compiler version
cmake version
Python version
Build commandsbuild taichi
build and run taichi-aot-demo
taichi-aot-demo-configure-log.txt
|
I tried exactly the same compilation options and commands locally and was not able to reproduce. The other thing you can try is goto
This example just used a different renderer and the algorithm stays the same |
The mpm88_desktop run ok: |
Great~ I think you can also play with the other ones like Meanwhile, I'm also concerned about the
(I admit our error msg needs has way more to improve...) Thanks! |
OK, I added the
|
vulkaninfo output: |
Many thanks! Let me investigate that |
@zchrissirhcz would you mind also try turning on https://github.com/taichi-dev/taichi-aot-demo/blob/master/framework/src/taichi/aot_demo/entry_points/glfw.cpp#L13 as true and share the log of validation errors here? Thanks a ton! |
Hi @ailzhang , I do modification as you suggested, rebuild & rerun, got:
|
oh @zchrissirhcz try running |
|
@zchrissirhcz sorry for suggesting this, but https://www.reddit.com/r/vulkan/comments/p8krz8/vk_layer_khronos_validation_layer_not_present/ says rebooting the computer solved the problem for him/her :P FYI in case this still doesn't work, we'll try to find a combo of RTX2080+ ubuntu20.04 +vulkan sdk 1.3 on our side to repro, but that may take longer so we'd like to bisect this down as far as possible. Thanks a lot! |
OK, rebooted my machine, and re-run. Still get same error message. |
taichi version
I build taichi from source with latest commit 7cab180f1
I modified cmake options:
Then I build with:
it success.
taichi-aot-demo version
I build taichi-aot-demo with latest commit 1735a29
export CXX=/usr/bin/clang++-10
export TAICHI_C_API_INSTALL_DIR=/home/zz/work/taichi/_skbuild/linux-x86_64-3.10/cmake-install/c_api
But it failed with:
The text was updated successfully, but these errors were encountered: