hi every one,
in a random numbers generation subroutine written with fortran
i get the same random number in each copilation and i want different number in each compilation
to generate differente random numbers each compilation , i have use the function'' init_random-seed()'' but it doesn't works with me
i get :
/tmp/cc4kPuvl.o: In function `MAIN__':
main.f95.text+0x18): undefined reference to `init_random_seed_'
collect2: error: ld returned 1 exit status
does any one know how to fix that?
in a random numbers generation subroutine written with fortran
i get the same random number in each copilation and i want different number in each compilation
to generate differente random numbers each compilation , i have use the function'' init_random-seed()'' but it doesn't works with me
i get :
/tmp/cc4kPuvl.o: In function `MAIN__':
main.f95.text+0x18): undefined reference to `init_random_seed_'
collect2: error: ld returned 1 exit status
does any one know how to fix that?