# [FORTRAN] Strange Characters in output

• Fortran

## Main Question or Discussion Point

Hi, I am trying to compile a code that should work fine, but I am getting errors and also some odd characters are printing on the screen. This is the output:

ENTER INPUT FILE NAME (INCLUDE EXTENSION NAME)
blisw.inp
blisw.inp
THIS PROGRAM CURV.EXE WILL GENERATE SEVERAL OUTPUT FILES:
1. OUTPUT FILE NAME
bliswOUT.TXT5ø…àV5P
@
2. SUMMARY OUTPUT FILE NAME
bliswSUMMARYOUT.TXTtaßé*ƒ
3. EXTERNAL VELOCITY IN FILE FORT.11
4. VELOCITY PROFILE IN FILE FORT.12
5. VELOCITY PROFILE along Stream Line coordinate System in File fort.10
6. Shape Factor,Rtheta Reynolds number based on momentum
thickness along external strea, in File FORT.88
invalid number: incomprehensible list input
apparent state: unit 55 named blisw.inp
last format: list io
lately reading direct formatted external IO
Aborted (core dumped)

The strange thing is that the code has been compiled before (its from a book), and that executable works fine when I specify the input, its only when I compile the source code that I get this error. I have tried several compilers so far (unix environment, silverfrost, g77) and this same thing happens. Any help with this would be very appreciated, thank you.

Related Programming and Computer Science News on Phys.org
It would help if you posted the code.
It would help if you posted the content of the input file ( blisw.inp ? )

AlephZero
Homework Helper
The code would never have worked properly in standard Fortran, except by good luck.

INPUT_NAME = " "
SUMMARY_NAME = " "`