@@ -19,8 +19,13 @@ ARCHTYPE=`uname -m`
1919# needed for automated setup, not for supremm
2020# ------------------------
2121
22+ dnf module -y reset nodejs
23+ dnf module -y install nodejs:16
24+
2225dnf install -y \
2326 expect \
27+ python3-devel \
28+ pcp-devel \
2429 python3-pexpect \
2530 php-pear \
2631 php-devel
@@ -37,10 +42,13 @@ dnf install -y \
3742# be installed in the same container. In a production deployment they may be installed
3843# on separate hosts.
3944# ------------------------
40- dnf install -y https://github.com/ubccr/xdmod/releases/download/v10.0.0-beta5 -el8/xdmod-10.0.0 -1.5.beta5 .el8.noarch.rpm \
45+ dnf install -y https://github.com/ubccr/xdmod/releases/download/v10.0.2-beta1 -el8/xdmod-10.0.2 -1.0 .el8.noarch.rpm \
4146 https://github.com/ubccr/xdmod-ondemand/releases/download/v10.0.0/xdmod-ondemand-10.0.0-1.0.beta1.el8.noarch.rpm \
4247 https://github.com/ubccr/xdmod/releases/download/v10.0.0-beta4-el8/xdmod-supremm-10.0.0-1.4.beta4.el8.noarch.rpm \
43- https://github.com/ubccr/supremm/releases/download/2.0.0-beta3/supremm-2.0.0-1.0_beta3.el8." $ARCHTYPE " .rpm
48+ https://github.com/ubccr/xdmod-appkernels/releases/download/v10.0.0/xdmod-appkernels-10.0.0-1.0.beta1.el8.noarch.rpm
49+
50+ # supremm rpm has broken deps so we force install the rpm and install the deps via pip
51+ rpm --nodeps -ivh https://github.com/ubccr/supremm/releases/download/2.0.0-beta3/supremm-2.0.0-1.0_beta3.el8." $ARCHTYPE " .rpm
4452
4553# ------------------------
4654# The Job Performance software uses MongoDB to store the job-level performance
@@ -53,14 +61,19 @@ dnf install -y \
5361 https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/${ARCHTYPE} /RPMS/mongodb-org-shell-5.0.9-1.el8.${ARCHTYPE} .rpm
5462
5563
56-
5764# ------------------------
5865#
5966# ------------------------
6067pecl install mongodb
6168echo " extension=mongodb.so" >> /etc/php.d/40-mongodb.ini
6269
63- pip3 install pymongo==3.7.0 --upgrade
70+ # This is required because /usr/bin/supremm-setup uses the platform-python
71+ /usr/libexec/platform-python -m pip install pymongo==3.7.0 --upgrade
72+ /usr/libexec/platform-python -m pip install pytz
73+ /usr/libexec/platform-python -m pip install scipy
74+ /usr/libexec/platform-python -m pip install Cython
75+ /usr/libexec/platform-python -m pip install pcp
76+ /usr/libexec/platform-python -m pip install PyMySQL
6477
6578# ------------------------
6679# O/S package configuration.
0 commit comments