Skip to content
Snippets Groups Projects
Commit 7495d9b1 authored by Rémi Dehenne's avatar Rémi Dehenne
Browse files

Bypass InfiniBand rail autodetection

parent 22564b51
Branches
No related tags found
No related merge requests found
from easybuild.easyblocks.generic.binary import Binary
from easybuild.tools.filetools import write_file
import os.path
......@@ -25,3 +26,9 @@ class EB_MPCFramework(Binary):
"MPCFRAMEWORK_DIR", self.installdir + 'share/mpcframework/cmake/')
return txt
def post_install_step(self):
"""Override network rail configuration by adding an MPC configuration file"""
write_file(os.path.join(self.installdir, "etc", "mpcframework", "rail.conf"),
"LOWCOMM_NETWORKING_RAILS_IBMPI_DEVICE=mlx5_0")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment