Skip to content

dibakardhar/aliBuildO2Physics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ AliBuild & O2Physics Auto-Installer

A streamlined, one-click shell script for ALICE O2/Physics framework deployment.

Status Platform Physics

πŸ“– The Problem

The official ALICE O2/Physics documentation is comprehensive but can be overwhelming for new research students. Manual installation involves managing complex environment variables, multiple dependencies, and long build times, which often lead to configuration errors.

✨ The Solution

This project provides a hassle-free shell script that automates the entire process:

  • βœ… Installs system prerequisites (Python3, Git, development tools).
  • βœ… Sets up aliBuild and the required directory structure.
  • βœ… Handles the aliBuild init and aliBuild build sequence for O2 and O2Physics.
  • βœ… Configures the environment so you can start your analysis immediately.
  • βœ… If you have already built it, then you can also rebuild it with it.

πŸ› οΈ Usage

Warning

Building O2Physics requires significant RAM (16GB+ recommended) and disk space (approx. 50GB-100GB).

# Remember, as for prerequisities you make a copy and paste the following commands:

# updating system
sudo apt update -y`

# To install the necessary packages
sudo apt install -y curl libcurl4-gnutls-dev build-essential gfortran libmysqlclient-dev xorg-dev libglu1-mesa-dev libfftw3-dev libxml2-dev git unzip autoconf automake autopoint texinfo gettext libtool libtool-bin pkg-config bison flex libperl-dev libbz2-dev swig liblzma-dev libnanomsg-dev rsync lsb-release environment-modules libglfw3-dev libtbb-dev python3-dev python3-venv python3-pip graphviz libncurses-dev software-properties-common gtk-doc-tools`

# To install aliBuild use:
sudo add-apt-repository ppa:alisw/ppa`
sudo apt update`
sudo apt install python3-alibuild`

# Clone this repository
git clone [https://github.com/dibakardhar/aliBuildO2Physics.git](https://github.com/dibakardhar/aliBuildO2Physics.git)
cd aliBuildO2Physics

# Make the script executable
chmod +x autoBuildO2.sh

# Run the installer
./autoBuildO2.sh

About

one-click shell script for ALICE O2/Physics framework deployment

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages