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 TouchToneTommy 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: *

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

    Printing on screen

    I was printing on the screen like: Do i=1, 100 print *, 'values are ', i Enddo This prints rows of values like: values are 1 values are 2 values are 3 . . I want the values to change in one place like values are 1 (for the next i the value of 1 would change to 2 .... not another line)...
  2. fanta2

    Runing executable

    I would like to run an executable file from a different directory. I have used the following command call runqq('myprog.exe','c:\program\') this program is located in different folder. When the program starts it askes me some files to be read in the current directory but those files are...
  3. fanta2

    Fortran code recording

    I have got a fortran code with CVF which I want to work with my friends ... so that every change by any user will be recorded and logged ... we work on different computers in a network ... which control system can be used in windows environment .... I appreciate any suggestion!
  4. fanta2

    Allocatable array as argument in F90

    This is an extension of my previous post - passing allocatable array between subroutines...thanks xwb for that! I have an allocatable array (assumed shape array) in a subroutine - where it's size determined in the subroutine and I want to use this array in the main program. How can it be done...
  5. fanta2

    Variable size array

    I have an array x(?). I don't know the dimension of the array before hand. While I am going through a loop I know the size. say do i=1, n z = f() if z > 0 then x(?) = z end if end do I want to start x(dimension) = 1 increase every time by 1 like j=0 do i=1, n z = f()...
  6. fanta2

    managing variables

    I have a lot of variables shared by different subroutines. How can these variables managed in a good way in fortran?
  7. fanta2

    Simultaneous equation

    I have pairs of simultaneous equation like: line 1: x2 + x6 = 8.20 line 2: x5 + x2 = 15.18 line 3: x3 + x1 = 12.32 line 4: x2 + x3 = 5.08 line 5: x4 + x1 = 32.34 I am given a value of x1 = 4.6 and I am expected to get the value of other x's. Of course, it is simple, I will get the value of x3...
  8. fanta2

    Sparse LU decomposition

    Can anyone help me please where I can get a fortran code or a text which describes about LU decomposition for sparse matrix in compact storage format? I appreciate any help!
  9. fanta2

    Overflow/Underflow problem

    I was adding the sum of the square of numbers as shown below: do i=1, num myresult = x(i) * x(i) end do However some values of x(i) when squared they become underflow/overflow how can I scale these numbers to get the correct result? Thanks in advance for any help.
  10. fanta2

    Time difference

    How can I determine how much time a programme needs for running? like starttime = day/hour/min . . code . .stoptime= da/hour/min timedifference = stoptime - starttime can anyone help me the effective method to evaluate the time difference?
  11. fanta2

    Type Declaration

    I have a problem I will explain it in simple terms. I have a subroutine (say) which can add two numbers. The two numbers are declared as real in the subroutine. But I want to use sometimes for real number and sometimes as integer. So I declared the actual argument as integer and VF compiler...
  12. fanta2

    Large sparse matrix

    I have a large matrix (360 * 720). Every row has only 11 columns which has a value the others are zeros. The columns whih has a value are determined during run time. How can I store this effectively in a matrix and output them?
  13. fanta2

    PCG solver

    Could anyone help me about the PCG method? I want to know from the basic of this method to writing a code in fortran for solving equations. Both code and explanations are helpful. Thanks in advance!
  14. fanta2

    Opening new file

    I want to open new files named from 1 to 100 e.g. 1.txt, 2.txt, ... I tried the following but no success...can any one help me plz.. do i=1, 100 open (i, File = '//i//.txt') code... close(i) end do
  15. fanta2

    Name of files in a folder

    how can I know the name of the files that exist in the same directory as the fortran exe resides. Any help is appreciated!
  16. fanta2

    how to read different columns

    I have different records having different columns how can i read them in formatted reading. Example 1 2 3 4 (4 columns) 1 23 5 (3 columns) 2 36 58 78 52 (5 columns) I defined the column based on the max column but the read statement reads 0 for unavilable value
  17. fanta2

    Temporary internet files

    Dear folks, I have got a problem.... I watched a music video and i was interested to save it to my hard disc. But it saves only the short cut. Hence, i searched to temporary internet file. I found the same file name but not a video file, surface worksheet file. When i open the surface worksheet...

Part and Inventory Search

Back
Top