diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 index c70c35cb0..c6d18d359 100644 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 @@ -79,3 +79,11 @@ if [ "$OS" == "AIX" ]; then fi mount /proc fi + +# Generate mpi modules +if [ "$OS" != "AIX" ]; then + gen_xlf=`grep PE_LATEST_LEVEL $installroot/etc/ppe.cfg | cut -f2 -d ' ' `/mpich2/sbin/xlf_gen_mpimod + if [ -x $installroot/$gen_xlf ] ; then + chroot $installroot $gen_xlf + fi +fi