How to deal with fort files and get bnn file?

Dear @liguangru,
yes after the run of Fluka using the command to
/pathtofluka/bin/rfluka -M 5 example.inp, see FLUKA on the command line | The official CERN FLUKA website you will get _fort.nn files for the each spawn of your run and scoring card (e.g. USRBDX) container.

After the finishing of the run _fort.nn files will be moved to the parent directory.
Then there are 2 options

  1. The basic Fluka instrument is usbsuw.f routine, which will help you to access the output data. After running /pathtofluka/bin/usbsuw command you will be asked for the input and output file names. The output file name should represent type of your scoring and container number, e.g. _21.bnn for the USRBDX BIN21 container.
    There is a disadvantage of this method, that you have to do this for the each _fort file.

  2. Another option, if you need to use the command line, but have Flair installed. It is possible to use Flair built-in tool using the command line. In this case it is necessary to use:
    “flair --data run_name.inp project_name.flair” , see F1.2.1} Command line options and relevant discussion Command line data processing
    for the automatic processing and merge of all result files in the folder as it can be done with the interface

Kind regards,
Illia