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 strongm 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. robinav

    need help with file handling

    Hi, It is not clear because of wrap(?) whether the date and time are always present on every line, or whether the time is at the end or the beginning of a line. Please would you clarify.
  2. robinav

    Simultaneous equation

    The array elements should be in a matrix, not a vector. The constants (right-hand sides) can remain in a vector.
  3. robinav

    gfortran

    I suggesting that you try to compile a "hello world" program to ensure that the installation is correct.
  4. robinav

    Fortran character set

    In your list, ** is not a character. It is made up of two asterisks. I think that your arithmetic is incorrect, unless you are counting upper-case letters also.
  5. robinav

    Matrix direct sum

    That is not a "sum" of matrices. You need to define one large array that will accommodate all the elements that you want. Then for each little matrix, you write: x(1:m,1:n) = a where a is dimensioned as a(m,n) for the first little array, x(m+1:m+q, n+1:n+r) = b (where b is dimensioned as...
  6. robinav

    How to save the original variable in a subroutine?

    It seems to me that you wish to save the contents of a variable. To do that, just assign its value to another variable. The SAVE statement does something quite different. It causes tha values of a variable to be retained even though the procedure in which the SAVE statement exists terminates...
  7. robinav

    counterpart of "dble" in real*16 data format

    DBLE is intended to just that - convert the argument to double precision. To convert to quad precision, you use the fnction REAL with the KIND argument specified.
  8. robinav

    problem handling big real numbers

    The problem is that the integers that you have in your code have too many digits for most systems. The largest integers are typically 2147483647. To enter your number in the program, you need to write: 1329527587452d0 and 789000066068d0 and they then become double precision. The division can...
  9. robinav

    getting weird error message on executing my program

    This description is not much help without declarations and the relevant code. It sounds like you have a subscript error (if you are using arrays).
  10. robinav

    Problem reading blank variables

    You need to include all the declarations.

Part and Inventory Search

Back
Top