Repository navigation
Home
ChpcTraining edited this page Oct 12, 2024
·
17 revisions
As root:
dnf install -y epel-release dnf-plugins-core
dnf update -y
dnf config-manager --set-enabled crb
dnf group install -y 'Development Tools'
cat << EOF > /etc/yum.repos.d/alice-system-deps.repo
[alice-system-deps]
name=alice-system-deps
baseurl=https://s3.cern.ch/swift/v1/alibuild-repo/RPMS/o2-full-deps_el9.x86-64/
enabled=1
gpgcheck=0
EOF
dnf update -y
dnf install -y alice-o2-full-deps alibuild
mkdir -p ~/alice
cd ~/alice
alievn list
aliBuild build O2Physics -j 6
Your CPU is an Intel Core i7-10810U with 6 cores and 12 threads. Each core has 2 threads (hyperthreading is enabled), and you have 12 logical processors (CPU(s)).
lscpu
free -h
total used free shared buff/cache available
Mem: 24Gi 1.0Gi 21Gi 0.0Ki 2.4Gi 23Gi
Swap: 7.0Gi 525Mi 6.5Gi
You have 24GB of RAM available, which is more than sufficient for the recommendation of 2GB per core. With 6 cores, the recommendation would be 12GB, and you have double that, meaning you should have no issues with memory during the O2Physics compilation process.
You can compile with multiple jobs using the -j option for make. For example, you could use all 12 threads like this or more conservative only 6.