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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RANDOM_SEED Failure

Status
Not open for further replies.

19801130

Programmer
Dec 20, 2004
1
US
I'm using SGI Fortran 90 on a SGI IRIX 6.5 machine. I wrote the following lines in my code, which intends to get different results in various runs, but failed:

call random_seed()
call random_number(val)
write(*,*) val

Could anybody tell me how to fix this problem?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top