This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
error in write and print free format
- From: LU Ribeiro <lrribeiro at gmail dot com>
- To: gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 26 Sep 2011 20:21:22 -0300
- Subject: error in write and print free format
Hello, my name is Luciano.
When I read one variable in Pmat.prn the variable modify the value if
out is not formated.
ex.: .With
Write(*,*) ou Print*,...
Pmat.prn file:
.Pmat_out.prn file: (read and write not formated)
1.20 1.35 1.56 3.89 .1.2000001
1.3499999 1.5599999 3.8900001
2.44 5.43 3.33 5.55 .2.3999999
5.4400001 3.3299999 5.5499999
If read and write is formated then is normal 1.20 1.35 1.56 3.89 ...
Why this occurs ? How I can to resolve this?
Gfortran 4.5
My hardware is a Intel Core 2 Quad:
Memory:?????????? 2,GiB
Processor 0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Processor 1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Processor 2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Processor 3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
System:
11.04(natty) - (Portuguese)
Kernel Linux 2.6.38-11-generic
GNOME 2.32.1
Thank for Gfortran!
Luciano R Ribeiro