Skip to content

Commit aacce05

Browse files
committed
replace make_module_req_guess with module_load_environment in imkl-fftw easyblock
1 parent a8f8473 commit aacce05

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

easybuild/easyblocks/i/imkl_fftw.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ def install_step(self):
5454
self.mkl_basedir = os.getenv('MKLROOT')
5555
self.build_mkl_fftw_interfaces(os.path.join(self.installdir, 'lib'))
5656

57-
def make_module_req_guess(self):
58-
"""Custom guesses for imkl-FFTW module file"""
59-
# bypass custom paths for imkl, only use standard library location
60-
return super(EB_imkl, self).make_module_req_guess()
57+
def make_module_step(self, *args, **kwargs):
58+
"""
59+
Custom paths of imkl are unnecessary as imkl-FFTW only ships libraries under the 'lib' subdir
60+
Use generic make_module_step skipping imkl
61+
"""
62+
return super(EB_imkl, self).make_module_step(*args, **kwargs)
6163

6264
def make_module_extra(self):
6365
"""Custom extra variables to set in module file"""

0 commit comments

Comments
 (0)