From 62149ffeab430a2aabe27915985bb6498e88a07b Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Thu, 3 May 2012 05:29:54 +0000 Subject: [PATCH] execute xlf_gen_mpimod script and compile the MPICH2 modules git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 | 8 ++++++++ 1 file changed, 8 insertions(+) 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