ROOT https://https://root.cern/about/CERN is a software framework born at CERN, at the heart of the research on high-energy physics. Physicists use ROOT applications to analyze their data or to perform simulations.
Ensure your base Conda environment is initialized:
Purge any loaded modules and load the BIOMODULES module:
module purge module add chpc/BIOMODULES
conda create -n root_env root -c conda-forge
conda info --envs conda list
conda activate root_env
root
conda deactivate
This is just a simple example which will be improved as testing commences:
#!/bin/bash #PBS -P projectid #PBS -l select=3:ncpus=24:mpiprocs=24:nodetype=haswell_reg #PBS -q normal #PBS -l walltime=01:00:00 #PBS -o /mnt/lustre/users/username/rootJobs/job01/stdout #PBS -e /mnt/lustre/users/username/rootJobs/job01/stderr #PBS -m abe #PBS -M username@email.co.za ### Activate the conda ROOT environment: conda activate root_env ##### Running commands # Set this environment variable explicitly. export PBS_JOBDIR=/mnt/lustre/users/username/rootJobs/job01 # Explicitly change to the job directory cd $PBS_JOBDIR nproc=`cat $PBS_NODEFILE | wc -l` exe=root mpirun -np $nproc $exe > root.out