1.4. Starting flair

1.4.1. Command line options

Usage: flair [options] [filename]...

Options:

-1

Load the first flair file in the folder

--compile

Compile executable

-c # | --convert #

Convert to simulation mode

-d

Activate the beta-development features

-D

Deactivate beta-development features (default)

--data #

Process/Merge the data files of all or specific runs (no default) Accepts patterns or comma separated names e.g. * or foo* or foo,bar*

--exe file

Fluka executable. (default: {FlukaDir}/bin/fluka)

-h|-?|--help

print this help page

-i/--ini file

Alternative configuration file (default: $HOME/.flair/flair.ini)

-l | --list

List recent projects

-m #

Force mode of new project/input Accepted types: fluka, moira, mcnp, phits

--noansi

disable ansi coloring on dumps

--nocleanup

disable cleanup of temporary files

-p

enable profiling

-P

disable profiling (default)

--page #

Start flair in specified page

--plots

Do all plots and save the files

-r|--recent

Load most recent project

-R #

Load recent project (number 1..10 or filename)

--run #

Start runs given as (name, pattern or a comma-list of runs)

-s

Skip About dialog

-u | --update

Recalculate and save input file variables

-v | --verbose

Increase verbosity level by one

-V

Decrease verbosity level by one

filename[s]

flair project, input, imported files or directory automatically detect type from file extension extensions supported:

<none|.flair>, .inp, .fluka, .moira, .mac[ro], .gdml .mcnp, .m, .phits, .pht, .pickle

Environment variables:
PYTHON

Set this variable only in the case a different python installation is needed. The variable should point the python (V3) executable

1.4.2. Desktop integration

Starting flair:

  • From the Programs Menu

    • Click the flair icon from the programs menu. Flair is registered under the Science/Physics category

      Note

      freedesktop decides where to place this category based on your linux distribution and window manager (gnome/kde…)

      Typical places:
      • Applications

      • Edutainment

      • Edutainment / Science

      • Scientific

      • Other

  • From File Window Manager (only via RPM or DEB installation): Flair makes an association of the following extensions:

    • flair.gif *.flair

    • input.gif *.fluka, *.inp

    Double click the icon and the program will start

  • From Console

    Type the command /usr/local/bin/flair It is recommended to place in your ${PATH} the /usr/local/bin directory inside the .login, .profile or .bash_profile depending the shell you are using

    csh/tcsh: in the ~/.login add the line

    setenv path (/usr/local/bin)

    sh/ksh: in the .profile add the line

    export PATH=$PATH:/usr/local/bin

    bash: in the .bash_profile add the line

    export PATH=$PATH:/usr/local/bin

Programs:

Flair will install the following programs located in the /usr/local/bin/ directory

flair:

flair program

fm:

FLUKA manual

pt:

Periodic Table

fless:

Fluka output viewer