Berkeley Nuclear Data Software
WSL

From a clean version of WSL ubuntu 20: launch xming from the command line

export DISPLAY=:0

this could be added to your bashrc as well

Install root prerequisites install cmake gui for configuring ease

sudo apt-get install cmake-qt-gui

if you want python integration with root install pip and numpy

sudo apt-get install python3-pip
pip3 install numpy

install extra qt needs

sudo apt-get install qt3d5-dev

make a packages directory and go to it

mkdir packages
cd packages

clone the geant and root repositories

git clone https://github.com/Geant4/geant4.git
git clone https://github.com/root-project/root.git

make build directories

mkdir rootTrunkBuild
mkdir geantTrunkBuild

launch the cmake gui

cmake-gui

set the source to the root source and the build to the build directory in the text input tabs and click the configure button.

find the text entry box that says CMAKE_CXX_STANDARD and set the value to 17

find the check box associated with root7 and uncheck it

click configure

click generate

call make from the build directory.

set your bash rc to call the thisroot.sh from the build directory when you launch ubuntu

Change the source and build directory in the cmake gui to be the relevant geant directories.

Click generate

find the check box for GEANT_INSTALL_DATA and select it.

set the install path to something other than /usr/local such as /usr/local/geantBuild411 or something

find the box that says GEANT4_USE_QT and check it.

click configure again

click generate

call make from the build directory

call sudo make install when it is finished and set the bashrc to to call the geant4.sh from the bin folder in your install directory

Once you build the sim directory you should be able to launch the plasma sim with full real time visualization support. image.png