Skip to content

Commit

Permalink
update stream plots
Browse files Browse the repository at this point in the history
---
Signed-off-by: Andy Stone <[email protected]>
  • Loading branch information
stonea committed Aug 13, 2024
1 parent 6849306 commit 6bf7962
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
7 changes: 5 additions & 2 deletions test/release/examples/benchmarks/hpcc/stream.plot.drive.bash
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/usr/bin/env bash

#--paint-with ./stream.plot.paint.py

set -x -e
"$CHPL_HOME/util/test/chplExperiment" \
--skip-if-config-error --paint-with ./stream.plot.paint.py \
--skip-if-config-error \
\
`#name features options command` \
`#-------------------------------------------------------------------------` \
chpl gasnet ./stream.plot.gather.bash
chpl comm ./stream.plot.gather.bash \
mpi mpi --no-build-chpl ./stream.plot.gather.mpi.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ done
# -----------------------------------------------------------------------------
data=$(cat $runLog | sed -r -n 's/Performance \(GB\/s\) = //p')
set +x

# data is reported in GB/s convert to MB/s
i=0; for x in ${data[@]}; do
scaled_data[i++]=$((x*1000))
done
echo -e "\t$experimentName" > $datFile
paste \
<(printf "%s\n" "${locales[@]}") \
<(printf "%s\n" "${data[@]}") >> "$datFile"
<(printf "%s\n" "${scaled_data[@]}") >> "$datFile"
2 changes: 1 addition & 1 deletion util/test/chplSetup/base.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ for var in $chpl_vars; do
unset "$var"
done

export CHPL_COMM=none # use 'gasnet' feature if you wish to override this
export CHPL_COMM=none # use 'comm' feature if you wish to override this
2 changes: 1 addition & 1 deletion util/test/chplSetupEnv.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [[ "$_chplSetupEnv_sourced" == "0" ]]; then
fi

_chplSetupEnv_suffix="bash"
_chplSetupEnv_pathsToRun=("$CHPL_HOME/util/test/chplSetup" "/data/cf/chapel/chplSetup/" "/chapel/data/chaptools/chplSetup" "/cray/css/users/chapelu/chplSetup" "$HOME/.chplSetup" "$(pwd)/chplSetup")
_chplSetupEnv_pathsToRun=("$CHPL_HOME/util/test/chplSetup" "/hpcdc/project/chapel/chplSetup" "$HOME/.chplSetup" "$(pwd)/chplSetup")
_chplSetupEnv_shortHost=$(hostname -s)
_chplSetupEnv_featureSet=""
_chplSetupEnv_dryRun=""
Expand Down

0 comments on commit 6bf7962

Please sign in to comment.