Skip to content

Commit

Permalink
tweak scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerzinn committed Apr 4, 2024
1 parent 7a2d14d commit 766d92d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions scripts/tacc_edit_scalability_friendster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c) 2023. University of Texas at Austin. All rights reserved.

GRAPH_PATH="${GRAPH_PATH:-$SCRATCH/graphs/friendster_batched_11.txt}"
GRAPH_PATH="${GRAPH_PATH:-$SCRATCH/graphs/friendster_randomized_25.txt}"
GRAPH_NUM_VERTICES="${GRAPH_NUM_VERTICES:-124836180}"

# required sbatch parameters
Expand All @@ -17,8 +17,7 @@ HOSTS="${HOSTS:-1}"
PROCS="${PROCS:-1}"
TIME="${TIME:-1:00:00}"
QUEUE="${QUEUE:-normal}"
JOBS="${JOBS:-graph-log-sketch-run}"
OUTS="${OUTS:-graph-log-sketch}"
JOBS="${JOBS:-edit-scalability}"

ENV=${WORK}/scea/graph-log-sketch/scripts/tacc_env.sh

Expand All @@ -42,11 +41,12 @@ echo $QUEUE
echo $JOBN

for algo in bfs tc; do
mkdir -p "${DATA}/$algo"
for nthreads in 8 16 32 64; do
for graph in lscsr lccsr adj; do
# JOBN should be parameterized with application parameters as well
# possibly time as well time prevent conflicts and overwriting
JOBN=${DATA}/${JOBS}_${HOSTS}_${PROCS}_t=${nthreads}_g=${graph}
JOBN=${DATA}/$algo/${JOBS}_t=${nthreads}_g=${graph}
echo "Submitting job: $JOBN"

# start of job that runs on the supercomputer
Expand Down
6 changes: 3 additions & 3 deletions scripts/tacc_edit_scalability_rmat18.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ HOSTS="${HOSTS:-1}"
PROCS="${PROCS:-1}"
TIME="${TIME:-1:00:00}"
QUEUE="${QUEUE:-normal}"
JOBS="${JOBS:-graph-log-sketch-run-rmat18}"
OUTS="${OUTS:-graph-log-sketch-rmat18}"
JOBS="${JOBS:-edit-scalability-rmat18}"

ENV=${WORK}/scea/graph-log-sketch/scripts/tacc_env.sh

Expand All @@ -42,11 +41,12 @@ echo $QUEUE
echo $JOBN

for algo in bfs tc; do
mkdir -p "${DATA}/$algo"
for nthreads in 8 16 32 64; do
for graph in lscsr lccsr adj; do
# JOBN should be parameterized with application parameters as well
# possibly time as well time prevent conflicts and overwriting
JOBN=${DATA}/${JOBS}_${HOSTS}_${PROCS}_t=${nthreads}_g=${graph}
JOBN=${DATA}/$algo/${JOBS}_t=${nthreads}_g=${graph}
echo "Submitting job: $JOBN"

# start of job that runs on the supercomputer
Expand Down

0 comments on commit 766d92d

Please sign in to comment.