我在Windows 8上安装了Cygwin 64位2.831,并安装了内置的OpenMPI 1.7.4-1软件包。 现在每当我调用任何OpemMPI程序(例如mpirun,mpicc,mpic ++,ompi_info)时,它立即终止而没有任何输出。它甚至不报告命令行参数中的问题。非常感谢任何解决方案或解释。
谢谢
更新:显然,这是一个64位问题; mpic ++似乎适用于32位Cygwin。
在64位Cygwin上运行gdb mpic++
会得到以下输出:
Starting program: /usr/bin/opal_wrapper
[New Thread 3544.0x6f8]
warning: `/cygdrive/c/Windows/SYSTEM32/wow64.dll': Shared library architecture i386:x86- 64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/system32/wow64win.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/system32/wow64cpu.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
dll path too long
dll path too long
dll path too long
dll path too long
warning: `/usr/bin/cygwin1.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
warning: `/usr/bin/cygwin1.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
[Inferior 1 (process 3544) exited with code 030000000173]
正在运行strace mpic++
:
strace.exe: error creating process mpic++, (error 2)