webdataSortToSameCluster
上传用户:quxuerui
上传日期:2018-01-08
资源大小:41811k
文件大小:0k
源码类别:

网格计算

开发平台:

Java

  1. #!/usr/bin/env bash
  2. GRID_DIR=`dirname "$0"`
  3. GRID_DIR=`cd "$GRID_DIR"; pwd`
  4. source $GRID_DIR/../gridmix-env
  5. PROCESSES=""
  6. for ((i=0; i < $NUM_OF_LARGE_JOBS_PER_CLASS; i++))
  7. do
  8.     echo $i
  9.     $GRID_MIX_HOME/webdatasort/webdata_sort.large  2>&1 > webdata_sort.large.$i.out &
  10.     PROCESSES="${PROCESSES} $!"
  11.     $GRID_MIX_HOME/submissionScripts/sleep_if_too_busy
  12. done
  13.     
  14. for APROC in ${PROCESSES}; do
  15.   wait ${APROC}
  16. done