Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomness #20

Open
thnam opened this issue Sep 6, 2014 · 2 comments
Open

Randomness #20

thnam opened this issue Sep 6, 2014 · 2 comments

Comments

@thnam
Copy link

thnam commented Sep 6, 2014

Looking at the output from one bg4sim, I was kind of worried because of the regularity(?) of the file size:

-rwxrwxr-x. 1 nam nam    1269 Sep  5 00:56 sim_GeCal_Si16p_target_34cm_run1_7.txt.boss
drwxrwxr-x. 6 nam nam    4096 Sep  5 00:56 configure
drwxrwxr-x. 3 nam nam    4096 Sep  5 00:56 macros
-rw-r--r--. 1 nam nam 2066614 Sep  5 01:12 2_job0.raw
-rw-r--r--. 1 nam nam 2066613 Sep  5 01:12 5_job0.raw
-rw-r--r--. 1 nam nam 2066615 Sep  5 01:12 0_job0.raw
-rw-r--r--. 1 nam nam 2066613 Sep  5 01:12 4_job0.raw

Then I compared the histograms from these output files (histogram h01 means subrun 1 of job 0, ...):
rndmchck_prod
It is clear that all subruns in one job give the same result ...
I tried another run, to confirm this:

bg4sim_sub -t sim -b 0 -e 7 -Y GeCallibration Randomness_check

The result looks similar:

[nam@ana2 scripts]$ ll ../output/Randomness_check/
total 3524
-rwxrwxr-x. 1 nam nam   1128 Sep  6 10:55 sim_Randomness_check_0.txt.boss
-rwxrwxr-x. 1 nam nam   1128 Sep  6 10:55 sim_Randomness_check_1.txt.boss
-rwxrwxr-x. 1 nam nam   1128 Sep  6 10:55 sim_Randomness_check_2.txt.boss
-rwxrwxr-x. 1 nam nam   1128 Sep  6 10:55 sim_Randomness_check_3.txt.boss
-rwxrwxr-x. 1 nam nam   1128 Sep  6 10:55 sim_Randomness_check_4.txt.boss
-rwxrwxr-x. 1 nam nam   1128 Sep  6 10:55 sim_Randomness_check_5.txt.boss
-rwxrwxr-x. 1 nam nam   1128 Sep  6 10:55 sim_Randomness_check_6.txt.boss
-rwxrwxr-x. 1 nam nam   1128 Sep  6 10:55 sim_Randomness_check_7.txt.boss
drwxrwxr-x. 6 nam nam   4096 Sep  6 10:55 configure
drwxrwxr-x. 3 nam nam   4096 Sep  6 10:55 macros
-rw-rw-r--. 1 nam nam      0 Sep  6 10:55 sim_Randomness_check_7.txt.bosserr
-rw-r--r--. 1 nam nam 142223 Sep  6 10:56 0_job0.raw
-rw-r--r--. 1 nam nam 142229 Sep  6 10:56 5_job0.raw
-rw-r--r--. 1 nam nam 142219 Sep  6 10:56 1_job0.raw
-rw-r--r--. 1 nam nam 142219 Sep  6 10:56 7_job0.raw
-rw-r--r--. 1 nam nam 142219 Sep  6 10:56 4_job0.raw
-rw-r--r--. 1 nam nam 142219 Sep  6 10:56 6_job0.raw
-rw-r--r--. 1 nam nam 142219 Sep  6 10:56 3_job0.raw
-rw-r--r--. 1 nam nam 142229 Sep  6 10:56 2_job0.raw
-rw-r--r--. 1 nam nam 147597 Sep  6 10:56 0_job1.raw
-rw-r--r--. 1 nam nam 147590 Sep  6 10:56 1_job1.raw
-rw-r--r--. 1 nam nam 147590 Sep  6 10:56 5_job1.raw
-rw-r--r--. 1 nam nam 147590 Sep  6 10:56 2_job1.raw
-rw-r--r--. 1 nam nam 147590 Sep  6 10:56 7_job1.raw
-rw-r--r--. 1 nam nam 147590 Sep  6 10:56 4_job1.raw
-rw-r--r--. 1 nam nam 147590 Sep  6 10:56 6_job1.raw
-rw-r--r--. 1 nam nam 147590 Sep  6 10:56 3_job1.raw
-rw-r--r--. 1 nam nam 143779 Sep  6 10:57 0_job2.raw

rndmchck_check

The conclusion is that all subruns are the same!!!
I will check why it is the case.

@wuchen1106
Copy link

Hi Nam, Can you post the configure files and macros? I want to have a check.
I use bg4sim_sub to generate different random seeds for different jobs. In principle we shouldn't get this regularity...

@thnam
Copy link
Author

thnam commented Sep 8, 2014

Hi Chen,
I was using the GeCallibration script in the alcap-org/commit@8ad84a8c2216e708

bg4sim_sub -t sim -b 0 -e 7 -Y GeCallibration Randomness_check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants