Re: Running Windows Programs from Fortran
- From: Tim Prince <timothyprince@xxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 23:28:39 GMT
Beliavsky wrote:
On May 30, 4:36 pm, tuli <tuli.herscov...@xxxxxxxxx> wrote:Hello,
I need to execute a Windows based application (say HFSS.exe) from
Fortran.
Tried to make a batch file but it did not work.
I use the Compaq Visual Fortran ver.6.6 on a 32 machine and/or PGI
Fortran (Release 7) on a 64 bit machine.
For Intel and Compaq Visual Fortran, use the "system" extension, for
example
program xsystem
implicit none
call system("try.bat")
end program xsystem
Maybe it is present in PGI, too -- I don't use that compiler.
It may work better with recent compilers if it is used in accordance with the documentation. Subroutine and function call interchangeability is a sometimes thing.
.
- References:
- Running Windows Programs from Fortran
- From: tuli
- Re: Running Windows Programs from Fortran
- From: Beliavsky
- Running Windows Programs from Fortran
- Prev by Date: Re: re-using fortran dll in VS2005
- Next by Date: Re: Fortran assumed-shape array problems with MPI
- Previous by thread: Re: Running Windows Programs from Fortran
- Next by thread: Re: Running Windows Programs from Fortran
- Index(es):
Relevant Pages
|
|