Commit 784ac173 authored by Robert Dietrich's avatar Robert Dietrich

added patch for LIKWID memory leak and thus changed install scripts

parent 72b5f490
...@@ -50,6 +50,10 @@ if [ $LIKWID_VERSION == '5.0.1' ]; then ...@@ -50,6 +50,10 @@ if [ $LIKWID_VERSION == '5.0.1' ]; then
cd bench/perl cd bench/perl
patch -p0 < $PIKA_PATCHES/likwid-5.0.1_power9.patch patch -p0 < $PIKA_PATCHES/likwid-5.0.1_power9.patch
cd ../.. cd ../..
cd src
patch -p0 < $PIKA_PATCHES/likwid-5.0.1_fixmemleak.patch
cd ..
fi fi
# backup default configuration # backup default configuration
...@@ -79,32 +83,3 @@ cd .. ...@@ -79,32 +83,3 @@ cd ..
cd $LIKWID_INST_PATH/share/likwid cd $LIKWID_INST_PATH/share/likwid
mv perfgroups perfgroups_backup mv perfgroups perfgroups_backup
ln -s /sw/taurus/tools/pika/daemon/likwid/perfgroups ln -s /sw/taurus/tools/pika/daemon/likwid/perfgroups
### Build pylikwid
#cd $PIKA_INSTALL_PATH/sources
#git clone https://github.com/RRZE-HPC/pylikwid.git
#cd pylikwid
#patch -p0 -n pylikwid.c < $PIKA_PATCHES/pylikwid.c.patch
#export PATH=$LIKWID_INST_PATH/bin:$LIKWID_INST_PATH/sbin:$PATH
#export PATH=$PYTHON_ROOT/bin:$PATH
#export PYTHONPATH=$PYTHON_ROOT
#export LD_LIBRARY_PATH=${PYTHON_ROOT}/lib:${PYTHON_ROOT}/lib/python2.7:$LD_LIBRARY_PATH
#python setup.py build_ext -I $LIKWID_INST_PATH/include -L $LIKWID_INST_PATH/lib -R $LIKWID_INST_PATH/lib
#python setup.py install --prefix=$PYTHON_ROOT
#cd $PIKA_INSTALL_PATH/sources/pylikwid/tests
#python -c "import pylikwid"
#./testlib.py
# clean up sources
#rm -rf $PIKA_INSTALL_PATH/sources/likwid-${VERSION} $PIKA_INSTALL_PATH/sources/pylikwid
# change permissions (write permission for group p_prope)
#cd /opt
#chgrp -R p_prope prope
#chmod -R g+w prope
...@@ -32,7 +32,7 @@ pip3 install --upgrade pip ...@@ -32,7 +32,7 @@ pip3 install --upgrade pip
# install influxdb and mysql client # install influxdb and mysql client
pip3 install influxdb pip3 install influxdb
pip3 install mysql-connector #==2.1.4 pip3 install mysql-connector #==2.1.4
pip3 install nvidia-ml-py #pip3 install nvidia-ml-py
pip3 install ClusterShell pip3 install ClusterShell
#pip install python-memcached #pip install python-memcached
pip3 install redis pip3 install redis
......
--- perfgroup.c.save 2019-12-24 17:53:50.000000000 +0100
+++ perfgroup.c 2020-01-27 13:16:46.302127871 +0100
@@ -1597,6 +1597,7 @@
i = calculate_infix(bdata(f), result);
bdestroy(f);
bdestroy(nan);
+ bdestroy(inf);
bdestroy(zero);
return i;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment