At 13:31 12-01-98 -0500, you wrote:
>
>Is it possible to execute shell commands in F90? For example,
>in order to time how fast a program is running, I would like to
>execute the shell comand 'date' from within the program periodically
>and output this to a file.
>
>Is this possible?
>
STANDARD Fortran has NO possibilities.
However, Fortran 95 has the subroutine CPU_time( .. )
Some systems have a SYSTEM( .. ) subroutine.
---
Meilleures Salutations,
Best Greetings,
/---
Jan van Oosterwijk
Computing Centre
Delft University of Technology
Postbus 354
2600 AJ Delft
Netherlands / Pays Bas
Phone: +31 15 278 50 17
Fax: +31 15 278 37 87
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|