forked from pompp/power-slurm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PATKI-README
52 lines (39 loc) · 1.31 KB
/
PATKI-README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Notes for chameleon
# Makefile.in files are committed, they don't necessarily need to be in there...
#
./autogen.sh
#./configure --enable-debug --prefix=/home/cc/slurm-install/
./configure --enable-debug --prefix=/root/argo-setup/power-slurm
make -j32
make install
***Can also use rpmbuild but this needs to be tested on the chameleon appliance.
tar -cvjSf slurm-17.02.10.tar.bz2 slurm-17.02.10
export RPM_BUILD_NCPUS=4
rpmbuild -ta slurm-17.02.10.tar.bz2
echo cd ~/rpmbuild/RPMS/x86_64
echo sudo rpm -ivh slurm-*.rpm
slurm.conf needs to be setup.
==========================
RUNNING NOTES, to be cleaned up
============================
Everything is done as root as first cut
wget https://01.org/sites/default/files/downloads/msr-tools/msr-tools-1.3.zip
git clone https://github.com/LLNL/msr-safe
git clone https://github.com/LLNL/libmsr
git clone https://github.com/tpatki/power-slurm.git
yum install vim
yum install cmake
yum install yum-utils
yum install gtk+-devel gtk2-devel
yum install glibc
yum install glibc-debuginfo
cd msr-safe
make
insmod msr-safe.ko
cd ../libmsr
git checkout origin/patki-skylake-0655-fix
cmake . -DCMAKE_INSTALL_PREFIX=~/argo-setup/install_libmsr/
make
make install
GDB gives trouble, to fix it do the following:
In /etc/yum.repos.d/CentOS-Debuginfo.repo, set enabled=1, and gpgcheck=0