From db5eb45d42e9ead42d38692400b01090543b284c Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 8 May 2024 15:08:14 +0000 Subject: [PATCH] Loki: Add primary configurations for SCC pipelines to config file --- src/cloudsc_loki/cloudsc_loki.config | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/src/cloudsc_loki/cloudsc_loki.config b/src/cloudsc_loki/cloudsc_loki.config index 6e699577..e62d5a12 100644 --- a/src/cloudsc_loki/cloudsc_loki.config +++ b/src/cloudsc_loki/cloudsc_loki.config @@ -52,3 +52,47 @@ frontend = 'FP' [frontend_args."yoecldp.F90"] frontend = 'FP' + +# Define specific transformation settings +[transformations] + +# Loki-SCC family +# ----------------------------------------- + +[transformations.scc] + classname = 'SCCVectorPipeline' + module = 'loki.transformations.single_column' +[transformations.scc.options] + horizontal = '%dimensions.horizontal%' + block_dim = '%dimensions.block_dim%' + directive = 'openacc' + + +[transformations.scc-hoist] + classname = 'SCCHoistPipeline' + module = 'loki.transformations.single_column' +[transformations.scc-hoist.options] + horizontal = '%dimensions.horizontal%' + block_dim = '%dimensions.block_dim%' + directive = 'openacc' + + +[transformations.scc-stack] + classname = 'SCCStackPipeline' + module = 'loki.transformations.single_column' +[transformations.scc-stack.options] + horizontal = '%dimensions.horizontal%' + block_dim = '%dimensions.block_dim%' + directive = 'openacc' + check_bounds = false + + +[transformations.scc-raw-stack] + classname = 'SCCRawStackPipeline' + module = 'loki.transformations.single_column' +[transformations.scc-raw-stack.options] + horizontal = '%dimensions.horizontal%' + block_dim = '%dimensions.block_dim%' + directive = 'openacc' + check_bounds = false + driver_horizontal = 'NPROMA'