[ET Trac] [Einstein Toolkit] #1704: redirect stdout and stderr of all processes if requested (also of the root process)
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Nov 25 10:20:17 CST 2014
#1704: redirect stdout and stderr of all processes if requested (also of the root
process)
--------------------------+-------------------------------------------------
Reporter: knarf | Owner:
Type: enhancement | Status: review
Priority: optional | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by diener):
Regarding the questions about Fortran above, I add print* statements all
the time to Fortran code when debugging and I haven't seen any issues with
the redirection of stdout from Fortran code in Cactus, so it looks like
freopen also affects Fortran routines later on in the execution. Usually
Fortran uses file units 0, 5 and 6 for stderr, stdin and stdout, but this
is not required by the standard. In Fortran 2003 there is a standard
intrinsic module (iso_fortran_env) that contains the information for any
given implementation.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1704#comment:9>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list