📄 readme.txt
字号:
Example:编译:mpicc -o box box.c -lm运行:(group_size为处理器个数) mpirun -np group_size box 这里运行mpirun –np 8 box运行结果:input a[8]:0.2000000.5000000.4000000.2000000.3000000.3000000.1000000.800000d 0 1:1d 0 2:3d 0 3:6d 0 4:8processor number is 8my_rank 4number 4 goods put into box 2processor number is 8my_rank 1number 1 goods put into box 1processor number is 8my_rank 5number 5 goods put into box 2processor number is 8my_rank 7number 7 goods put into box 3processor number is 8my_rank 2number 2 goods put into box 1processor number is 8my_rank 3number 3 goods put into box 2processor number is 8my_rank 8number 8 goods put into box 4processor number is 8my_rank 6number 6 goods put into box 3说明:物品的体积存在文件data1中
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -