查看结果
- [yejk@desktop26 ~]$ cat job1.log
- Running on hosts desktop80.example.com
- Time is Sat Jun 2 05:33:32 CST 2012
- Directory is /home/yejk
- This job runs on the following nodes:
- desktop80.example.com
- This job has allocated 1 node
- Enter the number of intervals: (0 quits) pi is approximately 3.1415926535899708, Error is 0.0000000000001776
- wall clock time = 43.059767
- Enter the number of intervals: (0 quits) No number entered; quitting
使用集群并行计算截图:
- [yejk@desktop26 ~]$ cat job2.log
- Time is Sat Jun 2 05:49:29 CST 2012
- Directory is /home/yejk
- This job runs on the following nodes:
- desktop83.example.com
- desktop80.example.com
- This job has allocated 2 nodes
- Enter the number of intervals: (0 quits) pi is approximately 3.1415926535900072, Error is 0.0000000000002141
- wall clock time = 23.318623
- Enter the number of intervals: (0 quits) No number entered; quitting
- You have mail in /var/spool/mail/yejk
- [yejk@desktop26 ~]$
可以看到同样的任务并行的时间用的短
注:1. 以上测试我是以yejk用户测试,确保所有节点上有此用户,并且在计算节点上的yejk用户目录中有 prog 和 icpi 两个可执行程序
2. 启动mpd程序时要使用yejk用户 因为在调度时会连接计算节点上/tmp/
mpd2.console_yejk
免费下载地址在 http://linux.linuxidc.com/
用户名与密码都是www.linuxidc.com
具体下载目录在 /2012年资料/6月/4日/高性能集群 并行计算 mpich hpc 及 torque作业调度系统/

