-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from lanl/gshipman-branson
Gshipman branson
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
input=3D_hohlraum_single_node_cpu.xml | ||
cp ../inputs/3D_hohlraum_single_node.xml ./${input} | ||
|
||
sed -i 's/<use_gpu_transporter>TRUE<\/use_gpu_transporter>/<use_gpu_transporter>FALSE<\/use_gpu_transporter>/g' ${input} | ||
|
||
for s in 10 66 200 | ||
do | ||
sed -i 's/<photons>.*<\/photons>/<photons>'${s}'000000\<\/photons>/g' ${input} | ||
#4 12 16 24 32 48 #4 8 16 32 36 64 72 | ||
for i in 8 32 56 88 112 | ||
do | ||
grep photons ${input} | ||
#mpirun -mca coll basic,self,libnbc -n $i ./BRANSON ./3D_hohlraum_single_node_cpu.xml | tee run.$s.$i.out | ||
srun -n $i -m block:block --hint=nomultithread ./BRANSON ./${input} | tee run.$s.$i.out | ||
done | ||
done |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cp ../inputs/3D_hohlraum_single_node_gpu.xml . | ||
for s in 1 2 3 4 5 6 7 8 9 10 20 30 40 50 66 100 133 200 500 1000 2000 4000 5000 | ||
do | ||
sed -i 's/<photons>.*<\/photons>/<photons>'${s}'00000\<\/photons>/g' 3D_hohlraum_single_node_gpu.xml | ||
grep photons 3D_hohlraum_single_node_gpu.xml | ||
#mpirun -np 1 ./BRANSON ./3D_hohlraum_single_node_gpu.xml | tee run.$s.out | ||
srun -n 1 ./BRANSON ./3D_hohlraum_single_node_gpu.xml | tee run.$s.out | ||
done |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
grep FOM run.*.out | awk -F '.' '{print $2 " " $3 " " $4 " " $5 }' | awk '{printf "%d\t%d\t%d.%d \n", $1, $2, $7, $8 }' | sort -n --key=1,1 --key=2,2 |