CNRS Centre National de la recherche scientifique IN2P3 CNRS


On this website

On the whole CNRS Web

HomeGeant4 Virtual Machine

- Shortcut: download the 10.4+P02 Geant4 virtual machine files here.

Since 2004, the Centre d’Etudes Nucléaires de Bordeaux-Gradignan, a CNRS/IN2P3 - Bordeaux University laboratory, is happy to provide free of charge and licensing to Geant4 users a Geant4 virtual machine, that is a set of files that can be used with a virtualization software (tested so far on VMware Workstation Player for Windows or VMware Fusion for Mac or VirtualBox), containing the latest version of Geant4 with CentOS as well as several utility packages (visualisation, analysis, development, ...) already installed in a fully operational environment for your system (CD-ROM, display, cable & wireless network,... no system installation required at all). Once fully decompressed, these files can be read directly by your virtualization software : launch the virtualization software, open the decompressed files and you will emulate a real CentOS Linux machine with the latest supported version of Geant4 already installed including several useful tools !

New releases of the Geant4 virtual machine are announced regularly on Twitter. Follow us with Twitter on Geant4VM.

JPG - 2.4 kb

- Reference

Important notice: users are kindly requested to cite the following paper in their publications and communications describing research or teaching activities based on the use of this virtual machine: Int. J. Model. Simul. Sci. Comput. 1 (2010) 157–178 (link)

- What is included ?

The distribution contains the following software already fully installed for you :

- System minimum requirements

  • Windows or Linux users : desktop or laptop PC running Windows or Linux with a virtualization software installed
  • Mac users : desktop or laptop Mac running Mac OS with a virtualization software installed
  • at least 2 Go of RAM for the PC or Mac
  • 30 Go of free disk space available

- How to get the files ?

1. Read carefully the following README file. You may also find interesting information in the History file.

2. Make sure to have a virtualization software, such as VMware Workstation Player for Windows or VMware Fusion for Mac or VirtualBox.

3. According to your virtualization software, download and uncompress the following compressed file (download the .7z file and uncompress it). This is an anonymous FTP (select "Guest" if asked). Mac users may use the Chrome browser if they encounter difficulties with the download. The total compressed file size is about 9 Go and reaches 30 Go when fully decompressed. Under Windows, one can uncompress using the 7-Zip software . Mac users shall use the Unarchiver software.

4. Open the uncompressed file having the .vmx extension using the virtualization software (menu File and then Open) and play the virtual machine. Respond that you have copied the machine if asked. You get access to a fully functional Linux machine on your Windows PC or Mac.

6. Previous Geant4 versions remain available from this link.

- Hints

  • Depending on your country, you may need to change your keyboard settings. From your Linux virtual machine, click on the local1 ID on the top right corner, select Settings, then Region & Language. Then select your keyboard.
  • You may also want to change the default language, in particular for menus. For this, simply proceed as above and select Language.
  • The default username account is local1 and it has the same password (see README file above at item 1).
  • You can configure entirely by your own your virtual Linux machine as root. The root password is centos7.
  • You may define an exchange directory between your Windows or Linux default installation and the Linux virtual machine containing Geant4 in the VM menu; for example, for the VMware software, do as follows :
    • Go to the Virtual Machine menu, select Virtual Machine Settings, then Options, Shared Folders, make sure the "Always enabled" option is selected, then select Add to chose a host path for a folder and give it a name like "SHARE", click Finish, then you should see the name of this directory appear in the "Host Path", then click OK
    • Under your Linux session, your exchange directory is located at /mnt/hgfs/SHARE
    • If this does not work, you may need to reinstall VMware tools from the Virtual Machine menue
  • You may increase the memory size of your virtual machine, especially if your PC has a large memory size available ; for example, to do so with VMware, simply go to the Virtual Machine menu, select Virtual Machine Settings, Hardware and select the memory size you need.
  • If your machine is equipped with two processors (or more), you may choose the number of processors in the Virtual Machine menu (in the case of VMware), select Virtual Machine Settings, Hardware.
  • You may change Geant4 environment user variables by adding a .ucshrc file located in the directory /home/local1. By default, the following variables have been set to 1 : G4UI_USE_TCSH (for User Interface), G4UI_USE_QT (Qt interface) and G4VIS_USE_OPENGLX (for Visualization).
  • You may create a new disk in your virtual machine in case you need more space for your data. All instructions are given in the above cited README file.
  • You can start OpenOffice with the soffice command
  • Here is a text file for useful key combinations if you are using a Mac

- Encountering difficulties

  • On Mac, you may encounter download troubles if you use Safari (your downloaded archive may have a too small size and you will not be able to uncompress it); in that case, we suggest to use Chrome or Firefox instead.
  • Make sure to use the latest version of the virtualization software.
  • Under Windows, you may encounter problems if the disks (internal & external hard drives, USB keys...) where you uncompress your files have been formatted in the FAT32 format. Use NTFS formatted disks only (same remark for USB keys - see for e.g. this link for Mac).
  • If you do not have network access on your virtual machine, you may try to remove as root the following file /etc/udev/rules.d/70-persistent-ipoib.rules and reboot your machine.

- Statistics

The download statistics are shown below.

Locations of visitors to this page

- Acknowledgments

These files are kindly provided by Catherine Seznec, Isabelle Moreau and Sébastien Incerti at the Centre d’Etudes Nucléaires de Bordeaux-Gradignan. Suggestions are welcome.

Last update on September 7, 2018 by Sébastien Incerti.

Documents joints

keys (46 bytes)