What is FLUKA-LIVE (Avishay, NMCRC, Israel)

FLUKA-LIVE is an Embedded Framework which allows a PC to execute FLUKA under the control of a LINUX OS. In practice it is a Linux-based OS framework, integrating the FLUKA software, all written into a bootable CD-ROM. It produces a complete environment which allows edit, link and run FLUKA routines without the need to install a UNIX/LINUX operating system.

The system can be operated on any i386 PC as long as it can boot from a CD.

On boot-up a file system will be created and the contents from the CD will be uncompressed and completely loaded into RAM. At this point the CD can be removed for use on a second computer.

This project consists of a "behind-the-scene" assembly of all of the required software and abilities for the target application: access to hardware, memory management, a file system, C libraries (bootstrap applications not necessary for FLUKA), FORTRAN 77 libraries, FORTRAN 77 compiler, a shell, and various utilities for mounting devices, file manipulation, searching, archiving, editing, and others.

The main building blocks are:
1. the Linux kernel – version 2.6.18.2
2. gcc – C compiler – version 3.4.3
3. glibc – C core libraries – version 2.3.4
4. binutils – core development utilities – version 2.15
5. Busybox – common UNIX utilities – version 1.2.2.1
6. BASH – Shell software – version 3.2
7. FLUKA – version 2006.3



Using FLUKA-LIVE

The user has to burn the iso image of the FLUKA-LIVE release onto a CD. Then FLUKA-LIVE is started according to the following steps:
1) Power on the PC
2) Enter the CD to the CDROM drive
3) Select the boot sequence in the BIOS and activate booting from CDROM
4) The framework OS loads into RAM
5) Wait for shell Prompt
6) Start production (the CD can be ejected)
At this point a bash shell enviroment is ready for the user. A $FLUPRO directory is already available. In order to use FLUKA it is possible to create a directory. For instance:

mkdir /test
cd test

There one can edit (using vi) an input file and, if needed user routines. FLUKA can then be compiled and run according to the standard procedures described in the FLUKA manual.

To import external files (input, routines, etc.) and to export FLUKA a removable USB device can be used. After plugging the USB:

mkdir /usb
mount –t vfat /dev/sda /usb
cp /test/example*fort.* /usb/test/.