We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555cf06 commit 16c9ce3Copy full SHA for 16c9ce3
toolchain/mfc/run/input.py
@@ -73,11 +73,12 @@ def generate_fpp(self, target) -> None:
73
# Determine the real type based on the single precision flag
74
real_type = 'real(sp)' if ARG('single') else 'real(dp)'
75
76
- directive_str = None
77
if (ARG("gpu") == gpuConfigOptions.MP.value):
78
directive_str = 'mp'
79
elif (ARG("gpu") == gpuConfigOptions.ACC.value):
80
directive_str = 'acc'
+ else:
81
+ directive_str = None
82
83
# Write the generated Fortran code to the m_thermochem.f90 file with the chosen precision
84
common.file_write(
0 commit comments