Recent content by ign
-
I
Fortran Fortran-write file to directory other than current
solved the problem! and to make it cleaner I declared a path CHARACTER*29 :: path='/home/.../output/' I then added path (followed by union slashes //) at the beginning of the file name open(unit=3, file=path//val(i,1)//'_Brutes_lowD.txt', status='unknown')- ign
- Post #2
- Forum: Programming and Computer Science
-
I
Fortran Fortran-write file to directory other than current
Hello, I am running a fortran f90 program and am writing outputs to several files, the thing is I would like them to be written to a specific folder to better manage outputs and so leaving the program directory clean. here's a sample write sentence: open(unit=3...- ign
- Thread
- Current File
- Replies: 2
- Forum: Programming and Computer Science
-
I
Fortran Reading MS Excel Files in FORTRAN 77
it eventually worked, thank you I simply saved the same file as text UTF-8 with no .txt extension and it worked great I don't know if it's related to the compiler (gfortran) or the system (linux ubuntu), no idea ig- ign
- Post #7
- Forum: Programming and Computer Science
-
I
Fortran Reading MS Excel Files in FORTRAN 77
hello, thank you for the reply i still get the same error >At line 7 of file readexcel.f90 >Fortran runtime error: End of file by the zay the data you pasted was missing two lines I believe anyway the file I want the fortran program to read looks like this: [stationID and feature] A2332110...- ign
- Post #5
- Forum: Programming and Computer Science
-
I
Fortran Reading MS Excel Files in FORTRAN 77
Hello, I am also trying to read from a csv or txt file in Fortran and I have tried the commands that "mathmate" provided for the Gucu.txt (using "ekinakoglu" 's file). but i got this error : > At line 10 of file readexcel.f90 > Fortran runtime error: End of file line 10 is: 5...- ign
- Post #3
- Forum: Programming and Computer Science