Issue with discrete boundary condition accessing model_fields on distributed GPU setup #5461
phyo-wai-thaw
started this conversation in
High performance computing
Replies: 1 comment
-
|
@phyo-wai-thaw can you try using this boundary condition? @inline function top_bc_func(i, j, grid, clock, model_fields, parameters)
k = grid.Nz
T1 = @inbounds model_fields.T[i, j, k]
return T1 * parameters.scale
endyou're missing an inbounds --- not sure if this is the exact problem, but it looks like you're facing a compilation failure. The other suggestion is to try on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I’m running into an issue with a discrete boundary condition that accesses model_fields, which works correctly on a single GPU, but fails to compile when using distributed GPUs.
Any suggestion would be greatly appreciated.
Thanks a lot!
Environment (NeSI HPC)
SLURM script submitted on NeSI
Minimal Working Example
Error
Beta Was this translation helpful? Give feedback.
All reactions