Hi
Thanks very much for the input. I use the CTime() throughout the code to time sections executions and the compiler also report them as error. I also use the following function to get a random number
Call random_number(Constant)
and that also return as error. That is why I thought I might...
Hi
I started to use Code::Block IDE to write and compile my fortran code recently. I was able to successfully compile and run a code and obtained results.
This past week end I had to remove some programs on my laptop because it was getting full. When I came back to my code and recompile it I...
Hello
Thanks for the help. I wrote the following two function that work fine for what I wanted to do - so far. I would like to share them just in case someone is looking for such functions:
program conversiontest
implicit none
character(Len=20) :: Int2Str, TmpStr,Int2StrwFrmt
TmpStr...
Hi
Thanks that was simple enough. it works fine when removing the quotes.
As far as having leading zeros: I was able to use for example "I8.8" and it displayed the leading zero's. Would that work her???
Hi
I have used FPS 4.0 for along time. I ran into some problems in the program I am writing for my research and just decided to switch to gfortran because its more recent and I can use a newer debugger. I found Code::Block IDE that utilize gfortran as compiler and GDB as a debugger. It was...
Hi
Thanks for your input.
1) In response to "gummibaer (Programmer)"
I did use the print statements as you mentioned earlier. I have so many variables that lookup and compute each time. And I need to run the same senario several millions of times. Writing to file (choose seperate files since...
Hi
First of all thank you guys for your input regrading my question. I do not Think I can thank you enough for your comments. I have been working for a while without help and a friend of mine suggest that I use your forum. I am not sure what is "code tags" or how to use it. And this is my first...
Hello
Thanks for the replies. The code is over 5000 lines. I an pasting the parts that I think is causing the error message.
In put file:
################################################################################
Material = Dry_Air
Material-Dry_Air|Probability [fraction (0-1)],Heat XS...
Hello
I am writing a monte carlo simulation fortran 90 code. The code reads data from a file then uses these data to simulate particle transport in a meduim using random number generator. I am using fortran power station 4 (old compiler) given to me by my professor so help is limited.
The code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.