[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:13:25 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 rhaas):

 This almost worked. Adding "\n" produces
 {{{
 WARNING[L1,P0] (GRHydro):     0\    0
 }}}
 If I then replace the "\n" by the number 10 (ASCII code for the line-
 feed), I get:
 {{{
 WARNING[L1,P0] (GRHydro):     0
     0
 }}}
 Not sure what I would get under OSX and Windows where the end-of-line
 marker is "\r" and "\r\n" respectively. Ideally I would have liked:
 {{{
 WARNING[L1,P0] (GRHydro):     0
 WARNING[L1,P0] (GRHydro):     0
 }}}
 ie some short leader for each line.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1378#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list