Skip to content

Docker container to run geant4 and root on windows subsystem for linux (WSL). By using the WSL it is possible to use the multithreading mode of geant4 on a windows machine.

Notifications You must be signed in to change notification settings

smoothPhysics/geant4_root_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. Install Docker: https://docs.docker.com/desktop/install/windows-install/ (with WSL2 backend, should be default installation method)
  2. Install X11Server: https://sourceforge.net/projects/vcxsrv/ (for GUI)
  3. Copy [config.xlaunch] in windows startup folder:
    $startup = [environment]::getfolderpath("Startup")
    Copy-Item .\config.xlaunch $startup 
  4. (Only needed when not already started via autostart): double click on config.xlaunch
  5. Build the docker container:
    docker build -t geant4:source -f Dockerfile.source .
    
  6. Run docker container: double click on run_docker.bat

Der default terminal is auf TMUX gesetzt. Hier ein tutorial: https://www.ocf.berkeley.edu/~ckuehl/tmux/

Credits

I would like to thank https://github.com/NovoG93 very much for his help creating the container!

About

Docker container to run geant4 and root on windows subsystem for linux (WSL). By using the WSL it is possible to use the multithreading mode of geant4 on a windows machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published