Skip to content

Commit 798eae8

Browse files
authored
Add "-" before "DMKL_ILP64" CFLAGS
There should be a minus sign "-" before "DMKL_ILP64" in CFLAGS. Without this, it's breaking NWChem build. I'm not sure why this is under the radar for so long. Probably people just gave up on waiting 12 hours to build NWChem. I know modifying this core framework component will require a lot of testing, so take your time.
1 parent 8a909b0 commit 798eae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/toolchains/linalg/intelmkl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _set_blas_variables(self):
136136
# ilp64/i8
137137
self.BLAS_LIB_MAP.update({"lp64": '_ilp64'})
138138
# CPP / CFLAGS
139-
self.variables.nappend_el('CFLAGS', 'DMKL_ILP64')
139+
self.variables.nappend_el('CFLAGS', '-DMKL_ILP64')
140140

141141
# exact paths/linking statements depend on imkl version
142142
root = self.get_software_root(self.BLAS_MODULE_NAME)[0]

0 commit comments

Comments
 (0)