Skip to content

Commit

Permalink
Issue #59: fixed full name extractor in install.sh for sysstat and mp…
Browse files Browse the repository at this point in the history
…iP tar name.
  • Loading branch information
milfeld committed Nov 12, 2020
1 parent ba60fa9 commit bfb793a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ echo | tee -a $BUILD_LOG
#Now build mpstat
echo "Building mpstat ..." | tee -a $BUILD_LOG
cd $REMORA_BUILD_DIR/extra
sysfile=`ls -ld sysstat*.tar.gz | awk '{print $9}' | head -n 1`
#sysfile=`ls -ld sysstat*.tar.gz | awk '{print $9}' | head -n 1`
sysfile=`ls sysstat*.tar.gz`
sysdir=`echo ${sysfile%%.tar.gz}`
tar xzvf ${sysfile}
cd ${sysdir}
Expand Down Expand Up @@ -123,7 +124,8 @@ if [[ "$haveMPICC" == "1" && "$haveMPIFC" == "1" ]]; then

echo "Building mpiP ..." | tee -a $BUILD_LOG
cd $REMORA_BUILD_DIR/extra
mpipfile=`ls -ld mpiP*.tar.gz | awk '{print $9}' | head -n 1`
#mpipfile=`ls -ld mpiP*.tar.gz | awk '{print $9}' | head -n 1`
mpipfile=`ls mpiP*.tar.gz`
mpipdir=`echo ${mpipfile%%.tar.gz}`
tar xzvf ${mpipfile}
cd ${mpipdir}
Expand Down
1 change: 1 addition & 0 deletions src/remora
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#
#========================================================================
# HISTORY
# 2020/11/12 Fixed ls cmd for sysstat and mpiP full name #57 issue (Kent)
# 2020/11/12 change >& file to >file 2>&1 in install.sh (Kent)
# 2020/11/11 No FS rates reported if ...(fs)_rate.txt not avail (Kent)
# 2020/10/16 For Remora-provided mpiP, includes coeff of Variation(Kent)
Expand Down

0 comments on commit bfb793a

Please sign in to comment.