# No Random file available

**URL:** <https://fluka-forum.web.cern.ch/t/no-random-file-available/335>\
**Category:** Running and Runtime Errors\
**Created:** [5 March 2020 07:13 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335 "2020-03-05T07:13:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaoman.li](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/x/e9bcb4/32.png) [@xiaoman.li](https://fluka-forum.web.cern.ch/u/xiaoman.li)\
**Post date:** [5 March 2020 07:13 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/1 "2020-03-05T07:13:53Z")

</div>

Dear fluka experts,  
When I run an .inp file in Flair, the first cycle is normal, but the second cycle occured an error as follows:  
\*\*\*\* No Random file available !!! \*\*\*\*  
Abort called from FLRM64 reason NO RANDOM FILE Run stopped!  
STOP NO RANDOM FILE  
I don’t find any error in the geometry. Could someone help me? Thanks in advance!  
Xiaoman

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [5 March 2020 07:27 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/2 "2020-03-05T07:27:38Z")

</div>

Dear Xiaoman,

this error message tells you that the previous cycle didn’t finish successfully.

The reason can be found in the **.err** , **.out** or **.log** files of your first cycle.

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![xiaoman.li](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/x/e9bcb4/32.png) [@xiaoman.li](https://fluka-forum.web.cern.ch/u/xiaoman.li)\
**Post date:** [6 March 2020 07:22 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/3 "2020-03-06T07:22:24Z")

</div>

Dear David,  
I cann’t found the error in my .inp file. I attached the relevent file[12C6 IRbrain.flair](https://fluka-forum.web.cern.ch/uploads/short-url/pZBHsf1G8UYwFeWCkv7W7Ng4ESA.flair) (13.6 KB) . Could you help me revise the .inp file? Thanks in advance!  
Xiaoman

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [6 March 2020 07:51 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/4 "2020-03-06T07:51:43Z")

</div>

Dear Xiaoman

1. There is “space” in the file name of the Flair project and the input file, which confuses Flair.
2. It seems that you still using the Flair version 2. Only version 3 is supported here. Please update to the latest version. See: [http://flair.web.cern.ch/flair/](http://flair.web.cern.ch/flair/)
3. Since version 2 Flair project files doesn’t contain the FLUKA input. I can’t check it for errors.

Kind regards,  
David

---

<div class="post-metadata">

**Author:** ![xiaoman.li](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/x/e9bcb4/32.png) [@xiaoman.li](https://fluka-forum.web.cern.ch/u/xiaoman.li)\
**Post date:** [6 March 2020 09:05 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/5 "2020-03-06T09:05:32Z")

</div>

Dear David,  
Thanks for your suggestion! I have update to the latest version Flair 3.0-7. I attached the relevent file[12C6IRbrain.inp](https://fluka-forum.web.cern.ch/uploads/short-url/3ts2wOdOZhSpiAB3HdjI16jBcDK.inp) (48.6 KB) .when I run the file, which can finished. But there has .err file[12C6IRbrain001.err](https://fluka-forum.web.cern.ch/uploads/short-url/mmBBtmn8w6t1Xg6nCOHPpqS9AGj.err) (22.6 KB) produced by fluka. I cann’t find where the error is. I want to know where the error in the .inp file is? Could you help me revise the .inp file? Thanks in advance!  
Best Regard  
Xiaoman

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [6 March 2020 09:42 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/6 "2020-03-06T09:42:30Z")

</div>

Dear Xiaoman,

The error file file you attached doesn’t show any problem. Could you send the **.err** , **.out** and **.log** files for the first and second cycle as well?

Unfortunately, I can’t run your input file, since I don’t have the voxel geometry you are using.

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![xiaoman.li](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/x/e9bcb4/32.png) [@xiaoman.li](https://fluka-forum.web.cern.ch/u/xiaoman.li)\
**Post date:** [6 March 2020 11:17 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/7 "2020-03-06T11:17:55Z")

</div>

Dear David,  
I have sent the **.err** , **.log** files for the first and second cycle to you[12C6IRbrain001.err](https://fluka-forum.web.cern.ch/uploads/short-url/mmBBtmn8w6t1Xg6nCOHPpqS9AGj.err) (22.6 KB) [12C6IRbrain001.out](https://fluka-forum.web.cern.ch/uploads/short-url/8LMxc8H1Tm7UKyRFdIO4nHTEeAF.out) (1.9 MB) [12C6IRbrain002.err](https://fluka-forum.web.cern.ch/uploads/short-url/hCWUXJ4YuGlc2Z58gHraWWx08vM.err) (22.4 KB) [12C6IRbrain002.out](https://fluka-forum.web.cern.ch/uploads/short-url/7bPCkjsZkocHtzlhMDOai528rnk.out) (1.9 MB) .The out file is empty. Since the Upload menu doesn’t support .vxl file, I cann’t upload my .vxl file.

Cheers,

Xiaoman

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [6 March 2020 11:29 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/8 "2020-03-06T11:29:31Z")

</div>

Dear Xiaoman,

From the files it seems that both cycles finished successfully, but there was a problem with the usrbin results.

In your input file you mix the _ascii_ and _binary_ formats for the same **Unit** , which is not allowed.

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![rversaci](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@rversaci](https://fluka-forum.web.cern.ch/u/rversaci)\
**Post date:** [23 June 2020 12:22 UTC](https://fluka-forum.web.cern.ch/t/no-random-file-available/335/9 "2020-06-23T12:22:54Z")

</div>


