How do I install FLUKA on Windows 10 using WSL and Ubuntu 20.04?

  • Thread starter Thread starter emilmammadzada
  • Start date Start date
  • Tags Tags
    installation
Click For Summary
SUMMARY

The installation of FLUKA version 2021.2 on Windows 10 using WSL (Windows Subsystem for Linux) and Ubuntu 20.04 requires specific steps to ensure proper configuration. Users must verify the existence of the FLUKA data files and the directory /home/emil/fluka/pwxs, which is essential for the software to function correctly. Resources such as the FLUKA Docker guide and the GitHub repository for CERN FLUKA on WSL provide valuable installation instructions. Successful installation of FLAIR indicates that similar procedures can be applied to FLUKA, albeit with unique considerations.

PREREQUISITES
  • Familiarity with Windows Subsystem for Linux (WSL)
  • Basic understanding of Ubuntu 20.04 environment
  • Knowledge of FLUKA software and its directory structure
  • Experience with Docker installation and configuration
NEXT STEPS
  • Review the FLUKA Docker installation guide at flukadocker.github.io
  • Explore the GitHub repository for CERN FLUKA on WSL at github.com/horvathd/cern_fluka_wsl
  • Learn about configuring FLUKA data files and directory paths
  • Investigate troubleshooting common installation errors in FLUKA on WSL
USEFUL FOR

Researchers, physicists, and engineers who are setting up FLUKA simulations on Windows 10 using WSL, as well as anyone interested in utilizing FLUKA within a Linux environment.

emilmammadzada
Messages
129
Reaction score
19
TL;DR
Fluka installation problem
What path should I follow to install fluka2021.2-linux-gfor64bit-11.2-AA.tar.gz? I'm a Windows 10 user. I installed WSL I'm using Ubuntu 20.04 on wsl.I installed flair and it works. But the fluka does not work and I get an error related to the installation.
:~$ $FLUPRO/flutil/rfluka -h
$TARGET_MACHINE = Linux
$FLUPRO = /home/emil/fluka
Are you sure you downloaded the FLUKA data files?
Apparently the directory /home/emil/fluka/pwxs does not exist
 
Last edited:
Engineering news on Phys.org
Astronuc said:
So, one is using a Win10 machine with a Linux virtual environment (Windows Subsystem for Linux) under which one installed Fluka?

I have not done that in the past, but perhaps there is some useful information here
https://flukadocker.github.io/fluka_wsl/
do i need to install this docker on my virtual machine?
 
emilmammadzada said:
do i need to install this docker on my virtual machine?
I'm not sure what one means by 'install this docker'. The page goes through steps.

Since one installed FLAIR and it works, you should have similar steps to install FLUKA, but perhaps there are some steps unique to FLUKA.

I will probably do much the same in future.
 
  • Informative
Likes emilmammadzada
Hello, I am designing an X-ray irradiator with MCNP simulation. But I am still in confusion, whether my X-ray housing will be a box or a cylinder. If the box (macrobody identifier of MCNP) is required, I am trying to match the dimension as that of the cylinder, i,e, the height will be that of the cylinder height, and the other two dimensions will be that of the radius of the cylinder (surface 52 and 53). Can anybody please help me define the surfaces? Below is my attached text file. Forgot...

Similar threads

  • · Replies 1 ·
Replies
1
Views
5K
Replies
2
Views
3K
Replies
6
Views
9K
Replies
4
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
38
Views
5K