Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
1895 Discussions

Problem launching windows console application using createprocess from mpi lunched console application

Tushar_S_1
Beginner
127 Views

All,

I have a working console application( call myApp) which is launched using mpiexec on windows 2008server.  It works fine. However I am now adding a feature where in I want to launch a new application(call childapp) from my application. I am using Windows function "CreateProcess", If the childapp is , hnotpad it launches fine, however if it is a console application like cmd.exe or my "childapp" it doesn't work, the createprocess call succeeds in all cases. If I give a wrong path etc. createprocess calls fails appropriately.   Similar code calling createprocess works in a test client application (not run through mpiexec, did not try that). This test client aunches childapp successfully. 

Are there any restrictions calling createProcess, any special flags needed in the above scenario? Pl. advise.

Thanks

0 Kudos
0 Replies
Reply