nanomechanic01
Mechanical
- May 9, 2011
- 1
Hey!
I am using intel visual fortran and am trying to execute an exe from within my program.
structure of my program:
!----------------
Program NEW
USE IFPORT
:
i=systemqq('arcade1.exe') ! input file name = 1.xyz
i=systemqq('arcade1.exe') ! input file name = 2.xyz
:
End program
!----------------
when executed, arcade1.exe requires the user to enter an input file name (1.xyz). Can this be done from inside my program?
I do have access to arcade1.exe source (arcade.f90). one easy way would be to have arcade.f90 to read 1.xyx from within; without prompting for a user input. although this will creates problems if I want to use 2.xyz with my next systemqq.
whats a good way to handle this and have the program NEW define the input files instead?
thanks!!
I am using intel visual fortran and am trying to execute an exe from within my program.
structure of my program:
!----------------
Program NEW
USE IFPORT
:
i=systemqq('arcade1.exe') ! input file name = 1.xyz
i=systemqq('arcade1.exe') ! input file name = 2.xyz
:
End program
!----------------
when executed, arcade1.exe requires the user to enter an input file name (1.xyz). Can this be done from inside my program?
I do have access to arcade1.exe source (arcade.f90). one easy way would be to have arcade.f90 to read 1.xyx from within; without prompting for a user input. although this will creates problems if I want to use 2.xyz with my next systemqq.
whats a good way to handle this and have the program NEW define the input files instead?
thanks!!