Shortcut: download the Geant4 virtual machine files here.
VMware has developed a software allowing to run on a unique machine (desktop, laptop) two operating systems simultaneously. For example, it allows you to run a “virtual” Linux machine under a classical Windows PC or under a Mac. Since 2004, the Centre d’Etudes Nucléaires de Bordeaux-Gradignan, a CNRS/IN2P3 - Bordeaux 1 University laboratory, is happy to provide free of charge and licensing to Geant4 users a Geant4 virtual machine, that is a set of files for VMware Player (for Windows or Linux PCs) or for VMware Fusion (for Mac), containing the latest version of Geant4 with Scientific Linux 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 VMware software : launch VMware Player (or VMware Fusion) on your Windows or Linux PC (or Mac respectively), open the decompressed files and you will emulate a real Scientific Linux machine with the latest supported version of Geant4 already installed including several useful tools !
Note that this Geant4 virtual machine is also compatible with the VirtualBox software, which can run on Windows, Linux, Mac, and Solaris hosts. However we do not provide specific support for this software.
New releases of the Geant4 software suite for VMware/VirtualBox are announced regularly on Twitter. Follow us with Twitter on Geant4VM.
System minimum requirements
- Windows or Linux users : desktop or laptop PC running Windows or Linux with the VMware Player software installed (free software)
- Mac users : desktop or laptop Mac running Mac OS with the WMware Fusion software installed (limited free trial)
- at least 1 Go of RAM for the PC or Mac
- 15 Go of free disk space available
- a screen resolution of 1280 x 1024 (may be changed with root privileges)
What is included ?
The distribution contains the following software already fully installed for you :
- Operating system : Scientific Linux 5.8, 32 bits and 64 bits versions
- Geant4 version 9.6+P01 with all sets of data files, including CLHEP and Mesa. Please note that Geant4 BETA versions are never installed since they are not supported by the Geant4 collaboration.
- Visualisation tools : Qt, OpenGL, HepRApp, DAWN, WIRED, VRMLView Pro
- Analysis tools : ROOT, OpenScientist (allowing you to create hbook/PAW, ROOT and AIDA histogram files in Geant4 applications), gnuplot
- Integrated development environment : Source-Navigator IDE
- Debugger : ddd, Insight
- Other utilities : Doxygen, Firefox, Gimp, OpenOffice, Python, Thunderbird, Valgrind, Xemacs, ...
How to get the files ?
2. If you are using a PC running under Windows or Linux, make sure to download and install the last version of the VMware Player software (free software)
3. If you are using a Mac running under Mac OS X, download and install the last version of the VMware Fusion software (available for a 30 day free trial)
4. Download and uncompress the following compressed files (choose the 32 bits or 64 bits version, download all the files and uncompress them all in a same directory). This is an anonymous FTP (select "Guest" if asked). Mac users may use the free Cyberduck software if they encounter difficulties with the download. To uncompress under Windows, we recommend the usage of 7-Zip. To uncompress under Mac, we recommend the usage of the Unarchiver, freely available from the AppStore or from this link. The total compressed files size is about 7.3 Go and reaches 20 Go when fully decompressed.
5. Open the uncompressed file having the .vmx extension using the VMware 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.
- Depending on your country, you may need to change your keyboard settings. From your Linux virtual machine, click on the System tab (top of screen). Select Preferences, then Keyboard, then Layouts tab and select your keyboard.
- 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 scilinux5.8.
- You may define an exchange directory between your Windows or Linux default installation and the Linux virtual machine containing Geant4 in the VM menu; do as follows :
- Open the VMware player application
- 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
- You may increase the memory size of your virtual machine, especially if your PC has a large memory size available ; to do so, simply go to the VMware Player 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 VMware Player Virtual Machine menu, select Virtual Machine Settings, Hardware. For older versions of VMware Player, you may add the ’numvcpus = "2"’ (or more) option to your *.vmx file.
- 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 G4VIS_USE_OPENGLX (for Visualization). In order to use Qt, add this line to your .ucshrc file: setenv G4UI_USE_QT 1
- 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
- Make sure to use the latest version of the VMware Player or VMWare Fusion 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 eg this link for Windows or this link for Mac).
- If OGLIX visualization windows do not refresh, add ’Option "backingstore"’ to the /etc/X11/xorg.conf file, in the Screen section.
- If you need to change your keyboard permanently, go to the Linux System menu, Administration, Keyboard, select your keyboard. You need to specify the root password.
The download statistics are shown below.
Last update on 13/04/2013 by S. Incerti.