by CERN

Advanced graphical user interface for particle simulation programs
◀ Previous   △ Index   Next ▶

[Compile]

 The compile page allows the user to build a fluka executable by
 specifying the necessary user routines, libraries, and the linking
 program to use

 grab-compile-page.gif

 Ribbon
 ~~~~~~
   Executable   Shortcut  description
   -----------  --------  ------------------------------------------
      Save As             Open save dialog to select the name to save the
                          executable

      Remove              Remove the default executable from the project

      Makefile            Export compilation information to makefile


   Files        Shortcut  description
   -----------  --------  ------------------------------------------
      Add        Ins      Open dialog for importing source files or
                          libraries to the create the executable

      Database            Open the "FLUKA User routines" dialog (see below)
                          for selecting and copying to the current directory
                          a FLUKA user routine from the
                          {FlukaDir}/src/user directory

      Database triangle_down.gif          Scans the input file for possible user routines
                          and propose them in a drop down listbox

      Remove     Del      Remove selected files from the list

   View         Shortcut  description
   -----------  --------  ------------------------------------------
      Viewer              Open the selected files in a file viewer

      Editor     Enter    Open the selected files in a text editor

   Action       Shortcut  description
   -----------  --------  ------------------------------------------
      Link                Select a linking program for FLUKA

      Clean               Remove all executable, and object files that are
                          created during the build.
                          It is highly recommended that if you are unsure
                          about the state of the individual files to press
                          always the "Clean" button before the "Build"

      Build    Ctrl-Enter Compile all source files and link the executable.
                          Build operates similarly to unit "make" command.
                          It recompiles the files ONLY if the time stamp of
                          the source if newer than the object that will
                          create. In case of uncertainty please press the
                          Clean button before.

 The main dialog contains the list of files to be used for compiling.
 Accepts the following file types:

      Type       Extension
      ---------  --------------------
      Fortran    .f, .F, .for
      C/C++      .c, .cc, .cpp
      Objects    .o
      Libraries  .a .so

 Right-clicking on the listbox it pops up a menu with the most common
 actions. On the right side the buttons provide similar functionality



 FLUKA User routines Dialog
 ~~~~~~~~~~~~~~~~~~~~~~~~~~
 The following dialog you could select and copy into the project
 directory, the templates of user routines found in the
 {FlukaDir}/src/user directory of fluka.

 grab-user_dialog.gif


 Buttons
 ~~~~~~~
    "Copy to Project"   Copies the selected files to your project directory

    "Scan Input"        Scan the input file for cards that active the call
                        to user routines and select the routines. For
                        example if you have a SOURCE card in your input
                        (even disabled), this button will automatically
                        select the source.f routine

    "View"              Open the selected routines inside the viewer


◀ Previous   △ Index   Next ▶