publication

Uranie Binary Packages

Platforms and flavours are explained below.

Platforms

Name Platform
ub Ubuntu
db Debian
fd Fedora
rh Red Hat
rocky Rocky Linux
win Windows

Flavours

Name Flavour
irene TGCC Irène Cluster
infosc CEA/Saclay Infogérance scientifique ISAS
gpu with GPU and CUDA
minimal CEA/Saclay Custom Distribution
orcus CEA/Saclay Orcus Cluster
pleiades CEA/Cadarache Pleiades Server
mezel CEA/Cadarache Mezel Cluster
stable Visual Studio 2022 17.3
testing Visual Studio 2022 17.14.24
grenoble CEA/Grenoble Server

To install your package on Linux or Windows, please follow the instructions below.

Linux Bash

$ tar xfz <binary_package>.tar.gz
$ source uranie/bin/thisroot.sh

You can download a binary package for Linux from https://gitlab.com/uranie-cea/publication/-/packages/54159258

Linux Conda (Experimental)

An experimental Conda Package is available at https://anaconda.org/uranietm/uranie.

Installation From Scratch

To install Miniforge and Uranie from scratch, please enter:

$ cd /<working directory>/
$ wget -c https://gitlab.com/uranie-cea/conda/miniconda-management/-/raw/master/install_miniforge_env.sh
$ bash install_miniforge_env.sh miniconda https://gitlab.com/api/v4/projects/uranie-cea%2Fpublication/packages/generic/release/4.11.0/environment.yml
$ source /<working directory>/miniconda/bin/activate environment

From Miniconda 3

If you already have Miniconda 3 and base environment is activated:

⚠️ Your base environment may be updated.

$ conda update -y -n base conda
$ conda env create --yes -f https://gitlab.com/api/v4/projects/uranie-cea%2Fpublication/packages/generic/release/4.11.0/environment.yml
$ conda activate environment

Linux Docker (Experimental)

An experimental Docker Image of Uranie was published: https://gitlab.com/uranie-cea/docker/uranie/container_registry/

docker pull registry.gitlab.com/uranie-cea/docker/uranie:4.11

See README.md

Windows PowerShell

Visual Studio 2022

ℹ️ For Usage, see:

⚠️ Elevation of Privilege may be required.

  1. Go to https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-history#evergreen-bootstrappers and download the Community bootstrapper.

  2. Execute the installer and choose "Développement Desktop en C++" workload.

  3. Reboot your PC.

MPI

⚠️ Elevation of Privilege may be required.

  1. Go to https://www.microsoft.com/en-us/download/details.aspx?id=100593
  2. Download msmpisetup.exe and msmpisdk.msi
  3. Install msmpisetup.exe and msmpisdk.msi

Antivirus

  • Your antivirus may find false positives in Uranie Binary Package.
  • If that is the case, please submit a request to your security software editor.

Reference: https://root-forum.cern.ch/t/binary-package-antivirus-alerts/59513

  1. In PowerShell, set execution policy:
    PS > Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  2. Expand <binary_package>.zip
  3. In PowerShell, run the installation script:
    PS > .\uranie\Install-Uranie.ps1
    • You may need to install Python with the provided installer: python-<version>-amd64.exe.
    • Then open a new PowerShell and run the script again.
  4. Open Uranie PowerShell link

You can download a binary package for Windows from https://gitlab.com/uranie-cea/publication/-/packages/54159258

Loading in PowerShell

<binary_package>.zip in assumed to be expanded in \package directory\:

& \package directory\uranie\uranie\Scripts\Activate.ps1
. \package directory\uranie\bin\thisroot.ps1

Using with Miniforge

  1. Get Python version in Uranie PowerShell:
(uranie) PS C:\> python --version
Python 3.13.9
  1. Create an environment in Miniforge Prompt:
(base) C:\>conda create -y -n uranie python=3.13
  1. Load this environment in PowerShell:
PS > & $Env:LOCALAPPDATA\miniforge3\Scripts\conda "shell.powershell" "hook" | Out-String | ?{$_} | Invoke-Expression
(base) PS C:\> conda activate uranie
(uranie) PS C:\> 
  1. Load Uranie:
(uranie) PS C:\> . \package directory\uranie\bin\thisroot.ps1

WSL (Windows Subsystem for Linux)

Installation

Please install WSL "as administrator", see https://learn.microsoft.com/en-us/windows/wsl/install

wsl --install
  • Ubuntu 24 should be installed.
  • You will be invited to create a user account.

ROOT & Uranie Prerequisites

Please install the following packages in Ubuntu:

sudo apt update
sudo apt install gfortran libpcre3-dev libglu1-mesa-dev libglew-dev libftgl-dev libfftw3-dev libcfitsio-dev libgraphviz-dev libavahi-compat-libdnssd-dev libldap2-dev python3-dev python3.12-dev python3-numpy libxml2-dev libkrb5-dev libgsl-dev qtwebengine5-dev nlohmann-json3-dev libmysqlclient-dev libgl2ps-dev liblzma-dev libxxhash-dev liblz4-dev libzstd-dev binutils cmake dpkg-dev g++ gcc libssl-dev git libx11-dev libxext-dev libxft-dev libxpm-dev python3 libtbb-dev libgif-dev
sudo apt install libnlopt-dev libopenmpi-dev libboost-system-dev libjsoncpp-dev libboost-context-dev

Uranie

Finally, please install a Uranie binary package for Ubuntu 24, e.g.:

wget https://gitlab.com/api/v4/projects/uranie-cea%2Fpublication/packages/generic/release/4.11.0/uranie_v4_11_0_ub24_infosc.tar.gz
tar xfz uranie_v4_11_0_ub24_infosc.tar.gz
source uranie/bin/thisroot.sh