DFPORT has lots of functions - is there any particular one you wish to use? It has Bessel functions, date/time routines, file access, processes, sorting etc.
Also worth searching for PORTLIB if you have powerstation 4, or IFPORT on the later Intel compilers.
program main
use dfport
implicit none
print *, 'Sleeping for 10 seconds'
call sleep(10)
print *, 'Awake'
end program main
To link you need libF90.lib and libPEPCF90.lib. You really need to tell us what you want to do with it. Nobody is going to invent a program with calls to over 50 functions ranging from Bessel functions to sorting, incorporating all the functions in dfport.
I am trying to calculate the integral of sin(x) from 0 to pi, using Monte Carlo. I want to call ran() or some rotine of the Numerical Recipes such as ran0.f90, ran1.f90 and so on.
If you are using Fortran 90, then why not just use the standard random number generator that comes with the compiler. That way, your programs will be portable across systems.
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.