Hey there,
Seems like you're currently stuck on installing the MLNX driver on CentOS ? you might want to share with us the installation build on /tmp so we can take a look and see what's causing the install to fail.
Also, you can take try and use the add kernel support script like so :
mnt#./mlnx_add_kernel_support.sh -m /mnt --make-iso -t /tmp
then just mount your new iso and install with the mlnxofedinstall script as usual.
hope this helps!