File runs in flair but not using rfluka

Versions

Please provide the used software versions.

FLUKA: 4-5.0
Flair:
Operating system: WSL Ubuntu
Compiler:

Description

Hi everyone,

I’m very new to FLUKA/flair so I’ve been adapting an example .flair file from the FLUKA 2025 beginner’s course to fit my purpose. My .flair files seems to run okay in flair, but when I try to run the generated .inp through command line, using rfluka, it returns an error.

In command line:

rfluka -M 5 python_test.inp

Returns the error:

Dir: /usr/local/fluka
Data: /usr/local/fluka/data
Exec: /usr/local/fluka/bin/fluka
Input: /home/jacksonr/python_test2/python_test.inp
Initial seed copied from /usr/local/fluka/data
Running fluka in /home/jacksonr/python_test2/fluka_165378

======================== Running FLUKA for cycle # 1 ========================
Removing links
Removing temporary files
Saving output and random number seed
Error: No ranpython_test002 generated!
Saving additional files generated

The .err file for the run says:

Coalescence activated and beam above BME limit with no rQMD
Execution terminated.

I’m stuck because I don’t understand why the file runs without errors in flair, but not in my terminal.

Thanks,
Ruth

Input files

python_test.flair (6.4 KB)
python_test.inp (3.2 KB)

1 Like

In Flair you use the flukadpm executable, opposite to the standard fluka, this way preventing the reported error message.
When using rfluka instead, you should add the -d option to the same purpose.

1 Like

That worked! Thank you so much, I never would’ve worked that out myself.