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

网格计算

开发平台:

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. $GRID_MIX_HOME/submissionScripts/maxentToSameCluster 2>&1 > maxentToSameCluster.out &
  7. PROCESSES="${PROCESSES} $!"
  8. sleep 20
  9. $GRID_MIX_HOME/submissionScripts/textSortToSameCluster 2>&1 > textSortToSameCluster.out  &
  10. PROCESSES="${PROCESSES} $!"
  11. sleep 20
  12. $GRID_MIX_HOME/submissionScripts/monsterQueriesToSameCluster 2>&1 > monsterQueriesToSameCluster.out &
  13. PROCESSES="${PROCESSES} $!"
  14. sleep 20
  15. $GRID_MIX_HOME/submissionScripts/webdataScanToSameCluster 2>&1 > webdataScanToSameCluster.out &
  16. PROCESSES="${PROCESSES} $!"
  17. sleep 20
  18. $GRID_MIX_HOME/submissionScripts/webdataSortToSameCluster  2>&1 > webdataSortToSameCluster.out &
  19. PROCESSES="${PROCESSES} $!"
  20. echo "Waiting for processes: ${PROCESSES}"
  21. for APROC in ${PROCESSES}; do
  22.   wait ${APROC}
  23. done