diff --git a/src/ecwam/ecwam_loki.config b/src/ecwam/ecwam_loki.config index 96c54136..374ca7c7 100644 --- a/src/ecwam/ecwam_loki.config +++ b/src/ecwam/ecwam_loki.config @@ -9,17 +9,27 @@ replicate = true # do not attempt to look up the source files for these. disable = [ 'yomhook', 'abor1', 'abort1', 'gstats', 'yowgstats', 'wam_user_clock', - 'parkind1', 'propag_wam', 'newwind', 'oml_mod', 'field_module', 'incdate', + 'parkind1', 'propag_wam', 'newwind', 'oml_mod', 'field_module', 'incdate', 'yowfield_mod', 'ieee_arithmetic', # intrinsic modules (should have INTRINSIC in their USE statement) 'mfeb_length', 'cdm', # internal functions 'outwspec_io_serv_handler', 'outint_io_serv_handler', 'ifstowam_handler', # procedure pointers '*%init', '*%update_view', '*%final', '*%ensure_host', '*%update_device' ] +# modules to be parsed but not transformed +ignore = ['yowgrid', 'yowtest', 'yowshal', 'yowdrvtype'] + # Prune the tree for these to ensure they are not processed by transformations block = ['ec_parkind', 'parkind_wave'] -utility_routines = ['dr_hook', 'abort1', 'write(iu06'] +# Utility calls and IO statements to remove +[transformations.RemoveCodeTransformation] + module = "loki.transform" +[transformations.RemoveCodeTransformation.options] + remove_marked_regions = true + remove_dead_code = false + call_names =['dr_hook', 'abort1'] + intrinsic_names = ['write(iu06'] # Define entry point for call-tree transformation [routines.wamintgr] @@ -43,10 +53,6 @@ utility_routines = ['dr_hook', 'abort1', 'write(iu06'] bounds = ["KIJS", "KIJL"] aliases = ["NPROMA_WAM"] -[dimensions.vertical] - size = "NFRE" - index = "M" - [dimensions.block_dim] size = "NCHNK" index = "ICHNK"