You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that there are other related issues to this, but I think this issue may encapsulate a few, so I thought I'd add it to the mix.
Running this code in ClimaAtmos.jl results in ERROR: LoadError: UndefVarError: ᶜNvnot defined inMain`` and ᶜNv does exist (and the line info reported in the stack trace is quite wrong, although it's perhaps unreasonable being that the error shouldn't arise in the first place).
Note that you may need to resolve env issues with this reproducer, if the environment / dependencies become stale.
Alternative, you can switch to unsafe_indicies=true and replace your global index with a group and local one.
The rule has been that everything that goes into a localmem needs to be @uniform and compile-time const.
This was exaberated by the changes in 0.9.34, but were true before for the CPU backend.
I know that there are other related issues to this, but I think this issue may encapsulate a few, so I thought I'd add it to the mix.
Running this code in ClimaAtmos.jl results in
ERROR: LoadError: UndefVarError:
ᶜNvnot defined in
Main`` andᶜNv
does exist (and the line info reported in the stack trace is quite wrong, although it's perhaps unreasonable being that the error shouldn't arise in the first place).Note that you may need to resolve env issues with this reproducer, if the environment / dependencies become stale.
The text was updated successfully, but these errors were encountered: