Rev. | 8899a3c74c53f2aff554cf008b0a6b3e3c7dc464 |
---|---|
サイズ | 545 バイト |
日時 | 2009-02-12 02:12:19 |
作者 | iselllo |
ログメッセージ | I added a code which automatically selects jobs from a pool and run a certain number simultaneously. |
#!/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