?? 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 + -