-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating launch copper and adding the publication
- Loading branch information
1 parent
f61ec69
commit 4079b1d
Showing
6 changed files
with
91 additions
and
34 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,60 @@ | ||
#!/bin/bash -x | ||
|
||
module load copper | ||
log_level=6 | ||
log_type="file" | ||
trees=1 | ||
max_cacheable_byte_size=$((10*1024*1024)) | ||
sleeptime=20 | ||
LOGDIR=~/copper-logs/${PBS_JOBID%%.aurora-pbs-0001.hostmgmt.cm.aurora.alcf.anl.gov} | ||
rm -rf ~/copper_logs* | ||
CUPATH=$COPPER_ROOT/bin/cu_fuse | ||
CU_FUSE_MNT_VIEWDIR=/tmp/${USER}/copper | ||
physcpubind="48-51" | ||
|
||
rm -rf ~/copper_logs* | ||
LOGDIR=~/copper-logs/${PBS_JOBID%%.aurora-pbs-0001.hostmgmt.cm.aurora.alcf.anl.gov} | ||
mkdir -p ${LOGDIR} #only on head node | ||
|
||
CU_FUSE_MNT_VIEWDIR=/tmp/${USER}/copper | ||
clush --hostfile ${PBS_NODEFILE} "fusermount3 -u ${CU_FUSE_MNT_VIEWDIR}" | ||
clush --hostfile ${PBS_NODEFILE} "rm -rf ${CU_FUSE_MNT_VIEWDIR}" | ||
clush --hostfile ${PBS_NODEFILE} "mkdir -p ${CU_FUSE_MNT_VIEWDIR}" # on all compute nodes | ||
while getopts "l:t:T:M:s:b:" opt; do | ||
case ${opt} in | ||
l ) log_level=$OPTARG ;; | ||
t ) log_type=$OPTARG ;; | ||
T ) trees=$OPTARG ;; | ||
M ) max_cacheable_byte_size=$OPTARG ;; | ||
s ) sleeptime=$OPTARG ;; | ||
b ) physcpubind=$OPTARG ;; | ||
\? ) echo "Usage: cmd [-l] [-t] [-T] [-M] [-s] [-b]" ;; | ||
esac | ||
done | ||
|
||
echo "log_level : ${log_level}" | ||
echo "log_type : ${log_type}" | ||
echo "trees : ${trees}" | ||
echo "max_cacheable_byte_size : ${max_cacheable_byte_size}" | ||
echo "sleeptime : ${sleeptime}" | ||
echo "CU_FUSE_MNT_VIEWDIR : ${CU_FUSE_MNT_VIEWDIR}" | ||
echo "LOGDIR : ${LOGDIR}" | ||
echo "PBS_NODEFILE : ${PBS_NODEFILE}" | ||
echo "physcpubind : ${physcpubind}" | ||
|
||
|
||
|
||
mkdir -p "${LOGDIR}" #only on head node | ||
clush --hostfile "${PBS_NODEFILE}" "fusermount3 -u ${CU_FUSE_MNT_VIEWDIR}" | ||
clush --hostfile "${PBS_NODEFILE}" "rm -rf ${CU_FUSE_MNT_VIEWDIR}" | ||
clush --hostfile "${PBS_NODEFILE}" "mkdir -p ${CU_FUSE_MNT_VIEWDIR}" # on all compute nodes | ||
|
||
read -r -d '' CMD << EOM | ||
numactl --physcpubind="0-3" | ||
numactl --physcpubind=${physcpubind} | ||
$CUPATH | ||
-tpath / | ||
-vpath ${CU_FUSE_MNT_VIEWDIR} | ||
-log_level 6 | ||
-log_type file | ||
-log_level ${log_level} | ||
-log_type ${log_type} | ||
-log_output_dir ${LOGDIR} | ||
-net_type cxi | ||
-trees 1 | ||
-trees ${trees} | ||
-nf ${PBS_NODEFILE} | ||
-max_cacheable_byte_size $((10*1024*1024)) | ||
-max_cacheable_byte_size ${max_cacheable_byte_size} | ||
-s ${CU_FUSE_MNT_VIEWDIR} | ||
EOM | ||
|
||
clush --hostfile ${PBS_NODEFILE} $CMD | ||
sleep 20s # add 60s if you are running on more than 2k nodes | ||
clush --hostfile "${PBS_NODEFILE}" "$CMD" | ||
sleep "${sleeptime}"s # add 60s if you are running on more than 2k nodes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,60 @@ | ||
#!/bin/bash -x | ||
|
||
module load copper | ||
log_level=6 | ||
log_type="file" | ||
trees=1 | ||
max_cacheable_byte_size=$((10*1024*1024)) | ||
sleeptime=20 | ||
LOGDIR=~/copper-logs/${PBS_JOBID%%.aurora-pbs-0001.hostmgmt.cm.aurora.alcf.anl.gov} | ||
rm -rf ~/copper_logs* | ||
CUPATH=$COPPER_ROOT/bin/cu_fuse | ||
CU_FUSE_MNT_VIEWDIR=/tmp/${USER}/copper | ||
physcpubind="48-51" | ||
|
||
rm -rf ~/copper_logs* | ||
LOGDIR=~/copper-logs/${PBS_JOBID%%.aurora-pbs-0001.hostmgmt.cm.aurora.alcf.anl.gov} | ||
mkdir -p ${LOGDIR} #only on head node | ||
|
||
CU_FUSE_MNT_VIEWDIR=/tmp/${USER}/copper | ||
clush --hostfile ${PBS_NODEFILE} "fusermount3 -u ${CU_FUSE_MNT_VIEWDIR}" | ||
clush --hostfile ${PBS_NODEFILE} "rm -rf ${CU_FUSE_MNT_VIEWDIR}" | ||
clush --hostfile ${PBS_NODEFILE} "mkdir -p ${CU_FUSE_MNT_VIEWDIR}" # on all compute nodes | ||
while getopts "l:t:T:M:s:b:" opt; do | ||
case ${opt} in | ||
l ) log_level=$OPTARG ;; | ||
t ) log_type=$OPTARG ;; | ||
T ) trees=$OPTARG ;; | ||
M ) max_cacheable_byte_size=$OPTARG ;; | ||
s ) sleeptime=$OPTARG ;; | ||
b ) physcpubind=$OPTARG ;; | ||
\? ) echo "Usage: cmd [-l] [-t] [-T] [-M] [-s] [-b]" ;; | ||
esac | ||
done | ||
|
||
echo "log_level : ${log_level}" | ||
echo "log_type : ${log_type}" | ||
echo "trees : ${trees}" | ||
echo "max_cacheable_byte_size : ${max_cacheable_byte_size}" | ||
echo "sleeptime : ${sleeptime}" | ||
echo "CU_FUSE_MNT_VIEWDIR : ${CU_FUSE_MNT_VIEWDIR}" | ||
echo "LOGDIR : ${LOGDIR}" | ||
echo "PBS_NODEFILE : ${PBS_NODEFILE}" | ||
echo "physcpubind : ${physcpubind}" | ||
|
||
|
||
|
||
mkdir -p "${LOGDIR}" #only on head node | ||
clush --hostfile "${PBS_NODEFILE}" "fusermount3 -u ${CU_FUSE_MNT_VIEWDIR}" | ||
clush --hostfile "${PBS_NODEFILE}" "rm -rf ${CU_FUSE_MNT_VIEWDIR}" | ||
clush --hostfile "${PBS_NODEFILE}" "mkdir -p ${CU_FUSE_MNT_VIEWDIR}" # on all compute nodes | ||
|
||
read -r -d '' CMD << EOM | ||
numactl --physcpubind="0-3" | ||
numactl --physcpubind=${physcpubind} | ||
$CUPATH | ||
-tpath / | ||
-vpath ${CU_FUSE_MNT_VIEWDIR} | ||
-log_level 6 | ||
-log_type file | ||
-log_level ${log_level} | ||
-log_type ${log_type} | ||
-log_output_dir ${LOGDIR} | ||
-net_type cxi | ||
-trees 1 | ||
-trees ${trees} | ||
-nf ${PBS_NODEFILE} | ||
-max_cacheable_byte_size $((10*1024*1024)) | ||
-max_cacheable_byte_size ${max_cacheable_byte_size} | ||
-s ${CU_FUSE_MNT_VIEWDIR} | ||
EOM | ||
|
||
clush --hostfile ${PBS_NODEFILE} $CMD | ||
sleep 20s # add 60s if you are running on more than 2k nodes | ||
clush --hostfile "${PBS_NODEFILE}" "$CMD" | ||
sleep "${sleeptime}"s # add 60s if you are running on more than 2k nodes |