We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 785a362 commit fb02214Copy full SHA for fb02214
1 file changed
meson.build
@@ -77,7 +77,7 @@ if get_option('enable-autodiff') or get_option('enable-directdiff')
77
codi_for_args = ['-DCODI_FORWARD_TYPE']
78
endif
79
80
-if get_option('enable-autodiff')
+if get_option('enable-autodiff') and not omp
81
if get_option('codi-tape') == 'JacobianLinear'
82
codi_rev_args += '-DCODI_JACOBIAN_LINEAR_TAPE'
83
elif get_option('codi-tape') == 'JacobianReuse'
@@ -93,6 +93,10 @@ if get_option('enable-autodiff')
93
else
94
message('Invalid CoDiPack tape choice @1@'.format(get_option('codi-tape')))
95
96
+
97
+ if get_option('codi-tape') != 'JacobianLinear'
98
+ warning('The tape choice @1@ is not tested regularly in SU2'.format(get_option('codi-tape')))
99
+ endif
100
101
102
# add cgns library
0 commit comments