Re: Running Windows Programs from Fortran



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.




.



Relevant Pages

  • Re: Upgrading an OLD (Fortran Powerstation 4.0) compiler
    ... Microsoft exited the Fortran compiler business, ... which still sells Compaq Visual Fortran ... Fortran compilers of Intel, including Intel Visual Fortran for Windows, ...
    (comp.lang.fortran)
  • Re: #define in an "include file"
    ... reason when I compile the code using the "Rebuild All" ... It was in the original K&R C because that version of C did not have real named constants. ... The proper way to do include in Fortran is to use the INCLUDE line, ... Compaq Visual Fortran is full-featured Fortran ...
    (comp.lang.fortran)
  • Re: warning on running image !!!!!
    ... Compaq visual Fortran returns this warning: ... It is warning you that your program may not run on Windows 95 or Windows ... Intel Fortran Support ...
    (comp.lang.fortran)
  • Re: CVF66c, winXP, cmd prompt
    ... Others have described Fortran carriage control well. ... Compaq Visual Fortran Optimizing Compiler Version 6.6 ... User communities for Intel Software Development Products ...
    (comp.lang.fortran)
  • Re: CVF under Linux using Wine ?
    ... has anyone ever tried to run Compaq Visual Fortran under ... Linux using a recent version of WINE? ... I am reluctant to rely on the CVF/IVF line of Fortran compilers on ...
    (comp.lang.fortran)