Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-05-14 09:13:43

0001 #!/bin/bash
0002 
0003 set -e # Exit on fail
0004 set -x # Print each command
0005 
0006 jana -b \
0007     -Pplugins=JTest \
0008     -Pbenchmark:resultsdir=test1 \
0009     -Pbenchmark:nsamples=4 \
0010     -Pbenchmark:copyscript=false \
0011     -Pjtest:plotter:cputime_ms=5
0012 
0013 jana -b \
0014     -Pplugins=JTest \
0015     -Pbenchmark:resultsdir=test2 \
0016     -Pbenchmark:nsamples=4 \
0017     -Pbenchmark:copyscript=false \
0018     -Pjtest:plotter:cputime_ms=10
0019 
0020 jana -b \
0021     -Pplugins=JTest \
0022     -Pbenchmark:resultsdir=test3 \
0023     -Pbenchmark:nsamples=4 \
0024     -Pbenchmark:copyscript=false \
0025     -Pjtest:plotter:cputime_ms=20
0026 
0027 echo "title = \"JANA2 Scaling Test: JTest\"" >>plotspec.toml
0028 echo "output_filename = \"scalingplot.pdf\"" >>plotspec.toml
0029 # echo "use_latex = true" >>plotspec.toml
0030 
0031 echo >>plotspec.toml
0032 
0033 echo "[[test]]" >>plotspec.toml
0034 echo "key = \"t_seq = 5 ms\"" >>plotspec.toml
0035 echo "datafile = \"test1/rates.dat\"" >>plotspec.toml
0036 echo "t_seq = 5" >>plotspec.toml
0037 echo "t_par = 145" >>plotspec.toml
0038 
0039 echo >>plotspec.toml
0040 
0041 echo "[[test]]" >>plotspec.toml
0042 echo "key = \"t_seq = 10 ms\"" >>plotspec.toml
0043 echo "datafile = \"test2/rates.dat\"" >>plotspec.toml
0044 echo "t_seq = 10" >>plotspec.toml
0045 echo "t_par = 145" >>plotspec.toml
0046 
0047 echo >>plotspec.toml
0048 
0049 echo "[[test]]" >>plotspec.toml
0050 echo "key = \"t_seq = 20 ms\"" >>plotspec.toml
0051 echo "datafile = \"test3/rates.dat\"" >>plotspec.toml
0052 echo "t_seq = 20" >>plotspec.toml
0053 echo "t_par = 145" >>plotspec.toml
0054 
0055 jana-plot-scaletests.py plotspec.toml