[TRNSYS-users] Question on WRITE statement in Fortran

Clara Verhelst clara.verhelst at mech.kuleuven.be
Sat Aug 1 08:18:06 PDT 2009


Dear,

I would like to write the values of internal parameters and variables in Fortran to the screen or to a file. 
I tried the following:
  a.. inlcude Write statement in the Fortran source code:
  WRITE(*,*) = 'Parameter P = ', P     (print to screen)
  or
  WRITE(7,*) = 'Parameter P = ', P     (print to file)
  a.. recompile (+ rebuild ?) the considered fortran type
  b.. run the project in debugging mode. 
However, I don't see any value appearing on the screen, neither a file appearing in the Trnsys file. Can anyone help me further? Many thanks in advance!


Clara Verhelst
K.U.Leuven
Department of Mechanical Engineering
Division Applied Mechanics and Energy Conversion
Celestijnenlaan 300A - postbus 2421
B-3001 Leuven (Heverlee), Belgium

Tel: +32-(0)16-32 25 04
Fax: +32-(0)16-32 29 85
clara.verhelst at mech.kuleuven.be
http://www.mech.kuleuven.be/tme



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20090801/0322b49b/attachment-0001.htm>


More information about the TRNSYS-users mailing list