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

Error: Kernel file is too long, change MAX_KERN_STR value in F.h #7

Closed
maniubier opened this issue Mar 10, 2023 · 0 comments
Closed

Comments

@maniubier
Copy link

maniubier commented Mar 10, 2023

When I used the test_analytics.py script,this error was encountered.Some debugging information is below.

root@master:~/master/mamingxing/SeisCL-master/SeisCL/tests# python test_analytics.py
Testing: Lamb3D_inline ....... .......exe..... <SeisCL.SeisCL.SeisCL object at 0x7fc65d27e4e0>
-----------workdir------------ ./seiscl
------------self.workdir----------- ./seiscl
-----------stdout------------
Input files for SeisCL:
model: /root/master/mamingxing/SeisCL-master/SeisCL/tests/seiscl/SeisCL_model.mat
constants: /root/master/mamingxing/SeisCL-master/SeisCL/tests/seiscl/SeisCL_csts.mat
output data: /root/master/mamingxing/SeisCL-master/SeisCL/tests/seiscl/SeisCL_dout.mat
output gradient: /root/master/mamingxing/SeisCL-master/SeisCL/tests/seiscl/SeisCL_gout.mat
output rms: /root/master/mamingxing/SeisCL-master/SeisCL/tests/seiscl/SeisCL_rms.mat
output movie: /root/master/mamingxing/SeisCL-master/SeisCL/tests/seiscl/SeisCL_movie.mat
input data: SeisCL_din.mat
checkpoint: /root/master/mamingxing/SeisCL-master/SeisCL/tests/seiscl/SeisCL_NP0_checkpoint.mat

Initializing GPUs
Process 0 connecting to 1 devices: Device 0 (Tesla V100-PCIE-32GB)
Error: Could not build kernel update_v

Traceback (most recent call last):
File "test_analytics.py", line 504, in
lamb3D_test(testtype="inline", plots=args.plot, N=args.N)
File "test_analytics.py", line 296, in lamb3D_test
fileout="lamb3D_" + testtype +".mat")
File "test_analytics.py", line 131, in fd_solution
seis.execute()
File "/root/master/mamingxing/SeisCL-master/SeisCL/SeisCL.py", line 506, in execute
raise SeisCLError(stderr.decode())
SeisCL.SeisCL.SeisCLError: Error: Kernel file is too long, change MAX_KERN_STR value in F.h

What lead to this problem and how can I solve it?
Thanks for help sincerely!

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

1 participant