dinjag
Chemical
- Nov 7, 2001
- 8
How to invoke (run) an application (executable) from a fortran program?
I have an executable of a C program which reads data from a text file. I want to integrate this exe with a main fortran program so that I would write a data required by C executable (text file) from a fortran program, then run the executable and subsequently read the output generated by C exe back into fortran program. Could anybody suggest a way to do this.
I have an executable of a C program which reads data from a text file. I want to integrate this exe with a main fortran program so that I would write a data required by C executable (text file) from a fortran program, then run the executable and subsequently read the output generated by C exe back into fortran program. Could anybody suggest a way to do this.