如何在SMPD环境中调用与MPI并行化的Fortran中的子例程

时间:2014-01-09 05:42:47

标签: mpi daemon subroutine

我的问题是当我在Fortran中使用mpi时尝试调用一个简单的子例程时,简单的多用途守护进程(SMPD)会出现这种错误:

    `CreateProcess failed, error 2
    unable to start the local smpd manager.
    CreateProcess failed, error 2
    CreateProcess failed, error 2
    unable to start the local smpd manager.
    CreateProcess failed, error 2
    unable to start the local smpd manager.
    unable to start the local smpd manager.
    invalid command received, unable to determine the destination: 'cmd=result src=0
    dest=1 tag=9 cmd_tag=9 ctx_key=0 result=SUCCESS '
    invalid command received, unable to determine the destination: 'cmd=result src=0
    dest=1 tag=10 cmd_tag=9 ctx_key=2 result=SUCCESS '
    invalid command received, unable to determine the destination: 'cmd=result src=0
    dest=1 tag=11 cmd_tag=9 ctx_key=1 result=SUCCESS '
    invalid command received, unable to determine the destination: 'cmd=result src=0
    dest=1 tag=12 cmd_tag=9 ctx_key=3 result=SUCCESS '
    mpiexec aborting job...`

当我评论呼叫线时,代码完美运行,SMPD不会显示任何错误。

我要求编译器生成可重入代码,但SMPD仍然会给出相同的错误。 你能帮我解决一下这个问题吗?

0 个答案:

没有答案