diff --git a/bin/gen_ci_config b/bin/gen_ci_config index 4dcb8697b7533fa22f13010cc22d213ba05cf1b2..096b41045fd2af6fb47f50926e85a6a9f084c47d 100755 --- a/bin/gen_ci_config +++ b/bin/gen_ci_config @@ -60,6 +60,12 @@ ifile=0 cat <<EOF +default: + timeout: 12 hours 30 minutes + artifacts: + expire_in: 20 weeks + paths: + - results/ stages: - benchmarks EOF diff --git a/clustering/emcal_electrons.sh b/clustering/emcal_electrons.sh index 8302547fad67de8c77721406cc4ffd2a1e2c9b03..f699796f5b9ac1e745025ee8d7ac5c3be7c0a48b 100644 --- a/clustering/emcal_electrons.sh +++ b/clustering/emcal_electrons.sh @@ -7,11 +7,16 @@ mkdir topside/build && cd topside/build cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j30 install cd ../.. ls -lrth -root -b -q "datasets/emcal_electrons.cxx(1e4, \"emcal_uniform_electrons.hepmc\")" +root -b -q "datasets/emcal_electrons.cxx(1e6, \"emcal_uniform_electrons.hepmc\")" cd topside && ls -l -npsim --runType batch --numberOfEvents 1000 --compactFile topside.xml --inputFiles ../emcal_uniform_electrons.hepmc --outputFile ../sim_output/sim_emcal_electrons.root +npsim --runType batch --numberOfEvents 100000 --compactFile topside.xml --inputFiles ../emcal_uniform_electrons.hepmc --outputFile sim_emcal_electrons.root pwd -/usr/local/bin/xenv --xml /usr/local/Juggler.xenv /usr/local/scripts/gaudirun.py ./options/example_crystal.py +ls -lrth ../ +xenv -x /usr/local/Juggler.xenv gaudirun.py options/example_crystal.py cd .. -root -b -q "./scripts/makeplot.C(\"sim_output/sim_emcal_electrons_output.root\")" +ls -lrth +echo " directory: " +pwd +mkdir -p results +root -b -q "./scripts/makeplot.C(\"topside/sim_emcal_electrons_output.root\")" diff --git a/scripts/makeplot.C b/scripts/makeplot.C index 638aa5c6c48438e53377fbe7956704f32d462709..f188b1641ef54ac1ebf9f89e4be0821f78de55d9 100644 --- a/scripts/makeplot.C +++ b/scripts/makeplot.C @@ -2,7 +2,7 @@ // Read reconstruction ROOT output file // Plot variables //////////////////////////////////////// -int makeplot(const char* input_fname = "../sim_output/sim_emcal_electrons_output.root") +int makeplot(const char* input_fname = "sim_output/sim_emcal_electrons_output.root") { // Setting figures gROOT->SetStyle("Plain");