Skip to content

Commit

Permalink
Merge pull request #74 from ecmwf-ifs/nabr-fixes-for-the-new-scheduler
Browse files Browse the repository at this point in the history
Compatibility with Loki v0.2
  • Loading branch information
reuterbal authored Mar 22, 2024
2 parents 4e8ada0 + 0776f88 commit 1577e2d
Show file tree
Hide file tree
Showing 8 changed files with 3,315 additions and 944 deletions.
388 changes: 220 additions & 168 deletions src/cloudsc_loki/CMakeLists.txt

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions src/cloudsc_loki/cloudsc_cuf_loki.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ strict = true # Throw exceptions during dicovery

# Ensure that we are never adding these to the tree, and thus
# do not attempt to look up the source files for these.
disable = ['timer%start', 'timer%end', 'timer%thread_start', 'timer%thread_end',
'timer%thread_log', 'timer%thread_log', 'timer%print_performance',
'performance_timer%start', 'performance_timer%end', 'performance_timer%thread_start',
'performance_timer%thread_end', 'performance_timer%thread_log',
'performance_timer%thread_log', 'performance_timer%print_performance']
disable = [
'timer_mod', 'abort', 'file_io_mod', 'foe*', 'fokoop',
'ceiling', 'dim3', 'cuda*'
]

# Prune the tree for these to ensure they are not processed by transformations
block = ['parkind1', 'yomphyder', 'yoecldp', 'fc*_mod']

# Define entry point for call-tree transformation
[routines]
Expand Down
21 changes: 17 additions & 4 deletions src/cloudsc_loki/cloudsc_loki.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ strict = true # Throw exceptions during dicovery

# Ensure that we are never adding these to the tree, and thus
# do not attempt to look up the source files for these.
# TODO: Add type-bound procedure support and adjust scheduler to it
disable = ['performance_timer%start', 'performance_timer%end', 'performance_timer%thread_start',
'performance_timer%thread_end', 'performance_timer%thread_log',
'performance_timer%thread_log', 'performance_timer%print_performance']
disable = ['timer_mod', 'abort', 'file_io_mod', 'foe*', 'fokoop']

# Prune the tree for these to ensure they are not processed by transformations
block = ['parkind1', 'yomphyder', 'yoecldp', 'fc*_mod']

# Define entry point for call-tree transformation
[routines]
Expand All @@ -35,3 +35,16 @@ disable = ['performance_timer%start', 'performance_timer%end', 'performance_time
[dimensions.block_dim]
size = 'NGPBLKS'
index = 'IBL'


# Overwrite frontend for header modules that cannot be parsed via OMNI
[frontend_args]

[frontend_args."yomphyder.F90"]
frontend = 'FP'

[frontend_args."yomcst.F90"]
frontend = 'FP'

[frontend_args."yoethf.F90"]
frontend = 'FP'
21 changes: 0 additions & 21 deletions src/cloudsc_loki/stack_mod.F90

This file was deleted.

Loading

0 comments on commit 1577e2d

Please sign in to comment.