[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Reading /dev/random



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

Alain EMPAIN wrote:
| If you use a wrapper script to build the command file, it will be easy
| to provide an ever changing random value to the executable if you put it
| inside every job arguments, before the queue command.

Thanks for the hint, but this does not really solve the problem.

Of course there are plenty workarounds to get random numbers, even from
/dev/random - for example I could create a file that contains numbers
from /dev/random, or I could pass the seed as an argument (as you
suggested), or I could use the random() function, etc.

However, this does not really solve the problem that the semantics of
the fread() command is changed by the condor wrapper.

Olaf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCHFZttQ3riQ3oo/oRAic2AKCejf5qTnPG6MDxyw7aLIDqu0IRRwCgmWBG
nVNqC3gkvihHnjmQvrbPbu8=
=OEUa
-----END PGP SIGNATURE-----