Changes between Initial Version and Version 1 of adherelinux/drbl-mpi/20110702


Ignore:
Timestamp:
Jul 2, 2011, 8:34:18 AM (13 years ago)
Author:
adherelinux
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adherelinux/drbl-mpi/20110702

    v1 v1  
     1== drbl-mpi ==
     2整個大架構雛型,大概出來,我想跟著文傑哥寫的程式最修改應該是可行的  [[br]]
     3
     4#!/bin/bash [[br]]
     5# Program: [[br]]
     6#   Install drbl-mpi [[br]]
     7# Author:  adherelinux [[br]]
     8# Version: 1.0 [[br]]
     9# History: 2011/07/01 [[br]] 
     10
     11# [Source] [[br]]
     12source /opt/drbl-mpi/conf/drbl-mpi.conf [[br]]
     13source $Work_Path/functions_drbl_mpi [[br]]
     14
     15# [Main] [[br]]
     16check_root [[br]]
     17cpu_check [[br]]
     18check_systemInfo [[br]]
     19
     20echo -e " Which sotfware are you want?" [[br]]
     21read -p "please,press (1/2),1=mpich2,2=openmp" mpi_select [[br]]
     22 # = 1.[Install mpi] 1=mpich2, 2=openmp  [[br]]
     23if [ $mpi_select == 1 ]; then  [[br]]
     24    # install mpich2  [[br]]
     25    $Work_Path/mpi_install.sh start [[br]]
     26    # patch drbl to suuport mpich2 environment [[br]]
     27#    $Work_Path/drbl_mpich2_patch.sh [[br]]
     28    # drbl re-push mpich2 environment [[br]]
     29#    $Work_Path/drbl_mpich2_repush.sh [[br]]
     30else [[br]]
     31    exit [[br]]
     32fi [[br]]
     33