LET scoring error with USRYIELD

I have an Ubuntu 22.04 system, and I want to calculate the Line Energy (LET) of all particles in the center target region of this geometry, specifically: the incident particle is a neutron, and the C1 geometry is set up with a B10-containing material that produces alpha, Li-7, and gamma particles through the reaction of the neutron with the B-10, and to count the LET of these particles at the target. However, I have a problem: when I use USRYIELD, the program reports an error after 1 cycle: FINISHED WITH ERRORS. however, when I use only USRBIN, the program calculates and plots normally, and I have checked the model and there should be no error, I don’t understand what’s the problem, can you help me?
Here are the relevant files:

let.flair (1.9 KB)
let.inp (3.4 KB)



And, gcc,g++,gfortran are all version 9.5.0, the path like " /usr/bin/gcc"

Hello,

I read your message and I am starting to looking into it. Do you have also the output files produced by the simulation?

Thank you very much,
Daniele

Hi,

Couple of comments:

  1. You have not selected the binning structure in usryield in your example. Thats why the simulation is not running.

  2. I see that you both selected -21 as binary output for usryield and usrbin. It would be better if you use different logic output for different scoring.

To correct your usrbin, you would need to change:

 USRYIELD          77  ALL-PART       -21    TARGET    TARGET          Targ
 USRYIELD                                                             3 &

inserting in the continuation card the binning structure you want. Also, you are scoring from target to target region? I suggest for further resources the FLUKA manual and the scoring lecture:
https://flukafiles.web.cern.ch/manual/chapters/description_input/description_options/usryield.html#usryield