Skip to content

Commit

Permalink
make impi easyblock aware of module-search-path-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
lexming committed Feb 10, 2025
1 parent 0339623 commit 04dc2b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion easybuild/easyblocks/i/impi.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,15 @@ def make_module_step(self, *args, **kwargs):
self.module_load_environment.PATH = path_dirs
self.module_load_environment.LD_LIBRARY_PATH = lib_dirs
self.module_load_environment.LIBRARY_PATH = lib_dirs
self.module_load_environment.CPATH = include_dirs
self.module_load_environment.MANPATH = [manpath]
if fi_provider_path is not None:
self.module_load_environment.FI_PROVIDER_PATH = fi_provider_path
if mic_library_path is not None:
self.module_load_environment.MIC_LD_LIBRARY_PATH = mic_library_path

# include paths to headers (e.g. CPATH)
self.module_load_environment.set_alias_vars('HEADERS', include_dirs)

return super().make_module_step(*args, **kwargs)

def make_module_extra(self, *args, **kwargs):
Expand Down

0 comments on commit 04dc2b3

Please sign in to comment.