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.
Solved it myself.
According to Nvidia:
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.