CNRS Centre National de la recherche scientifique IN2P3 CNRS


On this website

On the whole CNRS Web

HomeGeant4 Virtual Machine

- Shortcut: download the 10.5+patch01 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.

This machine 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.

JPG - 2.4 kb
Follow us with Twitter on Geant4VM.

- Reference

Important notice: users are kindly requested to cite the following paper in their publications and communications if they use our virtual machine for their related research and/or teaching activities :

PNG - 16.5 kb
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 4 Go of RAM for the PC or Mac
  • 2 CPUs (can be modified)
  • 20 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 5 Go and reaches 20 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 power icon on the top right corner, select the settings icon, then Region & Language. Then select your keyboard. You may also consult this page.
  • 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).
  • 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 menu
  • 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) and G4UI_USE_QT (Qt interface) 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.
  • 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 probably need to reinstall VMware tools which depend on the VMware Player / Fusion version you are using.

- 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 23/8/2019 by Sébastien Incerti.

Documents joints

keys (46 bytes)