Software Archive
Read-only legacy content
17060 Discussions

Aborting DECFOR90 processes

Intel_C_Intel
Employee
363 Views
We are spawning the DF command from within a (C++) program to compile Fortran code. The code used to spawn DF is CreateProcess within C++, and we have an abortHandler to kill the created process.

This works well, until the user aborts the DF process. The DF process does abort, but the DECFOR90.EXE process continues. Some of our compilation times are long, and we must have an easy way of killing this process too.

As it is possible for the user to have more than one compilation running on the same machine, is there a way of aborting the correct DECFOR90.EXE process?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
363 Views
I can't think of a way to do this, but an alternative is for you to spawn DECFOR90.EXE directly. You'll need to figure out what switches and arguments to pass - the easiest way to do that is to issue a sample DF command with the /watch switch included - the driver will then display the complete invocation of DECFOR90.EXE.

Steve
0 Kudos
Reply