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

    getting weird error message on executing my program

    I checked my codes again and you are right i wrongly assigned 1000 as dimension of one of the arrays (it should be 1500).after making the change my program ran without error. thanks for the advice. it was a big help vibhava
  2. vibhava

    need help with file handling

    i got the solution to this problem (through other members on this forum).thanks vibhava
  3. vibhava

    getting weird error message on executing my program

    hi, i have written a program that perform certain task within a loop. in the start it ask for starting and ending number to get the initial and final value for the loop and then run the loop. when i am running the program from 1 to 1000 it is giving me desired output but when i am running it...
  4. vibhava

    problem handling big real numbers

    no my final answer will be 0.593443922 (using a calculator for the above given two values). my prblem is that i have defined above two numbers as Integer (kind = i8) where i8=8 to handle such a big value. however when i am dividing them and storing the result into a real variable i am getting an...
  5. vibhava

    problem handling big real numbers

    hi, yesterday i got the answer for how to handle a big integer. today i am having problem with real number. i have written a code which in the end gives me two big integers for example: 1329527587452 and 789000066068 i need to get the ratio of these 2 number (number 2 divided by number 1)...
  6. vibhava

    problem handling big numbers

    I was finally ablr to understand how to do it. Thanks for your help guys!! vibhava
  7. vibhava

    problem handling big numbers

    hi, i have a problem exactly similar to "eikenhorst" (latest post on this forum). but i am not an expert in FORTRAN programming so i was not able to understand the suggestion properly.In my problem i need to define 3 parameter values so that i can use them later in my program. these values...
  8. vibhava

    trying to save a matrix

    hi, i wish to save a 250rows x 2557columns matrix that i am getting at the end of my program to a .csv file. e.g. I get a file xyz(250,2557) but when i am trying to write it in a .csv file using "write" statement all the columns are being written one below the other (instead of being written...
  9. vibhava

    joining 2 strings

    thanks it worked
  10. vibhava

    joining 2 strings

    hi, I am trying to join two strings and facing a strange problem. My codes are: Program Read_result Implicit None character*6::d,filename character*19::file Integer::c,e c=1 write(d,'(I1)') c filename = 'run'//d file='\reach000034_33.csv' open(18,file='C:\WAMView\bnz\WAMSA\'//filename//file)...
  11. vibhava

    need help with file handling

    hi, I have been trying this for some time with no results at all. I need to write a program that opens and reads a .csv file and then copies 1 column (out of many columns) at a new file (which can be .csv or any other format accessible through excel). The problem is the first row of the .csv...
  12. vibhava

    It worked but not completely

    hi, yesterday i got a suggestion about writing column data (post named" help in reading and writing column data" Following the tip i got i looked for the previous article and i thin ki found one which was good for me. but i am still having small problem: the code i used is exactly the same as...
  13. vibhava

    help in reading and writing column data

    hi, I have two text files: file 1 is shown below.It has 50 columns each column having different number of datapoints 10 20 30 40 10 20 30 40 10 20 30 10 10 20 10 05 10 20 05 10 10 10 10 10 File 2 currently look like this: 45 45 10 Now what I want to do is Step 1: Start a loop from n = 1...
  14. vibhava

    need to create multiple folder using a loop

    thanks for your help. it worked
  15. vibhava

    need to create multiple folder using a loop

    one last small thing that i want to do: i want to creat different folders to save these files. the steps i want to follow are; step 1: start a loop from 1 to 50 (n) step 2: create a folder named run(n) example if n = 3 it should make three folders run(1),run(2),run(3) right now i am trying the...
  16. vibhava

    need help in copying .csv format file

    thank you so much for your help. it worked
  17. vibhava

    need help in copying .csv format file

    hi, i need to write a code that copies uotput of my model at some other folder. I need to do this because i need to run my model for 50 time and want that all the results are (for 50 runs) are stored in a separate folder for analysis.The excel file is in .csv format. all i need is to copy it...
  18. vibhava

    need help in executing my FORTAN program

    Thanks for your reply, I tried to debug the program and got a way to bypass the situation. however, i would like to know how to do it properly. my code is given below. While writing in unit 15 (timedelay.in file) if i define few other things like, status,action,IOstat i get the error that please...
  19. vibhava

    need help in executing my FORTAN program

    hi, I have two text files. Both files are store in the same folder in C drive along with my program. File 1 have 50 rows , each having 4 different values. File 2 is an already existing file with a list of parameter value for one of a model written in FORTRAN. Now what i am trying to do is: Step...

Part and Inventory Search

Back
Top