• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revision8899a3c74c53f2aff554cf008b0a6b3e3c7dc464 (tree)
Time2009-02-12 02:12:19
Authoriselllo
Commiteriselllo

Log Message

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

Change Summary

Incremental Difference

diff -r c5d01f2328a6 -r 8899a3c74c53 Bash-scripts/my_script.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Bash-scripts/my_script.sh Wed Feb 11 17:12:19 2009 +0000
@@ -0,0 +1,25 @@
1+#!/bin/bash
2+
3+#run the script with the following command
4+
5+# cat my_list.txt | xargs -n 1 -P 4 ./my_script.sh
6+
7+
8+
9+
10+# where:
11+# -n = number of args to pass to myscript.bash (i.e. we want one at a time)
12+# -P = number of process to run simultaneouly (i.e. w in this case)
13+
14+# and my_list.txt is a list of directories with the applications I want to run
15+# e.g.
16+
17+# /media/disk/diffusion-chain/chain-8-eta-1/1
18+# /media/disk/diffusion-chain/chain-8-eta-1/2
19+# /media/disk/diffusion-chain/chain-8-eta-1/3
20+
21+
22+
23+
24+cd $1
25+./Espresso test_bond_angle_8_monomers.tcl