|
[Sponsors] |
maximum output line length in fortran under linux |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 11, 2001, 06:42 |
maximum output line length in fortran under linux
|
#1 |
Guest
Posts: n/a
|
Hi,
The following code open(1,file='tw') x=sin(1.0) write(1,*) x,x,x,x,x,x,x,x,x close(1) stop end compiled with g77 or f2c and run under linux produces two lines instead of one in tw: the output line is wrapped somewhere about 80-th column. How to change this behaviour? Thanks Sergei |
|
May 11, 2001, 08:15 |
Re: maximum output line length in fortran under li
|
#2 |
Guest
Posts: n/a
|
Use a formatted output, e.g.
write(1,'(9e14.6)') x,x,x,x,x,x,x,x,x |
|
May 11, 2001, 08:25 |
Re: maximum output line length in fortran under li
|
#3 |
Guest
Posts: n/a
|
Thanks, Stefan,
I've just found it out myself 5 min ago . Sergei |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User fortran routines, DEBUG AND OUTPUT | Bloshchitsyn Vladimir | CFX | 5 | October 29, 2007 02:31 |
Fortran editor for Linux | Praveen. C | Main CFD Forum | 15 | August 27, 2007 22:50 |
read in line / fortran | jojo | Main CFD Forum | 5 | September 15, 2006 10:41 |
errors | Fahad | Main CFD Forum | 0 | March 23, 2004 14:20 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |