Recent content by fort_phys
-
F
Fortran Fortran runtime error: Sequential READ or WRITE not allowed
Dear Forum users, I am running a program called NMTO package for constructing Wannier functions for a material. It uses a code plotnmto.f90 to calculate wannier isosurfaces within the mesh defined by me. I compiled the code in gfortran. After defining the mesh when I ran the program for...- fort_phys
- Thread
- Error Fortran Runtime
- Replies: 2
- Forum: Programming and Computer Science
-
F
Fortran Reading a file repeatedly in each iteration of a do loop in fortran
Thanks fluidistic and jtbell for your reply. I tried both of yours advices but it did not work. I am attaching my program here below. Please have a look. open(unit=2,file="input.dat") c = 0 80 i = 0 c = c + i*Nat do x = 1, 7+At(1)+c read(2,*)...- fort_phys
- Post #4
- Forum: Programming and Computer Science
-
F
Fortran Reading a file repeatedly in each iteration of a do loop in fortran
Hi everybody, I have just joined this forum and I have a problem in fortran programming. I want to do a program in fortran where in the do loop it will read an input file from the first line upto a line and again it will go to the starting line of the file in the next loop and read...- fort_phys
- Thread
- File Fortran Loop Reading
- Replies: 9
- Forum: Programming and Computer Science