Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  • Users: TheKKK
  • Content: Threads
  • Order by date
  1. TheKKK

    -convert command ?

    Hi, on intel fortran i compile giving the command: ifort -convert big_endian myfile.f What is the "convert" command in gfortran or in lahey compilers? The above didnt work.
  2. TheKKK

    reading a large number of files

    I have to read and extract data from a large number of files: file1.dat file2.dat file3.dat ......... file100.dat Is there a fast way of reading all these files one at a time? My simple idea is to write all the filenames in a text file from which i will read a filename at a time. If anyone...
  3. TheKKK

    newline character doesnt work?

    I use gfortran on cygwin and in a simple code like: program test open(50,file='test.dat') write(50,'(A)') 'firstname' write(50,'(A)') 'lastname' close(50) end i get: firstnamelastname instead of firstname lastname i also tried write(50,'(A/)')...
  4. TheKKK

    end of character variable

    Hello, with the following code, when NRuns becomes large enough e.g. 1000 the program stops at 495th iteration giving the following error: 'The end of the character variable in an internal file I/O statement was detected.' Does anybody know what that means and if i can perform the iterations...
  5. TheKKK

    read a value from a file

    Hello, I have a file that goes like this: *** MODEL RUN *** *** VERSION DATED 96043 *** . . . . STACK HT (M) = 100.0000 STACK DIAMETER (M) = 2.6950 STACK VELOCITY (M/S) = 99.9020 How can I...
  6. TheKKK

    call system command

    i would like to run an program.exe through my fortran code in a folder different than my fortran code I have used the following 3 codes but the system cannot find the file specified: 1. call system ('folder\program <IN.DAT') 2. call system ('\folder\program <IN.DAT') 3. call system ('cd...

Part and Inventory Search