install-gadzooks.sh 924 Bytes
Newer Older
1 2
#!/bin/bash

3 4
PREFIX=/soft/apps/darshan-2.0.0
LOGDIR=/pvfs-surveyor/logs/darshan
5

6
# darshan job summary
7 8 9 10 11
cd ../
install -d $PREFIX
install -d $PREFIX/bin
install -d $PREFIX/lib
install -d $PREFIX/lib/TeX
12 13
install -d $PREFIX/lib/Number
install -d $PREFIX/lib/Number/Bytes
14 15 16
install -d $PREFIX/share
install -m 755 util/bin/darshan-job-summary.pl $PREFIX/bin/
install -m 644 util/lib/TeX/Encode.pm $PREFIX/lib/TeX/
17
install -m 644 util/lib/Number/Bytes/Human.pm $PREFIX/lib/Number/Bytes
18 19
install -m 644 util/share/* $PREFIX/share/

20 21 22 23
# we also need to build darshan-parser in 2.0.0
./configure --with-mem-align=16 --with-log-path=$LOGDIR --prefix=$PREFIX --with-jobid-env=COBALT_JOBID CFLAGS="-O2" && make darshan-parser
install -m 755 darshan-parser $PREFIX/bin/

24 25 26 27 28 29
#gnuplot (new version with additional histogram support)
cd extern
tar -xvzf gnuplot-4.2.4.tar.gz
cd gnuplot-4.2.4
./configure --prefix $PREFIX && make &&  make install