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