#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 it should work (read: I didn't test now) to do something like: {{{ character*256 :: warnline write(warnline,"(i5,A1,i5)") GRHydro_reflevel, "\n", GRHydro_reflevel call CCTK_WARN(1,warnline) }}}
Yes, that would require warnline to be long enough, but that is already the case without "\n", and a general problem in Fortan.