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