diff --git a/loopy/kernel/creation.py b/loopy/kernel/creation.py index e86439a8f6e2a5ff163a0ee6de9a7c7a8651a5c4..f4ac6562d0c64d59551efb29cdca8fe7d8a9bef9 100644 --- a/loopy/kernel/creation.py +++ b/loopy/kernel/creation.py @@ -1262,6 +1262,9 @@ def guess_arg_shape_if_requested(kernel, default_order): "argument '%s', the following " "exception occurred:" % (i, arg.name), file=sys.stderr) + print("*** ADVICE: You may need to manually specify the " + "shape of argument '%s'." % (arg.name), + file=sys.stderr) raise shape = tuple(shape)