Joshua Moerman
11 years ago
4 changed files with 78 additions and 3 deletions
@ -0,0 +1,24 @@ |
|||||
|
#!/bin/bash |
||||
|
#SBATCH -t 0:30:00 |
||||
|
#SBATCH -n 4 |
||||
|
|
||||
|
p=4 |
||||
|
n=32768 |
||||
|
mstart=1 |
||||
|
mend=12 |
||||
|
iters=100 |
||||
|
|
||||
|
if [[ `whoami` == "bissstud" ]]; then |
||||
|
cd $HOME/Students13/JoshuaMoerman/assignments |
||||
|
echo "Running on Cartesius $@" |
||||
|
RUNCOMMAND="srun" |
||||
|
else |
||||
|
echo "Running locally $@" |
||||
|
RUNCOMMAND="" |
||||
|
fi |
||||
|
|
||||
|
for m in `seq $mstart $mend`; do |
||||
|
echo -e "\n\033[1;34mtime\t`date`\033[0;39m" |
||||
|
$RUNCOMMAND ./build-Release/wavelet/wavelet_parallel_mockup --m $m --n $n --p $p --show-input --iterations $iters |
||||
|
done |
||||
|
echo -e "\n\033[1;31mtime\t`date`\033[0;39m" |
@ -0,0 +1,25 @@ |
|||||
|
#!/bin/bash |
||||
|
#SBATCH -t 0:30:00 |
||||
|
#SBATCH -n 64 |
||||
|
|
||||
|
m=5 |
||||
|
n=1048576 |
||||
|
pstart=1 |
||||
|
pend=6 |
||||
|
iters=100 |
||||
|
|
||||
|
if [[ `whoami` == "bissstud" ]]; then |
||||
|
cd $HOME/Students13/JoshuaMoerman/assignments |
||||
|
echo "Running on Cartesius $@" |
||||
|
RUNCOMMAND="srun" |
||||
|
else |
||||
|
echo "Running locally $@" |
||||
|
RUNCOMMAND="" |
||||
|
fi |
||||
|
|
||||
|
for i in `seq $pstart $pend`; do |
||||
|
echo -e "\n\033[1;34mtime\t`date`\033[0;39m" |
||||
|
let "p=2**$i" |
||||
|
$RUNCOMMAND ./build-Release/wavelet/wavelet_parallel_mockup --m $m --n $n --p $p --show-input --iterations $iters |
||||
|
done |
||||
|
echo -e "\n\033[1;31mtime\t`date`\033[0;39m" |
@ -0,0 +1,25 @@ |
|||||
|
#!/bin/bash |
||||
|
#SBATCH -t 0:30:00 |
||||
|
#SBATCH -n 4 |
||||
|
|
||||
|
p=4 |
||||
|
m=5 |
||||
|
start=6 |
||||
|
end=27 |
||||
|
iters=100 |
||||
|
|
||||
|
if [[ `whoami` == "bissstud" ]]; then |
||||
|
cd $HOME/Students13/JoshuaMoerman/assignments |
||||
|
echo "Running on Cartesius $@" |
||||
|
RUNCOMMAND="srun" |
||||
|
else |
||||
|
echo "Running locally $@" |
||||
|
RUNCOMMAND="" |
||||
|
fi |
||||
|
|
||||
|
for i in `seq $start $end`; do |
||||
|
echo -e "\n\033[1;34mtime\t`date`\033[0;39m" |
||||
|
let "n=2**$i" |
||||
|
$RUNCOMMAND ./build-Release/wavelet/wavelet_parallel_mockup --seq --m $m --n $n --p $p --show-input --iterations $iters |
||||
|
done |
||||
|
echo -e "\n\033[1;31mtime\t`date`\033[0;39m" |
Reference in new issue