[LON-CAPA-admin] Random seed issue

H. K. Ng hkng at fsu.edu
Mon Apr 1 07:03:33 EDT 2019


Funny that I got a similar message this morning for one of the problems. See below.

Regards,
-hk

 Usage: random_set_seed(@seed)
@seed[0,1] must be two integers in the range (1,1) to (2147483562,2147483398)
and usually comes from a call to random_get_seed() or
random_seed_from_phrase($phrase). at /usr/local/lib64/perl5/Safe/Hole.pm line 68.
This occurred while running:

$num=&random(1.,9.,.05);
$rand=&random(1.,9.,.05);
$freq=$num*1.e+06*3.e+08/2.;
$b=$rand*1.e+02/3.e+08;

On Sun, Mar 31, 2019 at 11:39 AM Lucas, Mark <lucasm at ohio.edu<mailto:lucasm at ohio.edu>> wrote:
I have a problem that has never really caused grief through the following error:

Usage: random_set_seed(@seed)
@seed[0,1] must be two integers in the range (1,1) to (2147483562,2147483398)
and usually comes from a call to random_get_seed() or
random_seed_from_phrase($phrase). at /usr/local/lib64/perl5/Safe/Hole.pm line 68

I don’t have any word of other issues.

Any thoughts as to what is going on?

Mark
--
Mark Lucas                                                              email: lucasm at ohio.edu<mailto:lucasm at ohio.edu>
252D Clippinger Lab                                             phone: (740)597-2984
Department of Physics and Astronomy                     fax: (740)593-0433
Ohio University
Athens, OH 45701

_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org<mailto:LON-CAPA-admin at mail.lon-capa.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__mail.lon-2Dcapa.org_mailman_listinfo_lon-2Dcapa-2Dadmin&d=DwIGaQ&c=HPMtquzZjKY31rtkyGRFnQ&r=wTSZ5EgyXvEFGuAc4iHTrg&m=3KwlTVfCkq_creha9Xcc8QaZ3pRAPmS-PZJvxB3lEzQ&s=ZvIU4r_LkMwR5bgCKZOqtAr0Y8miFzpYe1HFRecvnRA&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-admin/attachments/20190401/c0647745/attachment.html>


More information about the LON-CAPA-admin mailing list