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

  • Thread starter emilmammadzada
  • Start date
  • Tags
    installation
In summary, installing FLUKA on Windows 10 using Windows Subsystem for Linux (WSL) and Ubuntu 20.04 involves setting up WSL, installing Ubuntu 20.04, and then downloading and installing FLUKA through the Ubuntu terminal. It is important to ensure that WSL is enabled and that the proper dependencies are installed before attempting to install FLUKA. Once installed, FLUKA can be run through the Ubuntu terminal and can be used for simulations and analyses in a Windows 10 environment.
  • #1
emilmammadzada
109
18
TL;DR Summary
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
  • #3
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?
 
  • #4
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

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

How do I install WSL on Windows 10?

To install WSL on Windows 10, open PowerShell as an administrator and run the command: wsl --install. This will enable the necessary features and install the default Linux distribution. After the installation is complete, restart your computer.

How do I install Ubuntu 20.04 on WSL?

Once WSL is installed, open the Microsoft Store, search for "Ubuntu 20.04", and click "Install". After the installation, launch Ubuntu 20.04 from the Start menu to complete the setup process by creating a new user account.

Where can I download FLUKA?

You can download FLUKA from the official FLUKA website (https://fluka.cern). You will need to register for an account, log in, and then you can download the appropriate version for your system.

How do I install FLUKA on Ubuntu 20.04?

After downloading FLUKA, open your Ubuntu terminal and navigate to the directory where the FLUKA files are located. Extract the files using tar -zxvf fluka_version.tgz. Then, follow the installation instructions provided in the FLUKA documentation, which typically involves running a script or copying files to specific directories.

How do I verify that FLUKA is installed correctly?

To verify that FLUKA is installed correctly, open your Ubuntu terminal and type fluka. If FLUKA is installed properly, you should see the FLUKA command-line interface. You can also run a test simulation provided in the FLUKA examples to ensure everything is working correctly.

Similar threads

  • Programming and Computer Science
Replies
1
Views
1K
Replies
2
Views
2K
Replies
6
Views
7K
Replies
4
Views
2K
  • Programming and Computer Science
Replies
25
Views
2K
  • Computing and Technology
Replies
21
Views
2K
  • Computing and Technology
Replies
18
Views
2K
  • Programming and Computer Science
Replies
1
Views
657
  • Computing and Technology
Replies
1
Views
2K
Replies
38
Views
3K
Back
Top