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

    Some help with a Fortran source code

    Your equation seems to be the final product (explicit solution) after you have substituted the finite difference form into the PDE. If that is the case you have to just calculate Ui+1 from an initial condition of Ui.
  2. fanta2

    Printing on screen

    Thanks again gummibaer but it really needed a lot of preparation compared to the old usage.
  3. fanta2

    Printing on screen

    Thanks gummibaer for the explanation. '+' doesn't seem to work in F90.
  4. fanta2

    Printing on screen

    Thanks guys! The $ sign seems to work for me. Is it not a standard feature. Gummibaer: The bsp variable seems to return the position of the cursor to the beginning. Your second alternative is awsome although it uses dfwin. It is not standard right? mikrom and gullipe: I will check the plus +...
  5. fanta2

    Printing on screen

    Thanks mikrom. Sleep didn't help it too.
  6. fanta2

    Printing on screen

    Thanks salgerman! Sure I havenot changed the last * but didn't help too. Generally, there is no effect in using * or 6. Again thanks anyway the isue might be in the compiler then.
  7. fanta2

    Printing on screen

    program pp use dflib character*14 bsp do i = 1,14 bsp(i:i) = char(8) end do do i = 1, 99 write(6,"(a14,a11,i3)",advance="no") bsp,"values are ", i CALL FLUSH (6) do j = 1, 10000000 !aa = cos(real(j)) end do enddo...
  8. fanta2

    Printing on screen

    I have used CVF in Windows XP to compile the code as is. It takes a while without printing anything and then finally prints 'values are 100'. I have used Flush(6) just after the first write line and it didn't help.
  9. fanta2

    Printing on screen

    Thanks xwb and gullipe - I want to make the F77 functionality of '+' in F90. Salgerman - thanks for the idea though it didn't work. It just prints the last value - in that code the result is "values are 100". It doesn't show the intermediate values. The j loop is supposed to delay the process...
  10. 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)...
  11. fanta2

    Max Value of Array

    Indeed you can explore maxval intrinsic function. If you store the values of your array in YUHALf then maxval(YUHALF) can give you the max. value. You might use the maxloc function also to know the location of the maximum value.
  12. fanta2

    Runing executable

    Thank you guys for all your answers! I will try to make it work.
  13. fanta2

    Runing executable

    Thank you GerritGroot!! I have the source file of this executable. It has a lot of subroutines and moduels and it's some how time consuming to change it to a subroutine to call it in the program. That's why I just want to call it as an executable file for a data in a different folder. The...
  14. fanta2

    Runing executable

    Thank you guys for your replies. i=SYSTEM('myprog.exe') gives me the error that it couldn't find the input files. But this ones i=SYSTEM('myprog.exe < .\MyFolder\inputfile.dat') this one doeesn't give error and it doesn't work at all. As I see it "<" is not working at all. Is there a way to...
  15. fanta2

    Runing executable

    GerritGroot .. thanks for your reply. You have correctly understood my question. I couldn't solve the problem based on your suggestion. The program reads the input files from the same folder as the program. It is already specified in the program. It has more than one input files to read. Could...
  16. 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...
  17. fanta2

    Simultaneous equation

    Thank you for your sugesstion. I have solved that problem using different approach ... from the functional relation of the matrix x - I am able to sequentially substitute the x's.
  18. 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!
  19. fanta2

    Allocatable array as argument in F90

    Thanks xwb it works! I have modified it a bit and it is okay.
  20. fanta2

    Allocatable array as argument in F90

    Thanks xwb!!! Regarding the mainmax = 10 ... is that I have to know the maximum before hand?

Part and Inventory Search

Back
Top