?? readme.txt
字號:
Example:編譯:mpicc app_match.c –o app_match運行:可以使用命令 mpirun –np SIZE app_match m n k來運行該串匹配程序,其中SIZE是所使用的處理器個數,m表示文本串長度,n為模式串長度,k為允許誤差長度。本實例中使用了SIZE=3個處理器,m=7,n=2,k=1。 mpirun –np 3 app_match 7 2 1運行結果:on node 0 the text is ason node 0 the pattern is asTotal 2 matched on node 0on node 1 the text is ason node 1 the pattern is asTotal 2 matched on node 1on node 2 the text is bsbon node 2 the pattern is asTotal 2 matched on node 2說明:該運行實例中,令文本串長度為7,隨機產生的文本串為asasbsb,分布在3個節點上;模式串長度為2,隨機產生的模式串為as。最后,節點0、1和2上分別得到兩個近似匹配位置。
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -