-
Notifications
You must be signed in to change notification settings - Fork 0
Arkouda Installation Notes
The Ubuntu and RHEL Chapel installations are different for installing Chapel dependencies, particularly regarding older RHEL distro versions such as CentOS 7. Specifically, the gcc compiler on RHEL distros such as CentOS 7 do not support building Chapel. Consequently, a new version of the gcc compiler must be installed via the devtoolset-9-gcc-c++ package. In addition, the CentOS Software Collections packager must be installed to enable the newer version of gcc to be leveraged for building Chapel.
The yum install instructions for installing all Chapel dependencies on RHEL distributions such as CentOS are as follows:
yum update -y && yum install gcc gcc-c++ m4 perl python3 python3-devel \
make gawk git cmake llvm-devel clang clang-devel curl-devel -y
For RHEL distro versions where the gcc compiler does not support building Chapel, the following packages are required to install and enable a Chapel-compatible gcc compiler:
yum install devtoolset-9-gcc-c++-9.1.1-2.6.el7.x86_64 centos-release-scl -y
Building Chapel on RHEL distros that do not support building Chapel requires enabling the devtoolset gcc compiler as follows:
source /opt/rh/devtoolset-9/enable
For all RHEL distros, the Chapel build sequence is as follows:
make
make chpldoc
The minimum cmake version is 3.11.0, which is not supported in older RHEL versions such as CentOS 7; in these cases, cmake must be downloaded, installed, and linked as follows:
export CMAKE_VERSION=3.11.0
# Download cmake
wget https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-Linux-x86_64.sh
# Install cmake
sh /opt/cmake-$CMAKE_VERSION-Linux-x86_64.sh --skip-license --include-subdir
# Link cmake version
export PATH=./cmake-$CMAKE_VERSION-Linux-x86_64/bin:$PATH
cd $ARKOUDA_HOME
make install-deps
make