Suppose that I have a type real array of 25 elements, and at some point within my code I have the following two statements
open(unit=30,file='data.txt',status='unknown') write(30,*)(real_array(j), j =1, 25)
Upon compilation (with ifort10.1) and execution the file data.txt does not contain one long line with 25 elements on it, but 7 lines 6 of which have 4 values in each and the last line containing one element of the array.
How can I force ifort to put all of the elements of the array onto one line in the output file?



