Hi all. I have a provlem trying to use openmp to parallelize a code. The code is written in fortran77 (with a lot of commons, goto and old stuff) but I think it should work.
[...]
DO 210 I=1,NK1
I1=I-1
IF(I.GE.NKM)MG=MG-1
ME=2
C$OMP PARALLEL DEFAULT(SHARED)
C...
Hello.
I use fortran 90 and I need to read from a file a certain number of data that appear after a certain word.
as instance i have a file like
[anything]
ZXX
8
12.3 12.2 0.023 23.222 12
12.23 12.2 0.023 23.222 12
12.3 12.2 0.023 23.222...
Hi all, I am new to Fortran too.
the proposed solution works, but there is any method to set the number of columns from the input?
what I am looking for is a way to let work
integer ::a, i ,j
read (*,*) a
do i = 1,1092
write(12,'a(fw.d)') (1.0, j =1,a)
...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.