Next: Acknowledgments
Up: FORTRAN source file
Previous: FORTRAN-90 version
Printing the execution times
After successful completion of execution, the code HFODD prints
the table of times spent in principal subroutines, as well as the
total execution time. Since implementation of the time-checking
functions widely varies between compilers and platforms, in the file
hfodd.f all references to these functions are commented out
and inactive. However, very simple modifications of the source code can
easily be performed to activate one of the following options:
- Replace all strings "CCPUT" by spaces in order to activate
a call to the FORTRAN-90 subroutine CPU_TIME, which
returns CPU execution times.
- Replace all strings "CETIM" by spaces in order to activate
a call to function ETIME, which returns CPU execution
times.
- Replace all strings "CUNIX" by spaces in order to activate
a call to the UNIX function TIME, which returns wall clock
execution times.
- Replace all strings "CSAL" by spaces in order to activate
a call to the SALFORD FORTRAN subroutine
DCLOCK@, which returns wall clock execution times.
- Replace all strings "CF32" by spaces in order to activate
a call to the MICROSOFT F32 subroutine
GETTIM, which returns wall clock execution times.
Other time-checking functions, available to the user, can be
analogously called in the subroutine CPUTIM.
Next: Acknowledgments
Up: FORTRAN source file
Previous: FORTRAN-90 version
Jacek Dobaczewski
2004-01-06