Mass_spring_3d_ggui.py 无法运行

GLFW Error 65537: The GLFW library is not initialized

Hi @Dou, 能把完成的报错发出来么?

[Taichi] version 1.0.2, llvm 10.0.0, commit 14f0acba, linux, python 3.7.13
[W 06/09/22 17:24:52.415 15163] [cuda_driver.cpp:CUDADriver@38] CUDA driver not found.
[Taichi] Starting on arch=opengl
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

[I 06/09/22 17:24:52.697 15163] [vulkan_device_creator.cpp:pick_physical_device@364] Found Vulkan Device 0 (llvmpipe (LLVM 12.0.0, 256 bits))
[I 06/09/22 17:24:52.697 15163] [vulkan_device_creator.cpp:pick_physical_device@364] Found Vulkan Device 1 (Intel(R) HD Graphics 530 (SKL GT2))
[I 06/09/22 17:24:52.698 15163] [vulkan_device_creator.cpp:create_logical_device@432] Vulkan Device "Intel(R) HD Graphics 530 (SKL GT2)" supports Vulkan 0 version 1.2.182
Traceback (most recent call last):
  File "/media/dou/U /1 main_research library/0 Research/MPM Simulation-3.0/3D Explicit_ZXZ/test_ZXZ_1.0.py", line 130, in <module>
    substep()
  File "/home/dou/miniconda3/envs/MpmEnv/lib/python3.7/site-packages/taichi/lang/kernel_impl.py", line 816, in wrapped
    return primal(*args, **kwargs)
  File "/home/dou/miniconda3/envs/MpmEnv/lib/python3.7/site-packages/taichi/lang/kernel_impl.py", line 747, in __call__
    return self.compiled_functions[key](*args)
  File "/home/dou/miniconda3/envs/MpmEnv/lib/python3.7/site-packages/taichi/lang/kernel_impl.py", line 692, in func__
    raise e from None
  File "/home/dou/miniconda3/envs/MpmEnv/lib/python3.7/site-packages/taichi/lang/kernel_impl.py", line 689, in func__
    t_kernel(launch_ctx)
IndexError: _Map_base::at
GLFW Error 65537: The GLFW library is not initialized
[E 06/09/22 17:24:53.780 15163] Received signal 11 (Segmentation fault)



Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

想问一下,你的机器上是不是没装cuda?

用户回复:cuda 安装之后正常运行。