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
This commit is contained in:
wanghuaz 2012-05-03 05:29:54 +00:00
parent c1ae76f7dc
commit 62149ffeab

View File

@ -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