Maura Edelweiss Monville wrote:
There is no GNU Scientific Library which I need. My question for you is: What should I ask this center administrator for ? They are amenable to install some s/w upon user request ... In the case GSL cannot run/be installed then is ther any replacement for a good Random Number Generator that you'd advice ? I like SuSE and am very gratefull to all generous people that have been helping me regularly. The only drawback is when it comes to porting my project to some other platform ...
I think, first, there's a good chance you can get GSL installed. It doesn't depend on nonstanndard libraries and is, in practice, one of the easiest packages to install. I've installed it on solaris and linux without ever finding a missing dependency. If that doesn't work, my suggestion would be to use the gsl code directly in your own code for the random number generators. The easist way would be to copy gsl/rng/gsl_rng.h, gsl/rng/rng.c and any particular rng you need, edit out the stuff you don't need, rewrite the error handling macro and compile directly into your own code. If that's too daunting, I have some C code I wrote that handles one of George Fishman's more robust random number generators and also code for Box-Müller normal variate generators and exponential variate generators. -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.