Skip to content

Commit

Permalink
Update ignore list for directives tracking (#303)
Browse files Browse the repository at this point in the history
Remove warnings for nranks and omp_num_threads being specified but unused because they are automatically specified by groups now (whether or not the user specifies them).
  • Loading branch information
b-butler authored Jun 27, 2020
1 parent 40de50f commit ec4dbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -2714,7 +2714,7 @@ def _msg(group):
keys_unused = {
key for op in operations for key in
op.directives._keys_set_by_user.difference(op.directives.keys_used)
if key not in ('fork', ) # whitelist
if key not in ('fork', 'nranks', 'omp_num_threads') # ignore list
}
if keys_unused:
logger.warning(
Expand Down

0 comments on commit ec4dbb5

Please sign in to comment.