编译C ++ BLACS程序

问题描述

我是LAPACK和BLACS的新手,并尝试从下面的链接编译C ++示例程序。 https://andyspiros.wordpress.com/2011/07/08/an-example-of-blacs-with-c/#comment-695

但是,我仍然收到如下所述的错误

    BLACS ERROR 'Illegal grid (2 x 2),#procs=1'
from {-1,-1},pnum=0,Contxt=-1,on line -1 of file 'BLACS_GRIDINIT/BLACS_GRIDMAP'.
application called MPI_Abort(MPI_COMM_WORLD,1) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1
:
system msg for write_line failure : Bad file descriptor

如果有人可以向我解释如何解决此问题,将不胜感激。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)