o********c 发帖数: 1257 | 1 用qsub提交任务,job2 需要等job1成功完成之后才开始。用了如下两行。可是有个问
题,就算job1中间有了问题,被terminate之后,job2还是能后执行。请问有什么办法
可以控制,使得job2只能在job1没有错误的完成之后才能运行?
谢谢。
first=`qsub job1.pbs`
second=`qsub -W depend=afterok:$first job2.pbs` |
|
m****r 发帖数: 6639 | 2 我这样写
class job1 {
C obj;
job1 (C c) { obj = c; }
run() {
synchronize (obj) {
if (method2 not done) obj.wait();
obj.method1
}
}
class job2 {
run() {
synchronize (obj) {
obj.method2;
obj.set method2 done;
obj.notifyAll();
}
}
in main thread
C c = new C();
new Thread(new job1(c)).start();
new Thread(new job2(c)).start();
这个应该是本来的意思. |
|
x*z 发帖数: 1010 | 3 你这个按道理来说不应该,因为你用的是“afterok”,不是“after”。除非
你的job1被结束后返回错误码是0,这个要看你的job1.pbs是怎么写的了。 |
|
|
j*******1 发帖数: 16 | 5 简历 : good at sql, good at C#, good at VB.
job1: requirement: know sql, know VB,
你的简历改成: good at sql, good at VB.
job2: requirement; know VB, know sql,
你的简历改成: good at VB, god at sql.
你觉得改好还是不改好 每份申请建个folder, 你customize 的简历, recruiter 电话
放哪里 。
24 小时后给他/她电话,强调你最合适。
你要记什么 ? 就记住要改,要打电话 。改完存档就忘了它。 |
|
i**e 发帖数: 19242 | 6 Five Reasons to Stop Saying "Good Job1“
1.Manipulating children 因为我们这样称赞的动机是希望孩子听到表扬后,在行为听
父母的话,做父母希望他们做的事;
2.Create praise junkies 这样的表扬听得多了,会更想听?
3.Stealing a child's pleasure 孩子们deserve 从成果中获得快乐,从学会中体验自
豪; "good job"即便是一个正面的判定/判决,最终本质是judgement
4.Losing interest 作者说 an impressive body of scientific reaserch has
shown that the more we reward people for doing something, the more they they
tend to lose interest in whatever they had to do to get the reward. Hmmm,
难道奖金越多越不想工作? 作者认为这样的表扬只会鼓励/驱动孩子去 |
|
n***s 发帖数: 10056 | 7 Prepare to have detailed duty list of your previous position and current
position. Do a table and list both side by side and show there are at least
51% differences.
Kind of like this:
job1. job2
dutyA 30%. dutyE 30%
dutyB 20%. dutyB 20%
dutyC 20%. dutyC 20%
dutyD 30%. dutyF 10%
dutyG 20%
Same duty (b,c) 40%
different duty 60%. |
|
w*r 发帖数: 2421 | 8 FT...
JOB1 PERM EB2 approved PD 09/20/2006
I-140 Approved Approval Date 01/02/2007
JOB2 PERM EB2 approved. PD 02/10/2008
I-140 Approved Approval DATE 07/24/2008
Now, when apply Job2 I140, I put request to carry over the 09/20/2006 date
as PD(priority date). Once it gets approved, the 09/20/2006 will be printed
as Priority date on the second I140.
Got it? |
|
m****d 发帖数: 9307 | 9 哦,
是吗?
可是我想花的是
某一天很多work的流程图,比如job1, 几点到几点,job2 几点到几点
中间有间断那种的 |
|
|
i**e 发帖数: 19242 | 11 Five Reasons to Stop Saying "Good Job1“
1.Manipulating children 因为我们这样称赞的动机是希望孩子听到表扬后,在行为听
父母的话,做父母希望他们做的事;
2.Create praise junkies 这样的表扬听得多了,会更想听?
3.Stealing a child's pleasure 孩子们deserve 从成果中获得快乐,从学会中体验自
豪; "good job"即便是一个正面的判定/判决,最终本质是judgement
4.Losing interest 作者说 an impressive body of scientific reaserch has
shown that the more we reward people for doing something, the more they they
tend to lose interest in whatever they had to do to get the reward. Hmmm,
难道奖金越多越不想工作? 作者认为这样的表扬只会鼓励/驱动孩子去 |
|
t********r 发帖数: 4908 | 12 ☆─────────────────────────────────────☆
izze (凉拌豆渣) 于 (Fri Apr 23 00:33:51 2010, 美东) 提到:
原来是一把关于教育文章的合集,用第1篇文章的标题做了书名。
作者的意思,“好的教育”这个还真没法定义,在解释了为嘛难定义,“批判”了几种
可能的定义方式之后,作者说,干脆我们还是来说说,什么是理想的好学校吧,或许这
样的好学校可以给孩子们提供“好的教育”。
作者对好学校的定义如下:the best sort of schooling is organized around
problems, projects and questions---- as opposed to facts, skills and
disciplines. Knowledge is acquired, of course, but in a context and for a
purpose.The emphasis is not only on depth rather than breadth, but also on
... 阅读全帖 |
|