This commit is contained in:
2022-02-06 18:44:55 +08:00
parent 03955990aa
commit 50f44061be
3 changed files with 35 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
for job_index in 0 1 2 3 4 5 6
for ((job_index=0; job_index<7; job_index++))
do
cp a.py a${job_index}.py
@@ -11,4 +11,4 @@ cp a.sh a${job_index}.sh
sed -i "s/python a.py/python a${job_index}.py/" a${job_index}.sh
qsub a${job_index}.sh
done
done