- #1
gluons
- 15
- 0
I've never had this issue before. My code will create the file and also output anything to terminal. But if I change the output from terminal to file, it does nothing. For example, this line
write(*,*) "ist1, ist2 =",ist1,ist2
outputs my two indices in every loop iteration. But if I add or replace it with this line,
write(2,*) "ist1, ist2 =",ist1,ist2
nothing happens. I have tried changing the filename, the unit number, what I am outputting, and where I put the write statement, and I can't figure it out.
Anybody know what I'm missing here? I've never had issues writing to file before...
write(*,*) "ist1, ist2 =",ist1,ist2
outputs my two indices in every loop iteration. But if I add or replace it with this line,
write(2,*) "ist1, ist2 =",ist1,ist2
nothing happens. I have tried changing the filename, the unit number, what I am outputting, and where I put the write statement, and I can't figure it out.
Anybody know what I'm missing here? I've never had issues writing to file before...