wiki:mpich/test/cpi

Version 6 (modified by wade, 16 years ago) (diff)

--

CPI 的 loop 只會跑一次

MPICH Performance Report

Machine Specification

Node 8 nodes (1 server , 7 client provide disks)
CPU Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Memory 2GB DDR2 667 (each node)

CPI.c

Description

這是一個 mpich 內附用來算 pi 的程式。

Performance

以下為使用 1~10 顆的 CPU 測試 100 次的結果

PI 3.14159265358979323846
Our result 3.14159265358979267191
error 0.00000000000000056655
cpus	平均數
1	0.3792575
2	0.1898436
3	0.1280467
4	0.1004294
5	0.0812890
6	0.0696091
7	0.0672654
8	0.0662498
9	0.0625782
10	0.0587502

Attachments (3)

Download all attachments as: .zip