Re: <nul> Characters in Fortran 77
- From: *** Hendrickson <***.hendrickson@xxxxxxx>
- Date: Tue, 10 Apr 2007 13:21:25 GMT
Andreas Ernst wrote:
Dear all:The universal answer for weird output is to check for program
I am working with a large scientific parallel code which uses unit 7 for formatted
output. However, at some point the code writes binary <nul> charachters
to unit 7 which is supposed to contain only ascii data.
The error is hard to debug since some debugging output to
unit 7 seems to be missing. Instead there are these <nul> characters.
The code has hundred's of WRITE statements to unit 7.
I am running the code on a Cray XD1 system with Portland pgf77
compiler using the version mpich-pgi601.
Please give me a hint how to find the IO command which produces
the <nul> characters.
Best regards,
Andreas
errors. Try turning on all of the run-time (as well as compile-time)
error checking you can. Subscript bounds checking, argument mismatch
checking, and use of undefined variables are the most likely culprits.
Can you try the program with a different compiler? That usually
doesn't fix the problem, but it can help fix the blame.
*** Hendrickson
.
- Follow-Ups:
- Re: <nul> Characters in Fortran 77
- From: Ron Shepard
- Re: <nul> Characters in Fortran 77
- References:
- <nul> Characters in Fortran 77
- From: Andreas Ernst
- <nul> Characters in Fortran 77
- Prev by Date: Re: Fortran source of non-linear unconstrained optimization
- Next by Date: Re: Fortran source of non-linear unconstrained optimization
- Previous by thread: Re: <nul> Characters in Fortran 77
- Next by thread: Re: <nul> Characters in Fortran 77
- Index(es):