[ET Trac] [Einstein Toolkit] #1378: provide equivalent of fprintf(stderr, "%s\n", msg) in Fortran
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Jun 6 20:20:35 CDT 2013
#1378: provide equivalent of fprintf(stderr, "%s\n", msg) in Fortran
--------------------------+-------------------------------------------------
Reporter: rhaas | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by knarf):
I think OSX uses \n as well. Only the older MacOS used \r.
Concerning the prefix: For a multi-line warning I would actually rather
avoid the duplicate prefix, and just use a "\n" (in whatever form this
works) as first character to get an output of the form
{{{
WARNING[L1,P0] (GRHydro):
0
0
}}}
GRHydro might be fine with the other option, but especially for thorns
with longer names it would reduce the available space per line quite a
bit.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1378#comment:5>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list