正在加载图片...
Finding Pl using MPl collective operations Source casestudy/pi/pic casestudy/pi/Makefile Sample Output Enter the number of intervals: (0 quits)100 i is approximately3.1416009869231249, Error is0.00000833333318 Enter the number of intervals:(0 quits )1000 pi is approximately3.1415927369231262, Error is0.0000083333331 Enter the number of intervals: (0 quits)10000 pi is approximately3.1415926544231256, Error is0.00000008333325 Enter the number of intervals: (0 quits)100000 pi is approximately3.1415926535981269, Error is0.000000003338 Enter the number of intervals:(0 quits)1000000 pi is approximately3.1415926535898708, Error is0.000000000077 Enter the number of intervals:(0 quits)10000000 pi is approximately 3. 1415926535897922, Error is 0.0000000000000009Finding PI using MPI collective operations Source casestudy/pi/pi.c casestudy/pi/Makefile Sample Output: Enter the number of intervals: (0 quits) 100 pi is approximately 3.1416009869231249, Error is 0.0000083333333318 Enter the number of intervals: (0 quits) 1000 pi is approximately 3.1415927369231262, Error is 0.0000000833333331 Enter the number of intervals: (0 quits) 10000 pi is approximately 3.1415926544231256, Error is 0.0000000008333325 Enter the number of intervals: (0 quits) 100000 pi is approximately 3.1415926535981269, Error is 0.0000000000083338 Enter the number of intervals: (0 quits) 1000000 pi is approximately 3.1415926535898708, Error is 0.0000000000000777 Enter the number of intervals: (0 quits) 10000000 pi is approximately 3.1415926535897922, Error is 0.0000000000000009
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有