diff --git a/src/multilayerqg.jl b/src/multilayerqg.jl index 1d854bb8..594c6847 100644 --- a/src/multilayerqg.jl +++ b/src/multilayerqg.jl @@ -59,6 +59,12 @@ function Problem(nlayers::Int, # number of fluid layers linear = false, T = Float64) + if dev == GPU() + @warn """MultiLayerQG module not well optimized on the GPU yet. + See issue on Github at https://github.com/FourierFlows/GeophysicalFlows.jl/issues/112. + For now, we suggest running MultiLayerQG on CPUs only.""" + end + # topographic PV eta === nothing && (eta = zeros(dev, T, (nx, ny)))