• R/O
  • SSH

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

File Info

修訂. 8899a3c74c53f2aff554cf008b0a6b3e3c7dc464
大小 545 bytes
時間 2009-02-12 02:12:19
作者 iselllo
Log Message

I added a code which automatically selects jobs from a pool and run a certain number simultaneously.

Content

#!/bin/bash

#run the script with the following command

#  cat my_list.txt | xargs -n 1 -P 4 ./my_script.sh




# where:
# -n = number of args to pass to myscript.bash (i.e. we want one at a time)
# -P = number of process to run simultaneouly (i.e. w in this case)

# and  my_list.txt is a list of directories with the applications I want to run
# e.g.

# /media/disk/diffusion-chain/chain-8-eta-1/1
# /media/disk/diffusion-chain/chain-8-eta-1/2
# /media/disk/diffusion-chain/chain-8-eta-1/3




cd $1
./Espresso test_bond_angle_8_monomers.tcl