Thanks for the repply!.
My current program looks uggggggly, as I had to put a huge piece of code in an otherwise smoot main program, . . . nevertheless, I tried to compile with absoft f95, and no good luck either :( , . . . I am curious about what compiler are you using...
fishy
I get this compiler error. I have been trying to implement a simmilar problem with no good prospects, any other hint?.
Regards
fishy
cf90-425 f90fe: ERROR READPOT, File = SRC/jedi.f90, Line = 27, Column = 33
Attributes INTENT and ALLOCATABLE must not appear in the same attribute list.
Hey!, I just learned the built in fortran random subroutine is pseudorandom,
thanks for the help tough!,
The best approach is to build onew own random generator!
fishy
I am trying to produce random numbers by using the FORTRAN commands:
call RANDOM_SEED(DATE_TIME(8))
call RANDOM_NUMBER(HARVEST=X)
but each time i run the program, I get the same set of numbers, any idea how to produce different set of numbers at every time?
Fishyiger
Hey thanks for your Repply, both xwb and flav256!!,....I had decided to make a rondeavouz and code the program diferently....It seems that the problem I had, has to do with initialization of variables.
character(len=2) :: symbol=''
double precision, dimension(3) :: r=0.0d0
double precision...
I am writing an aplication where I have to pass a TYPE variable to a subroutine, but my code gives me a " More than one part reference of this data reference has a rank greater than zero." which sucks. Somehow I am able to use this in the main program but not in subroutines!, help!
...
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.