drbl-mpi
整個大架構雛型,大概出來,我想跟著文傑哥寫的程式最修改應該是可行的
#!/bin/bash
# Program:
# Install drbl-mpi
# Author: adherelinux
# Version: 1.0
# History: 2011/07/01
# [Source]
source /opt/drbl-mpi/conf/drbl-mpi.conf
source $Work_Path/functions_drbl_mpi
# [Main]
check_root
cpu_check
check_systemInfo
echo -e " Which sotfware are you want?"
read -p "please,press (1/2),1=mpich2,2=openmp" mpi_select
# = 1.[Install mpi] 1=mpich2, 2=openmp
if [ $mpi_select == 1 ]; then
# install mpich2
$Work_Path/mpi_install.sh start
# patch drbl to suuport mpich2 environment
# $Work_Path/drbl_mpich2_patch.sh
# drbl re-push mpich2 environment
# $Work_Path/drbl_mpich2_repush.sh
else
exit
fi