[f2py] silly fortran question

Chris Fonnesbeck fonnesbeck at gmail.com
Thu Nov 10 18:10:51 EET 2005


I know this will be a dumb question for those who know more about
fortran than I do, but how come the following warning is occurring in
my f2py module:

PyMC/flib.f:1: warning:
         function rand()
                  1
PyMC/flib.f:105: (continued):
           u = rand()
               2
Same name `rand' used for intrinsic at (2) and global at (1) [info -f
g77 M INTGLOB]

I simply have a wichmann-hill random number generator that I call
rand(), and I call it in another function further down in the code. Am
I missing something here? Is a random number generator already built
into g77?

Thanks,
--
Chris Fonnesbeck
Atlanta, GA



More information about the f2py-users mailing list