在解决了我之前关联MPI程序的问题之后,我试图在不成功的情况下启动该程序。
mpirun -np 4 mpi_prime.exe
以这种方式启动程序导致弹出4个(对于每个进程)重叠的窗口,说明:
Die Anwendung konnte nicht gestartet werden(0xc00007b)。
所以我用dependency-walker(DW)查看了可执行文件,检查.DLL文件的错误依赖性。 事实证明,DW确实只找到32位(x86).DLL文件。
我通过再次使用DW(F7)运行可执行程序来启动配置文件。
日志提出了一个值得注意的按摩:
GetProcAddress(0x00FF0000 [ORTED.EXE], "NvOptimusEnablement") called from "NVINIT.DLL" at address 0x75266BDE and returned NULL. Error: Die angegebene Prozedur wurde nicht gefunden (127).
我不知道这应该告诉我什么,或者我如何解决它。
After solving my previous problem linking a MPI program, I tried to start that program unfortunatelly without much success.
mpirun -np 4 mpi_prime.exe
Starting the program this way resulted in poping up 4 (for each process) overlapping windows stating:
Die Anwendung konnte nicht gestartet werden (0xc00007b).
So I looked at the executeable with dependency-walker(DW), checking for wrong dependencies of .DLL files. As it turned out DW did find only 32bit (x86) .DLL files.
I startet a profile by running my executeable with DW (F7) again.
The log came up with a notable massage:
GetProcAddress(0x00FF0000 [ORTED.EXE], "NvOptimusEnablement") called from "NVINIT.DLL" at address 0x75266BDE and returned NULL. Error: Die angegebene Prozedur wurde nicht gefunden (127).
I don't have a clue whats this supposed to tell me, or how I can fix it.
最满意答案
自己解决了。
根据Nvidia的说法:
从Release 302驱动程序开始,应用程序开发人员可以在运行时指示Optimus驱动程序使用High Performanc e Graphics来呈现任何应用程序 - 甚至是那些没有现有应用程序配置文件的应用程序。 他们可以通过导出名为NvOptimusEnablement的全局变量来实现此目的。
因此,应用程序可以明确地打开我的GPU核心并使用它们。
我仍然不知道,OpenMPI和我的Nvidia显卡之间的联系是什么,但是我能够通过重新安装新的Nvidia显卡驱动程序解决问题。
Solved it myself.
According to Nvidia:
Starting with the Release 302 drivers, appl ication developers can direct the Optimus driver at runtime to use the High Performanc e Graphics to render any application–even those applications for which there is no existi ng application profile. They can do this by exporting a global variable named NvOptimusEnablement .
So applications can explicitly switch on my GPU Cores and use them.
I still don't know, what the connection between OpenMPI and my Nvidia Graphics card is, however I was able solving the problem by reinstalling a new Nvidia Graphics Card driver.
更多推荐
发布评论