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

How to simulate the permeability of digital cores one by one? #32

Open
eromanga233 opened this issue Sep 15, 2024 · 1 comment
Open

Comments

@eromanga233
Copy link

老师您好~
我在使用LBM进行批量模拟数字岩心的绝对渗透率时,经常会遇到一个报错
`Traceback (most recent call last):
File "/lustre/home/2001110637/LBM/LBM.py", line 1067, in
init()
File "/lustre/home/2001110637/.conda/envs/test/lib/python3.11/site-packages/taichi/lang/kernel_impl.py", line 1113, in wrapped
return primal(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "/lustre/home/2001110637/.conda/envs/test/lib/python3.11/site-packages/taichi/lang/kernel_impl.py", line 1045, in call
return self.launch_kernel(kernel_cpp, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lustre/home/2001110637/.conda/envs/test/lib/python3.11/site-packages/taichi/lang/kernel_impl.py", line 976, in launch_kernel
raise e from None
File "/lustre/home/2001110637/.conda/envs/test/lib/python3.11/site-packages/taichi/lang/kernel_impl.py", line 971, in launch_kernel
prog.launch_kernel(compiled_kernel_data, launch_ctx)
RuntimeError: [cuda_driver.h:operator()@92] CUDA Error CUDA_ERROR_ASSERT: device-side assert triggered while calling stream_synchronize (cuStreamSynchronize)
[E 09/15/24 15:35:51.915 1670557] [cuda_driver.h:operator()@92] CUDA Error CUDA_ERROR_ASSERT: device-side assert triggered while calling stream_synchronize (cuStreamSynchronize)

[E 09/15/24 15:35:51.981 1670557] [cuda_driver.h:operator()@92] CUDA Error CUDA_ERROR_ASSERT: device-side assert triggered while calling mem_free (cuMemFree_v2)
terminate called after throwing an instance of 'std::__cxx11::basic_string<char, std::char_traits, std::allocator >'
/var/spool/slurmd/job3810620/slurm_script: line 10: 1670557 Aborted (core dumped) python LBM.py`

我不清楚这个问题的根源是什么,希望您能解疑答惑

@yjhp1016
Copy link
Owner

yjhp1016 commented Sep 15, 2024 via email

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

2 participants