正在加载图片...
二、MP|编程实例演示 MP|程序的的编译与运行 小写o mp I cc he lo hello c 生成he|o的可执行代码 Anp: The number of process mpirun np 4 hello 4指定np的实参,表示进程数,由用户指定 he||o要运行的MP|并行程序MPI程序的的编译与运行 • mpicc –o hello hello.c – 生成hello的可执行代码. • mpirun –np 4 hello – 4 指定np的实参,表示进程数,由用户指定. – hello 要运行的MPI并行程序. %小写o %np: The number of process. 二、MPI编程实例演示
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有