Skip to content

Commit

Permalink
fix: nvamalloc is an LDFLAG, not FCFLAG
Browse files Browse the repository at this point in the history
  • Loading branch information
leclairm committed Aug 7, 2024
1 parent 9dba9b3 commit 51acd1c
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 @@ -443,7 +443,7 @@ def configure_args(self):
flags['FCFLAGS'].extend(
['-g', '-O', '-Mrecursive', '-Mallocatable=03', '-Mbackslash'])
if self.compiler.version > Version('24.1'):
flags['FCFLAGS'].append('-nvmalloc')
flags['LDFLAGS'].append('-nvmalloc')

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

0 comments on commit 51acd1c

Please sign in to comment.