Skip to content

Commit

Permalink
O2 and stack_arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
dominichofer committed Aug 16, 2024
1 parent 2de9b2b commit e89fdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/c2sm/packages/icon/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def configure_args(self):
elif self.compiler.name in ['pgi', 'nvhpc']:
config_vars['CFLAGS'].extend(['-g', '-O2'])
config_vars['FCFLAGS'].extend(
['-g', '-O', '-Mrecursive', '-Mallocatable=03', '-Mbackslash'])
['-g', '-O2', '-Mrecursive', '-Mallocatable=03', '-Mbackslash', '-Mstack_arrays'])

if self.spec.variants['gpu'].value == 'openacc+cuda':
config_vars['FCFLAGS'].extend([
Expand Down

0 comments on commit e89fdd7

Please sign in to comment.