Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. blasco

    openmp and fortran77 issues

    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...
  2. blasco

    READ part of a file

    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...
  3. blasco

    Having trouble getting "&" to work.

    I think that is because a .f file is interpreted as a fortran77 file in which you need an & in the sixth column of the continuation line
  4. blasco

    Formatting WRITE output in Fortran

    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) ...

Part and Inventory Search

Back
Top