├── .gitignore ├── NPB-3.3.1 ├── .gitignore ├── CG │ └── vector.hh ├── DT │ ├── DGraph.cpp │ ├── DGraph.h │ ├── Makefile │ ├── README │ ├── dt.cpp │ └── dt.h ├── FT │ ├── Makefile │ ├── ft.cpp │ └── global.h ├── Makefile ├── common │ ├── c_print_results.c │ ├── c_timers.c │ ├── print_results.f │ ├── randdp.c │ ├── randdp.f │ ├── randdpvec.f │ ├── randi8.f │ ├── randi8_safe.f │ └── timers.f ├── config │ ├── make.def │ ├── make.def.template │ ├── make.dummy │ └── suite.def.template └── sys │ ├── Makefile │ ├── README │ ├── make.common │ ├── print_header │ ├── print_instructions │ ├── setparams.c │ └── suite.awk ├── all-pairs ├── CMakeLists.txt ├── README.md ├── all-pairs.h ├── build.sh ├── kernel │ ├── all-pairs-kernel.h │ ├── dash-get-kernel.h │ ├── mpi-async-kernel.h │ ├── mpi-kernel.h │ ├── mpi-sync-kernel.h │ ├── rma-get-kernel.h │ ├── rma-kernel.h │ └── rma-put-kernel.h ├── license.md ├── logger.h ├── main.cpp ├── program_options.h └── rscripts │ ├── README │ ├── analyze_all_pairs.r │ └── load_and_process.r ├── astar ├── mpi │ ├── Astar.cpp │ ├── Astar.h │ ├── JUtils.h │ ├── Makefile │ ├── Puzzle.cpp │ ├── Puzzle.h │ ├── main │ └── main.cpp └── sequential │ ├── AStar.cpp │ ├── AStar.h │ ├── JUtils.h │ ├── Puzzle.cpp │ ├── Puzzle.h │ ├── main │ ├── main.cpp │ └── makefile ├── astro-tutorial ├── 01-hello_world │ ├── Makefile │ ├── hello.cpp │ ├── hello_array.cpp │ ├── hello_minimum-assignment.cpp │ └── hello_minimum.cpp ├── 02-astro_load_image │ ├── Makefile │ ├── astro-assignment.cpp │ ├── astro-solution.cpp │ ├── astro.cpp │ └── misc.h ├── 03-astro_histogram │ ├── Makefile │ ├── astro-assignment.cpp │ ├── astro-solution.cpp │ ├── astro.cpp │ └── misc.h ├── 04-astro_marker_color │ ├── Makefile │ ├── astro-assignment.cpp │ ├── astro-solution.cpp │ ├── astro.cpp │ └── misc.h ├── 05-astro_count_objects │ ├── Makefile │ ├── astro-assignment.cpp │ ├── astro-solution.cpp │ ├── astro.cpp │ └── misc.h ├── 06-astro_count_with_ids │ ├── Makefile │ ├── astro.cpp │ └── misc.h ├── README.md ├── heic1620a-source.txt └── make.defs ├── cowichan ├── .gitignore ├── Makefile ├── SuperMUC │ ├── .bashrc │ ├── Makefile │ ├── Terminal_Color.h │ ├── bench.sh │ ├── bug │ │ ├── Makefile │ │ └── bug.cpp │ ├── chain │ │ ├── Makefile │ │ └── chain.cpp │ ├── make.defs │ ├── outer │ │ ├── Makefile │ │ ├── outer.cpp │ │ └── outer.h │ ├── product │ │ ├── Makefile │ │ ├── product.cpp │ │ └── product.h │ ├── randmat │ │ ├── Makefile │ │ ├── randmat.cpp │ │ └── randmat.h │ ├── template │ ├── thresh │ │ ├── Makefile │ │ ├── thresh.cpp │ │ └── thresh.h │ └── winnow │ │ ├── Makefile │ │ ├── input │ │ ├── winnow.cpp │ │ └── winnow.h ├── Terminal_Color.h ├── baSrcPaper │ ├── README │ ├── chapel │ │ ├── chain │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── config.chpl │ │ │ │ ├── main.chpl │ │ │ │ ├── main.in │ │ │ │ ├── outer.chpl │ │ │ │ ├── product.chpl │ │ │ │ ├── randmat.chpl │ │ │ │ ├── thresh.chpl │ │ │ │ └── winnow.chpl │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── config.chpl │ │ │ │ ├── main.chpl │ │ │ │ ├── main.in │ │ │ │ ├── outer.chpl │ │ │ │ ├── product.chpl │ │ │ │ ├── randmat.chpl │ │ │ │ ├── thresh.chpl │ │ │ │ └── winnow.chpl │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── config.chpl │ │ │ │ ├── main.chpl │ │ │ │ ├── main.in │ │ │ │ ├── outer.chpl │ │ │ │ ├── product.chpl │ │ │ │ ├── randmat.chpl │ │ │ │ ├── thresh.chpl │ │ │ │ └── winnow.chpl │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── config.chpl │ │ │ │ ├── main.chpl │ │ │ │ ├── main.in │ │ │ │ ├── outer.chpl │ │ │ │ ├── product.chpl │ │ │ │ ├── randmat.chpl │ │ │ │ ├── thresh.chpl │ │ │ │ └── winnow.chpl │ │ ├── outer │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ ├── product │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ ├── randmat │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ └── main.in │ │ ├── thresh │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.g │ │ │ │ ├── main.in │ │ │ │ ├── main2.g │ │ │ │ ├── main2.in │ │ │ │ ├── main3.g │ │ │ │ ├── main3.in │ │ │ │ ├── main4.g │ │ │ │ ├── main4.in │ │ │ │ ├── main5.g │ │ │ │ ├── main5.in │ │ │ │ ├── main6.g │ │ │ │ └── main6.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.g │ │ │ │ ├── main.in │ │ │ │ ├── main2.g │ │ │ │ ├── main2.in │ │ │ │ ├── main3.g │ │ │ │ ├── main3.in │ │ │ │ ├── main4.g │ │ │ │ ├── main4.in │ │ │ │ ├── main5.g │ │ │ │ ├── main5.in │ │ │ │ ├── main6.g │ │ │ │ └── main6.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.g │ │ │ │ ├── main.in │ │ │ │ ├── main2.g │ │ │ │ ├── main2.in │ │ │ │ ├── main3.g │ │ │ │ ├── main3.in │ │ │ │ ├── main4.g │ │ │ │ ├── main4.in │ │ │ │ ├── main5.g │ │ │ │ ├── main5.in │ │ │ │ ├── main6.g │ │ │ │ └── main6.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.chpl │ │ │ │ ├── main.g │ │ │ │ ├── main.in │ │ │ │ ├── main2.g │ │ │ │ ├── main2.in │ │ │ │ ├── main3.g │ │ │ │ ├── main3.in │ │ │ │ ├── main4.g │ │ │ │ ├── main4.in │ │ │ │ ├── main5.g │ │ │ │ ├── main5.in │ │ │ │ ├── main6.g │ │ │ │ └── main6.in │ │ └── winnow │ │ │ ├── expertpar │ │ │ ├── Makefile │ │ │ ├── main.chpl │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ ├── expertseq │ │ │ ├── Makefile │ │ │ ├── main.chpl │ │ │ ├── main.g │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.g │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.g │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.g │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ ├── par │ │ │ ├── Makefile │ │ │ ├── main.chpl │ │ │ ├── main.g │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.g │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.g │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.g │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ └── seq │ │ │ ├── Makefile │ │ │ ├── main.chpl │ │ │ ├── main.g │ │ │ ├── main.in │ │ │ ├── main2.g │ │ │ ├── main2.in │ │ │ ├── main3.g │ │ │ ├── main3.in │ │ │ ├── main4.g │ │ │ └── main4.in │ ├── cilk │ │ ├── chain │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── common.h │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── outer.cpp │ │ │ │ ├── product.cpp │ │ │ │ ├── randmat.cpp │ │ │ │ ├── thresh.cpp │ │ │ │ └── winnow.cpp │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── common.cilkh │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── outer.cpp │ │ │ │ ├── product.cpp │ │ │ │ ├── randmat.cpp │ │ │ │ ├── thresh.cpp │ │ │ │ └── winnow.cpp │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── common.h │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── outer.cpp │ │ │ │ ├── product.cpp │ │ │ │ ├── randmat.cpp │ │ │ │ ├── thresh.cpp │ │ │ │ └── winnow.cpp │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── common.cilkh │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── outer.cpp │ │ │ │ ├── product.cpp │ │ │ │ ├── randmat.cpp │ │ │ │ ├── thresh.cpp │ │ │ │ └── winnow.cpp │ │ ├── outer │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ ├── product │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ ├── randmat │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.g │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ └── main.in │ │ ├── thresh │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── main2.gold │ │ │ │ ├── main2.in │ │ │ │ ├── main3.gold │ │ │ │ ├── main3.in │ │ │ │ ├── main4.gold │ │ │ │ ├── main4.in │ │ │ │ ├── main5.gold │ │ │ │ ├── main5.in │ │ │ │ ├── main6.gold │ │ │ │ ├── main6.in │ │ │ │ └── reducer_opadd_array.h │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── main2.gold │ │ │ │ ├── main2.in │ │ │ │ ├── main3.gold │ │ │ │ ├── main3.in │ │ │ │ ├── main4.gold │ │ │ │ ├── main4.in │ │ │ │ ├── main5.gold │ │ │ │ ├── main5.in │ │ │ │ ├── main6.gold │ │ │ │ └── main6.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── main2.gold │ │ │ │ ├── main2.in │ │ │ │ ├── main3.gold │ │ │ │ ├── main3.in │ │ │ │ ├── main4.gold │ │ │ │ ├── main4.in │ │ │ │ ├── main5.gold │ │ │ │ ├── main5.in │ │ │ │ ├── main6.gold │ │ │ │ └── main6.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.cpp │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── main2.gold │ │ │ │ ├── main2.in │ │ │ │ ├── main3.gold │ │ │ │ ├── main3.in │ │ │ │ ├── main4.gold │ │ │ │ ├── main4.in │ │ │ │ ├── main5.gold │ │ │ │ ├── main5.in │ │ │ │ ├── main6.gold │ │ │ │ └── main6.in │ │ └── winnow │ │ │ ├── expertpar │ │ │ ├── Makefile │ │ │ ├── main.cpp │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ ├── expertseq │ │ │ ├── Makefile │ │ │ ├── main.cpp │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ ├── par │ │ │ ├── Makefile │ │ │ ├── main.cpp │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ └── seq │ │ │ ├── Makefile │ │ │ ├── main.cpp │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ ├── cpp │ │ ├── chain │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.in │ │ │ ├── outer.cc │ │ │ ├── product.cc │ │ │ ├── randmat.cc │ │ │ ├── thresh.cc │ │ │ └── winnow.cc │ │ ├── outer │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ ├── product │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ ├── randmat │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ └── main.in │ │ ├── thresh │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.in │ │ │ ├── main2.in │ │ │ ├── main3.in │ │ │ ├── main4.in │ │ │ ├── main5.in │ │ │ ├── main6.in │ │ │ └── thresh.in │ │ └── winnow │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ ├── go │ │ ├── chain │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ └── src │ │ │ │ │ ├── all │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── outer.go │ │ │ │ │ ├── product.go │ │ │ │ │ ├── randmat.go │ │ │ │ │ ├── thresh.go │ │ │ │ │ └── winnow.go │ │ │ │ │ └── main │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── main.go │ │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ └── src │ │ │ │ ├── all │ │ │ │ ├── Makefile │ │ │ │ ├── outer.go │ │ │ │ ├── product.go │ │ │ │ ├── randmat.go │ │ │ │ ├── thresh.go │ │ │ │ └── winnow.go │ │ │ │ └── main │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ └── main.in │ │ ├── outer │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ ├── product │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ └── main.in │ │ ├── randmat │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ └── main.go │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ └── main.go │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ └── main.go │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ └── main.go │ │ ├── thresh │ │ │ ├── expertpar │ │ │ │ ├── Makefile │ │ │ │ ├── gothresh.in │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── main2.gold │ │ │ │ ├── main2.in │ │ │ │ ├── main3.gold │ │ │ │ ├── main3.in │ │ │ │ ├── main4.gold │ │ │ │ ├── main4.in │ │ │ │ ├── main5.gold │ │ │ │ ├── main5.in │ │ │ │ ├── main6.gold │ │ │ │ ├── main6.in │ │ │ │ └── thresh.in │ │ │ ├── expertseq │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── main2.gold │ │ │ │ ├── main2.in │ │ │ │ ├── main3.gold │ │ │ │ ├── main3.in │ │ │ │ ├── main4.gold │ │ │ │ ├── main4.in │ │ │ │ ├── main5.gold │ │ │ │ ├── main5.in │ │ │ │ ├── main6.gold │ │ │ │ └── main6.in │ │ │ ├── par │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── main2.gold │ │ │ │ ├── main2.in │ │ │ │ ├── main3.gold │ │ │ │ ├── main3.in │ │ │ │ ├── main4.gold │ │ │ │ ├── main4.in │ │ │ │ ├── main5.gold │ │ │ │ ├── main5.in │ │ │ │ ├── main6.gold │ │ │ │ └── main6.in │ │ │ └── seq │ │ │ │ ├── Makefile │ │ │ │ ├── main.go │ │ │ │ ├── main.gold │ │ │ │ ├── main.in │ │ │ │ ├── main2.gold │ │ │ │ ├── main2.in │ │ │ │ ├── main3.gold │ │ │ │ ├── main3.in │ │ │ │ ├── main4.gold │ │ │ │ ├── main4.in │ │ │ │ ├── main5.gold │ │ │ │ ├── main5.in │ │ │ │ ├── main6.gold │ │ │ │ └── main6.in │ │ └── winnow │ │ │ ├── expertpar │ │ │ ├── Makefile │ │ │ ├── main.go │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ ├── expertseq │ │ │ ├── Makefile │ │ │ ├── main.go │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ ├── par │ │ │ ├── Makefile │ │ │ ├── main.go │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ │ │ └── seq │ │ │ ├── Makefile │ │ │ ├── main.go │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ └── main4.in │ ├── metric │ │ ├── perf │ │ │ ├── Makefile │ │ │ ├── config.py │ │ │ ├── graphs.py │ │ │ ├── main.py │ │ │ ├── problems.py │ │ │ ├── tdist.txt │ │ │ ├── test.py │ │ │ └── utils.py │ │ ├── r │ │ │ ├── test.r │ │ │ └── test_paired.r │ │ └── time │ │ │ ├── Makefile │ │ │ ├── eiffel_cloc_def.txt │ │ │ ├── git_log.sh │ │ │ ├── git_log.txt │ │ │ ├── loc_graph.py │ │ │ ├── log_reverse.txt │ │ │ ├── log_reverse.txt.bak │ │ │ ├── main.py │ │ │ └── tdist.txt │ └── tbb │ │ ├── chain │ │ ├── expertpar │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── outer.cc │ │ │ ├── product.cc │ │ │ ├── randmat.cc │ │ │ ├── thresh.cc │ │ │ └── winnow.cc │ │ ├── expertseq │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── outer.cc │ │ │ ├── product.cc │ │ │ ├── randmat.cc │ │ │ ├── thresh.cc │ │ │ └── winnow.cc │ │ ├── par │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── outer.cc │ │ │ ├── product.cc │ │ │ ├── randmat.cc │ │ │ ├── thresh.cc │ │ │ └── winnow.cc │ │ └── seq │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── outer.cc │ │ │ ├── product.cc │ │ │ ├── randmat.cc │ │ │ ├── thresh.cc │ │ │ └── winnow.cc │ │ ├── outer │ │ ├── expertpar │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ ├── expertseq │ │ │ ├── Makefile │ │ │ ├── chain.in │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ ├── par │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ └── seq │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ ├── product │ │ ├── expertpar │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ ├── expertseq │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ ├── par │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ └── seq │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ └── main.in │ │ ├── randmat │ │ ├── expertpar │ │ │ ├── Makefile │ │ │ └── main.cc │ │ ├── expertseq │ │ │ ├── Makefile │ │ │ └── main.cc │ │ ├── par │ │ │ ├── Makefile │ │ │ └── main.cc │ │ └── seq │ │ │ ├── Makefile │ │ │ └── main.cc │ │ ├── thresh │ │ ├── expertpar │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ ├── main4.in │ │ │ ├── main5.gold │ │ │ ├── main5.in │ │ │ ├── main6.gold │ │ │ └── main6.in │ │ ├── expertseq │ │ │ ├── Makefile │ │ │ ├── chain.in │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ ├── main4.in │ │ │ ├── main5.gold │ │ │ ├── main5.in │ │ │ ├── main6.gold │ │ │ └── main6.in │ │ ├── par │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ ├── main4.in │ │ │ ├── main5.gold │ │ │ ├── main5.in │ │ │ ├── main6.gold │ │ │ └── main6.in │ │ └── seq │ │ │ ├── Makefile │ │ │ ├── main.cc │ │ │ ├── main.gold │ │ │ ├── main.in │ │ │ ├── main2.gold │ │ │ ├── main2.in │ │ │ ├── main3.gold │ │ │ ├── main3.in │ │ │ ├── main4.gold │ │ │ ├── main4.in │ │ │ ├── main5.gold │ │ │ ├── main5.in │ │ │ ├── main6.gold │ │ │ └── main6.in │ │ └── winnow │ │ ├── expertpar │ │ ├── Makefile │ │ ├── main.cc │ │ ├── main.gold │ │ ├── main.in │ │ ├── main2.gold │ │ ├── main2.in │ │ ├── main3.gold │ │ ├── main3.in │ │ ├── main4.gold │ │ └── main4.in │ │ ├── expertseq │ │ ├── Makefile │ │ ├── chain.in │ │ ├── main.cc │ │ ├── main.gold │ │ ├── main.in │ │ ├── main2.gold │ │ ├── main2.in │ │ ├── main3.gold │ │ ├── main3.in │ │ ├── main4.gold │ │ └── main4.in │ │ ├── par │ │ ├── Makefile │ │ ├── main.cc │ │ ├── main.gold │ │ ├── main.in │ │ ├── main2.gold │ │ ├── main2.in │ │ ├── main3.gold │ │ ├── main3.in │ │ ├── main4.gold │ │ └── main4.in │ │ └── seq │ │ ├── Makefile │ │ ├── main.cc │ │ ├── main.gold │ │ ├── main.in │ │ ├── main2.gold │ │ ├── main2.in │ │ ├── main3.gold │ │ ├── main3.in │ │ ├── main4.gold │ │ └── main4.in ├── benchAll.sh ├── benchChapel.sh ├── benchCilk.sh ├── benchDash.sh ├── benchGo.sh ├── benchTBB.sh ├── c.sh ├── chain │ ├── Makefile │ └── chain.cpp ├── make.defs ├── outer │ ├── Makefile │ ├── outer.cpp │ └── outer.h ├── product │ ├── Makefile │ ├── product.cpp │ └── product.h ├── randmat │ ├── Makefile │ ├── randmat.cpp │ └── randmat.h ├── thresh │ ├── Makefile │ ├── thresh.cpp │ └── thresh.h ├── w.sh └── winnow │ ├── Makefile │ ├── input │ ├── winnow.cpp │ └── winnow.h ├── dummy-app ├── CMakeLists.txt ├── build.sh └── main.cpp ├── heat_equation ├── heatDASH_2d.cpp ├── heatDASH_2d_custom_scafes.cpp ├── heatDASH_3d.cpp ├── heatDASH_3d_custom_scafes.cpp ├── heatMPI_2d.c ├── heatMPI_2d.h ├── heatMPI_3d.c ├── heatMPI_3d.h ├── heatScafes_2d.cpp ├── heatScafes_2d.hpp ├── heatScafes_3d.cpp ├── heatScafes_3d.hpp └── minimon.h ├── hpccg ├── compile-all.sh ├── jobfiles │ ├── cori │ │ ├── schedule-job.sh │ │ ├── weakScaleAll-cray-hw-large.tpl.job │ │ ├── weakScaleAll-cray-hw-small.tpl.job │ │ ├── weakScaleAll-cray-kl-large.tpl.job │ │ ├── weakScaleAll-cray-kl-small.tpl.job │ │ ├── weakScaleAll-cray-large.tpl.job │ │ └── weakScaleAll-cray.tpl.job │ └── supermuc │ │ ├── README.md │ │ ├── schedule-job.sh │ │ ├── weakScaleAll-ibm-large.tpl.job │ │ ├── weakScaleAll-ibm-small.job │ │ ├── weakScaleAll-ibm.tpl.job │ │ ├── weakScaleAll-intel-large.tpl.job │ │ └── weakScaleAll-intel-small.tpl.job ├── plot_results.py ├── results_to_csv.py ├── src_dart │ ├── HPCCG.cpp │ ├── HPCCG.hpp │ ├── HPC_Sparse_Matrix.cpp │ ├── HPC_Sparse_Matrix.hpp │ ├── HPC_sparsemv.cpp │ ├── HPC_sparsemv.hpp │ ├── Makefile │ ├── Makefile.cori.cray │ ├── Makefile.supermuc │ ├── README │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── compute_residual.cpp │ ├── compute_residual.hpp │ ├── ddot.cpp │ ├── ddot.hpp │ ├── dump_matlab_matrix.cpp │ ├── dump_matlab_matrix.hpp │ ├── exchange_externals.cpp │ ├── exchange_externals.hpp │ ├── generate_matrix.cpp │ ├── generate_matrix.hpp │ ├── main.cpp │ ├── make_local_matrix.cpp │ ├── make_local_matrix.hpp │ ├── mytimer.cpp │ ├── mytimer.hpp │ ├── read_HPC_row.cpp │ ├── read_HPC_row.hpp │ ├── run_weak.sh │ ├── strongScalingRunScript │ ├── waxpby.cpp │ ├── waxpby.hpp │ └── weakScalingRunScript ├── src_dash │ ├── HPCCG.cpp │ ├── HPCCG.hpp │ ├── HPC_Sparse_Matrix.cpp │ ├── HPC_Sparse_Matrix.hpp │ ├── HPC_sparsemv.cpp │ ├── HPC_sparsemv.hpp │ ├── Makefile │ ├── Makefile.cori.cray │ ├── Makefile.supermuc │ ├── README │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── compute_residual.cpp │ ├── compute_residual.hpp │ ├── ddot.cpp │ ├── ddot.hpp │ ├── dump_matlab_matrix.cpp │ ├── dump_matlab_matrix.hpp │ ├── exchange_externals.cpp │ ├── exchange_externals.hpp │ ├── generate_matrix.cpp │ ├── generate_matrix.hpp │ ├── main.cpp │ ├── make_local_matrix.cpp │ ├── make_local_matrix.hpp │ ├── mytimer.cpp │ ├── mytimer.hpp │ ├── read_HPC_row.cpp │ ├── read_HPC_row.hpp │ ├── strongScalingRunScript │ ├── waxpby.cpp │ ├── waxpby.hpp │ └── weakScalingRunScript ├── src_dash_coarray │ ├── HPCCG.cpp │ ├── HPCCG.hpp │ ├── HPC_Sparse_Matrix.cpp │ ├── HPC_Sparse_Matrix.hpp │ ├── HPC_sparsemv.cpp │ ├── HPC_sparsemv.hpp │ ├── Makefile │ ├── Makefile.cori.cray │ ├── Makefile.supermuc │ ├── README │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── compute_residual.cpp │ ├── compute_residual.hpp │ ├── ddot.cpp │ ├── ddot.hpp │ ├── dump_matlab_matrix.cpp │ ├── dump_matlab_matrix.hpp │ ├── exchange_externals.cpp │ ├── exchange_externals.hpp │ ├── generate_matrix.cpp │ ├── generate_matrix.hpp │ ├── main.cpp │ ├── make_local_matrix.cpp │ ├── make_local_matrix.hpp │ ├── mytimer.cpp │ ├── mytimer.hpp │ ├── read_HPC_row.cpp │ ├── read_HPC_row.hpp │ ├── strongScalingRunScript │ ├── waxpby.cpp │ ├── waxpby.hpp │ └── weakScalingRunScript ├── src_mpirma │ ├── HPCCG.cpp │ ├── HPCCG.hpp │ ├── HPC_Sparse_Matrix.cpp │ ├── HPC_Sparse_Matrix.hpp │ ├── HPC_sparsemv.cpp │ ├── HPC_sparsemv.hpp │ ├── Makefile │ ├── Makefile.cori.cray │ ├── Makefile.supermuc │ ├── README │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── compute_residual.cpp │ ├── compute_residual.hpp │ ├── ddot.cpp │ ├── ddot.hpp │ ├── dump_matlab_matrix.cpp │ ├── dump_matlab_matrix.hpp │ ├── exchange_externals.cpp │ ├── exchange_externals.hpp │ ├── generate_matrix.cpp │ ├── generate_matrix.hpp │ ├── main.cpp │ ├── make_local_matrix.cpp │ ├── make_local_matrix.hpp │ ├── mytimer.cpp │ ├── mytimer.hpp │ ├── read_HPC_row.cpp │ ├── read_HPC_row.hpp │ ├── strongScalingRunScript │ ├── waxpby.cpp │ ├── waxpby.hpp │ └── weakScalingRunScript └── src_ref │ ├── HPCCG.cpp │ ├── HPCCG.hpp │ ├── HPC_Sparse_Matrix.cpp │ ├── HPC_Sparse_Matrix.hpp │ ├── HPC_sparsemv.cpp │ ├── HPC_sparsemv.hpp │ ├── Makefile │ ├── Makefile.cori.cray │ ├── Makefile.supermuc │ ├── README │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── compute_residual.cpp │ ├── compute_residual.hpp │ ├── ddot.cpp │ ├── ddot.hpp │ ├── dump_matlab_matrix.cpp │ ├── dump_matlab_matrix.hpp │ ├── exchange_externals.cpp │ ├── exchange_externals.hpp │ ├── generate_matrix.cpp │ ├── generate_matrix.hpp │ ├── main.cpp │ ├── make_local_matrix.cpp │ ├── make_local_matrix.hpp │ ├── mytimer.cpp │ ├── mytimer.hpp │ ├── read_HPC_row.cpp │ ├── read_HPC_row.hpp │ ├── strongScalingRunScript │ ├── waxpby.cpp │ ├── waxpby.hpp │ └── weakScalingRunScript ├── isx └── dash │ ├── Makefile │ ├── README.md │ ├── isx.cc │ ├── isx.h │ ├── params.h │ ├── pcg_basic.cc │ ├── pcg_basic.h │ ├── run.log │ ├── timer.cc │ ├── timer.h │ └── unitialized_vector.h ├── locplot ├── build.sh ├── examples │ ├── locdomains.projekt03.global.json │ ├── locdomains.projekt03.groups.json │ ├── locdomains.projekt03.json │ ├── locdomains.supermic.1-group.json │ ├── locdomains.supermic.2-groups.json │ ├── locdomains.supermic.group-0.n2.ph.th2.pm6.tm40.json │ ├── locdomains.supermic.json │ └── locdomains.supermic.n2.ph.th2.pm6.tm40.json ├── json.h └── main.cc ├── lulesh ├── CMakeLists.txt ├── Makefile ├── build.sh ├── lulesh-calc.cc ├── lulesh-calc.h ├── lulesh-comm-dash-onesided.cc ├── lulesh-comm-dash-onesided.h ├── lulesh-comm-dash.cc ├── lulesh-comm-dash.h ├── lulesh-comm-mpi-sendrecv.cc ├── lulesh-comm-mpi-sendrecv.h ├── lulesh-comm-mpi.cc ├── lulesh-comm-mpi.h ├── lulesh-dash-params.h ├── lulesh-dash-regions.cc ├── lulesh-dash-regions.h ├── lulesh-dash.cc ├── lulesh-dash.h ├── lulesh-opts.cc ├── lulesh-opts.h ├── lulesh-util.cc ├── lulesh-util.h ├── lulesh.cc ├── lulesh.h ├── make.defs └── run.sh ├── minife ├── .gitignore ├── basic │ ├── Box.hpp │ ├── BoxIterator.hpp │ ├── BoxPartition.cpp │ ├── BoxPartition.hpp │ ├── CSRMatrix.hpp │ ├── ComputeNodeType.hpp │ ├── DotOp.hpp │ ├── ELLMatrix.hpp │ ├── FEComputeElem.hpp │ ├── FusedMatvecDotOp.hpp │ ├── GetNodesCoords.hpp │ ├── Hex8_box_utils.hpp │ ├── Lock.hpp │ ├── LockingMatrix.hpp │ ├── LockingVector.hpp │ ├── MatrixCopyOp.hpp │ ├── MatrixInitOp.hpp │ ├── MatvecOp.hpp │ ├── MemInitOp.hpp │ ├── NoOpMemoryModel.hpp │ ├── SerialComputeNode.hpp │ ├── SparseMatrix_functions.hpp │ ├── SumInLinSys.hpp │ ├── TBBNode.cpp │ ├── TBBNode.hpp │ ├── TPINode.hpp │ ├── TypeTraits.hpp │ ├── Vector.hpp │ ├── Vector_functions.hpp │ ├── WaxpbyOp.hpp │ ├── analytic_soln.hpp │ ├── assemble_FE_data.hpp │ ├── box_utils.hpp │ ├── cg_solve.hpp │ ├── compute_matrix_stats.hpp │ ├── driver.hpp │ ├── exchange_externals.hpp │ ├── generate_matrix_structure.hpp │ ├── get_common_files │ ├── gold_files │ │ ├── 1x1x2_A.mtx.1.0 │ │ ├── 1x1x2_A.mtx.2.0 │ │ ├── 1x1x2_A.mtx.2.1 │ │ ├── 1x1x2_b.vec.1.0 │ │ ├── 1x1x2_b.vec.2.0 │ │ ├── 1x1x2_b.vec.2.1 │ │ ├── 1x1x2_x.vec.1.0 │ │ ├── 1x1x2_x.vec.2.0 │ │ └── 1x1x2_x.vec.2.1 │ ├── imbalance.hpp │ ├── main.cpp │ ├── make_local_matrix.hpp │ ├── make_targets │ ├── makefile │ ├── makefile.cuda.gnu.serial │ ├── makefile.cuda.tbb.gnu.serial │ ├── makefile.debug │ ├── makefile.gnu.purify │ ├── makefile.gnu.quantify │ ├── makefile.gnu.serial │ ├── makefile.intel.serial │ ├── makefile.redstorm │ ├── makefile.tbb │ ├── makefile.tbb.gnu.serial │ ├── makefile.tpi │ ├── makefile.tpi.gnu.serial │ ├── optional │ │ ├── README │ │ ├── ThreadPool │ │ │ ├── CMakeLists.txt │ │ │ ├── Makefile.am │ │ │ ├── Makefile.export.threadpool.in │ │ │ ├── Makefile.in │ │ │ ├── ThreadPool_config.h │ │ │ ├── aclocal.m4 │ │ │ ├── bootstrap │ │ │ ├── cmake │ │ │ │ ├── Dependencies.cmake │ │ │ │ └── ThreadPool_config.h.in │ │ │ ├── config │ │ │ │ ├── acx_pthread.m4 │ │ │ │ ├── config.guess │ │ │ │ ├── config.sub │ │ │ │ ├── depcomp │ │ │ │ ├── generate-makeoptions.pl │ │ │ │ ├── install-sh │ │ │ │ ├── missing │ │ │ │ ├── replace-install-prefix.pl │ │ │ │ ├── string-replace.pl │ │ │ │ ├── strip_dup_incl_paths.pl │ │ │ │ ├── strip_dup_libs.pl │ │ │ │ ├── tac_arg_check_mpi.m4 │ │ │ │ ├── tac_arg_config_mpi.m4 │ │ │ │ ├── tac_arg_enable_export-makefiles.m4 │ │ │ │ ├── tac_arg_enable_feature.m4 │ │ │ │ ├── tac_arg_enable_feature_sub_check.m4 │ │ │ │ ├── tac_arg_with_ar.m4 │ │ │ │ ├── tac_arg_with_flags.m4 │ │ │ │ ├── tac_arg_with_incdirs.m4 │ │ │ │ ├── tac_arg_with_libdirs.m4 │ │ │ │ ├── tac_arg_with_libs.m4 │ │ │ │ ├── tac_arg_with_perl.m4 │ │ │ │ └── token-replace.pl │ │ │ ├── configure │ │ │ ├── configure.ac │ │ │ ├── src │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile.am │ │ │ │ ├── Makefile.in │ │ │ │ ├── TPI.c │ │ │ │ ├── TPI.h │ │ │ │ ├── TPI.hpp │ │ │ │ ├── TPI_Walltime.c │ │ │ │ └── ThreadPool_config.h.in │ │ │ └── test │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile.am │ │ │ │ ├── Makefile.in │ │ │ │ ├── build_gnu │ │ │ │ ├── build_intel │ │ │ │ ├── build_pgi │ │ │ │ ├── hhpccg │ │ │ │ ├── BoxPartitionIB.c │ │ │ │ ├── BoxPartitionIB.h │ │ │ │ ├── CGSolver.c │ │ │ │ ├── CGSolver.h │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── dcrs_matrix.c │ │ │ │ ├── dcrs_matrix.h │ │ │ │ ├── main.c │ │ │ │ ├── tpi_vector.c │ │ │ │ └── tpi_vector.h │ │ │ │ ├── hpccg │ │ │ │ ├── BoxPartition.c │ │ │ │ ├── BoxPartition.h │ │ │ │ ├── CGSolver.c │ │ │ │ ├── CGSolver.h │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── main.c │ │ │ │ ├── tpi_vector.c │ │ │ │ └── tpi_vector.h │ │ │ │ ├── test_c_dnax.c │ │ │ │ ├── test_mpi_sum.c │ │ │ │ ├── test_pthreads.c │ │ │ │ ├── test_tpi.cpp │ │ │ │ └── test_tpi_unit.c │ │ ├── copy_from_trilinos │ │ ├── cuda │ │ │ ├── CudaCall.hpp │ │ │ ├── CudaMemoryModel.hpp │ │ │ ├── CudaNode.cpp │ │ │ ├── CudaNode.cuh │ │ │ ├── CudaNode.hpp │ │ │ ├── CudaNodeImpl.hpp │ │ │ ├── Matrix.cu │ │ │ ├── Vector.cu │ │ │ └── cutil_inline_runtime.h │ │ └── make_targets │ ├── perform_element_loop.hpp │ ├── perform_element_loop_TBB_pipe.hpp │ ├── perform_element_loop_TBB_pllfor1.hpp │ ├── perform_element_loop_TBB_pllfor2.hpp │ ├── run_one_test │ ├── run_tests │ ├── sharedmem.cuh │ ├── simple_mesh_description.hpp │ ├── time_kernels.hpp │ ├── utest.cpp │ ├── utest_case.hpp │ ├── utest_cases.hpp │ └── verify_solution.hpp ├── fem │ ├── ElemData.hpp │ ├── Hex8.hpp │ ├── Hex8_ElemData.hpp │ ├── Hex8_enums.hpp │ ├── analytic_soln.hpp │ ├── gauss_pts.hpp │ ├── matrix_algebra_3x3.hpp │ └── verify_solution.hpp ├── src │ ├── CSRMatrix.hpp │ ├── ELLMatrix.hpp │ ├── GetNodesCoords.hpp │ ├── Hex8_box_utils.hpp │ ├── Makefile │ ├── Makefile.gnu.serial │ ├── Makefile.ibm.pwrlinux.serial │ ├── Makefile.intel.serial │ ├── MatrixCopyOp.hpp │ ├── MatrixInitOp.hpp │ ├── SparseMatrix_functions.hpp │ ├── Vector.hpp │ ├── Vector_functions.hpp │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── assemble_FE_data.hpp │ ├── cg_solve.hpp │ ├── driver.hpp │ ├── exchange_externals.hpp │ ├── generate_info_header │ ├── generate_matrix_structure.hpp │ ├── get_common_files │ ├── main.cpp │ ├── make_local_matrix.hpp │ ├── make_targets │ ├── perform_element_loop.hpp │ ├── run_test │ ├── simple_mesh_description.hpp │ └── time_kernels.hpp ├── src_dart │ ├── CSRMatrix.hpp │ ├── ELLMatrix.hpp │ ├── GetNodesCoords.hpp │ ├── Hex8_box_utils.hpp │ ├── Makefile │ ├── Makefile.gnu.serial │ ├── Makefile.ibm.pwrlinux.serial │ ├── Makefile.intel.serial │ ├── MatrixCopyOp.hpp │ ├── MatrixInitOp.hpp │ ├── SparseMatrix_functions.hpp │ ├── Vector.hpp │ ├── Vector_functions.hpp │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── assemble_FE_data.hpp │ ├── cg_solve.hpp │ ├── driver.hpp │ ├── exchange_externals.hpp │ ├── generate_info_header │ ├── generate_matrix_structure.hpp │ ├── get_common_files │ ├── main.cpp │ ├── make_local_matrix.hpp │ ├── make_targets │ ├── minife_debug.1.0 │ ├── perform_element_loop.hpp │ ├── run_test │ ├── run_weak.sh │ ├── simple_mesh_description.hpp │ └── time_kernels.hpp ├── src_dash │ ├── CSRMatrix.hpp │ ├── ELLMatrix.hpp │ ├── GetNodesCoords.hpp │ ├── Hex8_box_utils.hpp │ ├── Makefile │ ├── Makefile.gnu.serial │ ├── Makefile.ibm.pwrlinux.serial │ ├── Makefile.intel.serial │ ├── MatrixCopyOp.hpp │ ├── MatrixInitOp.hpp │ ├── SparseMatrix_functions.hpp │ ├── Vector.hpp │ ├── Vector_functions.hpp │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── assemble_FE_data.hpp │ ├── cg_solve.hpp │ ├── driver.hpp │ ├── exchange_externals.hpp │ ├── generate_info_header │ ├── generate_matrix_structure.hpp │ ├── get_common_files │ ├── main.cpp │ ├── make_local_matrix.hpp │ ├── make_targets │ ├── minife_debug.1.0 │ ├── perform_element_loop.hpp │ ├── run_test │ ├── simple_mesh_description.hpp │ └── time_kernels.hpp ├── src_mpirma │ ├── CSRMatrix.hpp │ ├── ELLMatrix.hpp │ ├── GetNodesCoords.hpp │ ├── Hex8_box_utils.hpp │ ├── Makefile │ ├── Makefile.gnu.serial │ ├── Makefile.ibm.pwrlinux.serial │ ├── Makefile.intel.serial │ ├── MatrixCopyOp.hpp │ ├── MatrixInitOp.hpp │ ├── SparseMatrix_functions.hpp │ ├── Vector.hpp │ ├── Vector_functions.hpp │ ├── YAML_Doc.cpp │ ├── YAML_Doc.hpp │ ├── YAML_Element.cpp │ ├── YAML_Element.hpp │ ├── assemble_FE_data.hpp │ ├── cg_solve.hpp │ ├── driver.hpp │ ├── exchange_externals.hpp │ ├── generate_info_header │ ├── generate_matrix_structure.hpp │ ├── get_common_files │ ├── main.cpp │ ├── make_local_matrix.hpp │ ├── make_targets │ ├── minife_debug.1.0 │ ├── perform_element_loop.hpp │ ├── run_test │ ├── simple_mesh_description.hpp │ └── time_kernels.hpp └── utils │ ├── Box.hpp │ ├── BoxIterator.hpp │ ├── BoxPartition.cpp │ ├── BoxPartition.hpp │ ├── Parameters.hpp │ ├── TypeTraits.hpp │ ├── box_utils.hpp │ ├── compute_matrix_stats.hpp │ ├── imbalance.hpp │ ├── miniFE_no_info.hpp │ ├── miniFE_version.h │ ├── mytimer.cpp │ ├── mytimer.hpp │ ├── outstream.hpp │ ├── param_utils.cpp │ ├── param_utils.hpp │ ├── utils.cpp │ └── utils.hpp ├── multigrid ├── .gitignore ├── Makefile ├── README.md ├── allreduce.h ├── combine_csvs.sh ├── make.defs ├── minimonitoring.h ├── multigrid3d.cpp └── overview.gnuplot └── splash2 ├── README └── barnes-hut ├── Logging.h ├── Makefile ├── README.barnes ├── code.cc ├── code.h ├── code_io.c ├── code_io.h ├── defs.h ├── getparam.c ├── getparam.h ├── grav.cc ├── grav.h ├── load.cc ├── load.h ├── make.defs ├── shared_array.h ├── stdinc.h ├── util.c ├── util.h ├── vectmath.h └── verify ├── barnes.256.gold ├── barnes.500.gold ├── barnes.64.gold └── verify.sh /.gitignore: -------------------------------------------------------------------------------- 1 | # VIM Tags 2 | tags 3 | .syntastic* 4 | *.swp 5 | *~ 6 | build/ 7 | *.bin 8 | *.out 9 | *.o 10 | CMakeCache.txt 11 | CMakeFiles 12 | cmake_install.cmake 13 | locplot/Makefile 14 | locplot/*.svg 15 | -------------------------------------------------------------------------------- /NPB-3.3.1/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated Files of NAS 2 | npbparams.h 3 | bin 4 | setparams 5 | 6 | 7 | # Compiled Object files 8 | *.slo 9 | *.lo 10 | *.o 11 | *.obj 12 | 13 | # Precompiled Headers 14 | *.gch 15 | *.pch 16 | 17 | # Compiled Dynamic libraries 18 | *.so 19 | *.dylib 20 | *.dll 21 | 22 | # Fortran module files 23 | *.mod 24 | 25 | # Compiled Static libraries 26 | *.lai 27 | *.la 28 | *.a 29 | *.lib 30 | 31 | # Executables 32 | *.exe 33 | *.out 34 | *.app 35 | 36 | 37 | .syntastic* 38 | tags 39 | -------------------------------------------------------------------------------- /NPB-3.3.1/config/make.dummy: -------------------------------------------------------------------------------- 1 | FMPI_LIB = -L../MPI_dummy -lmpi 2 | FMPI_INC = -I../MPI_dummy 3 | CMPI_LIB = -L../MPI_dummy -lmpi 4 | CMPI_INC = -I../MPI_dummy 5 | default:: ${PROGRAM} libmpi.a 6 | libmpi.a: 7 | cd ../MPI_dummy; $(MAKE) F77=$(MPIF77) CC=$(MPICC) 8 | -------------------------------------------------------------------------------- /NPB-3.3.1/sys/print_header: -------------------------------------------------------------------------------- 1 | echo ' =========================================' 2 | echo ' = NAS Parallel Benchmarks 3.3 =' 3 | echo ' = MPI/F77/C =' 4 | echo ' =========================================' 5 | echo '' 6 | -------------------------------------------------------------------------------- /NPB-3.3.1/sys/suite.awk: -------------------------------------------------------------------------------- 1 | BEGIN { SMAKE = "make" } { 2 | if ($1 !~ /^#/ && NF > 2) { 3 | printf "cd `echo %s|tr '[a-z]' '[A-Z]'`; %s clean;", $1, SMAKE; 4 | printf "%s CLASS=%s NPROCS=%s", SMAKE, $2, $3; 5 | if ( NF > 3 ) { 6 | if ( $4 ~ /^vec/ || $4 ~ /^VEC/ ) { 7 | printf " VERSION=%s", $4; 8 | if ( NF > 4 ) { 9 | printf " SUBTYPE=%s", $5; 10 | } 11 | } else { 12 | printf " SUBTYPE=%s", $4; 13 | if ( NF > 4 ) { 14 | printf " VERSION=%s", $5; 15 | } 16 | } 17 | } 18 | printf "; cd ..\n"; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /all-pairs/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BUILD_DIR=./build 4 | 5 | FORCE_BUILD=false 6 | if [ "$1" = "-f" ]; then 7 | FORCE_BUILD=true 8 | fi 9 | 10 | await_confirm() { 11 | if ! $FORCE_BUILD; then 12 | echo "" 13 | echo " To build using these settings, hit ENTER" 14 | read confirm 15 | fi 16 | } 17 | 18 | mkdir -p $BUILD_DIR 19 | rm -Rf $BUILD_DIR/* 20 | (cd $BUILD_DIR && \ 21 | cmake -DCMAKE_BUILD_TYPE=release \ 22 | \ 23 | ../ && \ 24 | await_confirm && \ 25 | make -j 4) 26 | -------------------------------------------------------------------------------- /all-pairs/logger.h: -------------------------------------------------------------------------------- 1 | #ifndef LOGGER_H 2 | #define LOGGER_H 3 | 4 | #include 5 | #include 6 | 7 | #define LOG_UNIT(logger) \ 8 | BOOST_LOG_TRIVIAL(logger) 9 | #endif // LOGGER_H 10 | -------------------------------------------------------------------------------- /all-pairs/rscripts/README: -------------------------------------------------------------------------------- 1 | Example call: 2 | Rscript load_and_process.r all-pairs-output.hdf5 3 | -------------------------------------------------------------------------------- /astar/mpi/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | mpic++ -std=c++11 main.cpp Puzzle.cpp Astar.cpp -o main 3 | -------------------------------------------------------------------------------- /astar/mpi/main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dash-project/dash-apps/9ef465048b2b45b63bd94c59362342f12fcc287f/astar/mpi/main -------------------------------------------------------------------------------- /astar/mpi/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "JUtils.h" 3 | #include "Astar.h" 4 | 5 | int main (int argc, char* argv[]) { 6 | MPI_Init(NULL, NULL); 7 | 8 | JDurationManager dm; 9 | { 10 | Astar a; 11 | dm.start(); 12 | 13 | a.run(1000); 14 | 15 | dm.stop(); 16 | a.print_all(true); 17 | 18 | if (a.get_rank() == 0) { 19 | dm.print(); 20 | } 21 | } 22 | MPI_Finalize(); 23 | return 0; 24 | } 25 | -------------------------------------------------------------------------------- /astar/sequential/main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dash-project/dash-apps/9ef465048b2b45b63bd94c59362342f12fcc287f/astar/sequential/main -------------------------------------------------------------------------------- /astar/sequential/main.cpp: -------------------------------------------------------------------------------- 1 | #include "JUtils.h" 2 | #include "AStar.h" 3 | 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | AStar a; 8 | JDurationManager dm; 9 | 10 | dm.start(); 11 | a.run(); 12 | dm.stop(); 13 | 14 | a.print(); 15 | dm.print(); 16 | 17 | return 0; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /astar/sequential/makefile: -------------------------------------------------------------------------------- 1 | all: 2 | g++ -std=c++11 main.cpp AStar.cpp Puzzle.cpp -o main 3 | -------------------------------------------------------------------------------- /astro-tutorial/01-hello_world/hello.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | using namespace std; 4 | 5 | int main( int argc, char* argv[] ) { 6 | pid_t pid; char buf[100]; 7 | 8 | dash::init( &argc, &argv ); 9 | gethostname(buf, 100); pid = getpid(); 10 | 11 | cout<<"'Hello world' from unit "<< 12 | dash::myid()<<" of "< rand.out2 6 | #diff -ws rand.out2 main.gold 7 | 8 | chain: chain.cpp ../randmat/randmat.h ../thresh/thresh.h ../winnow/winnow.h ../outer/outer.h ../product/product.h 9 | $(CXX) -c $(INC) $< 10 | $(CXX) -o $@ $@.o $(LIB) 11 | 12 | 13 | .PHONY: printenv 14 | printenv: 15 | @echo "CXX = $(CXX)" 16 | @echo "DART_IMPL = $(DART_IMPL)" 17 | @echo "DASH_ROOT = $(DASH_ROOT)" 18 | @echo "INC = $(INC)" 19 | @echo "LIB = $(LIB)" 20 | 21 | .PHONY: clean 22 | clean: 23 | -rm chain 24 | -rm chain.o 25 | -------------------------------------------------------------------------------- /cowichan/SuperMUC/make.defs: -------------------------------------------------------------------------------- 1 | DASH_ROOT = $(HOME)/opt/dash-0.3.0 2 | 3 | DART_IMPL = mpi 4 | 5 | INC=-I$(DASH_ROOT)/include $(PAPI_INC) $(HWLOC_INC) 6 | LIB=-L$(DASH_ROOT)/lib -ldash-$(DART_IMPL) -ldart-$(DART_IMPL) -ldart-base $(PAPI_SHLIB) $(HWLOC_SHLIB) 7 | 8 | #CXXFLAGS= -g -O0 -Wall -DDASH_DEBUG=1 -DDASH_ENABLE_DEFAULT_INDEX_TYPE_LONG 9 | CXXFLAGS= -Ofast -xHost -qopenmp -funroll-loops 10 | #CXXFLAGS= 11 | 12 | # used on SuperMUC: 13 | CXX = mpiCC -cxx=icpc -std=c++11 $(CXXFLAGS) 14 | 15 | # used on project03: 16 | # CXX = mpicxx -std=c++11 $(CXXFLAGS) 17 | 18 | # dash-mpicxx not found 19 | 20 | -------------------------------------------------------------------------------- /cowichan/SuperMUC/outer/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: outer 5 | 6 | outer: outer.cpp outer.h 7 | $(CXX) -c $(INC) $< 8 | $(CXX) -o $@ $@.o $(LIB) 9 | 10 | 11 | .PHONY: printenv 12 | printenv : 13 | @echo "CXX = $(CXX)" 14 | @echo "DART_IMPL = $(DART_IMPL)" 15 | @echo "DASH_ROOT = $(DASH_ROOT)" 16 | @echo "INC = $(INC)" 17 | @echo "LIB = $(LIB)" 18 | 19 | .PHONY: clean 20 | clean: 21 | -rm outer 22 | -rm outer.o 23 | -------------------------------------------------------------------------------- /cowichan/SuperMUC/product/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: product 5 | 6 | product: product.cpp product.h 7 | $(CXX) -c $(INC) $< 8 | $(CXX) -o $@ $@.o $(LIB) 9 | 10 | 11 | .PHONY: printenv 12 | printenv : 13 | @echo "CXX = $(CXX)" 14 | @echo "DART_IMPL = $(DART_IMPL)" 15 | @echo "DASH_ROOT = $(DASH_ROOT)" 16 | @echo "INC = $(INC)" 17 | @echo "LIB = $(LIB)" 18 | 19 | .PHONY: clean 20 | clean: 21 | -rm product 22 | -rm product.o 23 | -------------------------------------------------------------------------------- /cowichan/SuperMUC/randmat/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: randmat 5 | #mpirun -n 4 ./$@ < main.in > rand.out2 6 | #diff -ws rand.out2 main.gold 7 | 8 | randmat: randmat.cpp randmat.h 9 | $(CXX) -c $(INC) $< 10 | $(CXX) -o $@ $@.o $(LIB) 11 | 12 | 13 | .PHONY: printenv 14 | printenv: 15 | @echo "CXX = $(CXX)" 16 | @echo "DART_IMPL = $(DART_IMPL)" 17 | @echo "DASH_ROOT = $(DASH_ROOT)" 18 | @echo "INC = $(INC)" 19 | @echo "LIB = $(LIB)" 20 | 21 | .PHONY: clean 22 | clean: 23 | -rm randmat 24 | -rm randmat.o 25 | -------------------------------------------------------------------------------- /cowichan/SuperMUC/thresh/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: thresh 5 | 6 | thresh: thresh.cpp thresh.h 7 | $(CXX) -c $(INC) $< 8 | $(CXX) -o $@ $@.o $(LIB) 9 | 10 | 11 | .PHONY: printenv 12 | printenv : 13 | @echo "CXX = $(CXX)" 14 | @echo "DART_IMPL = $(DART_IMPL)" 15 | @echo "DASH_ROOT = $(DASH_ROOT)" 16 | @echo "INC = $(INC)" 17 | @echo "LIB = $(LIB)" 18 | 19 | .PHONY: clean 20 | clean: 21 | -rm thresh 22 | -rm thresh.o 23 | -------------------------------------------------------------------------------- /cowichan/SuperMUC/winnow/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: winnow 5 | 6 | winnow: winnow.cpp winnow.h ../Terminal_Color.h 7 | $(CXX) -c $(INC) $< 8 | $(CXX) -o $@ $@.o $(LIB) 9 | 10 | .PHONY: printenv 11 | printenv : 12 | @echo "CXX = $(CXX)" 13 | @echo "DART_IMPL = $(DART_IMPL)" 14 | @echo "DASH_ROOT = $(DASH_ROOT)" 15 | @echo "INC = $(INC)" 16 | @echo "LIB = $(LIB)" 17 | 18 | .PHONY: clean 19 | clean: 20 | -rm winnow 21 | -rm winnow.o 22 | 23 | -------------------------------------------------------------------------------- /cowichan/SuperMUC/winnow/input: -------------------------------------------------------------------------------- 1 | 10 10 2 | 98 5 20 63 78 57 92 67 6 5 3 | 23 10 61 44 59 82 49 80 67 6 4 | 48 19 2 25 44 7 10 93 32 7 5 | 73 24 43 6 29 28 67 6 93 8 6 | 98 29 80 87 10 53 24 19 58 9 7 | 23 34 21 68 95 78 85 32 19 10 8 | 48 39 62 53 80 3 42 45 84 11 9 | 73 44 99 34 61 24 3 58 45 12 10 | 98 49 40 15 46 49 60 71 10 17 11 | 23 54 81 96 31 74 21 84 71 18 12 | 13 | 1 0 0 0 1 0 1 0 0 0 14 | 0 0 0 0 0 1 0 1 0 0 15 | 0 0 0 0 0 0 0 1 0 0 16 | 1 0 0 0 0 0 0 0 1 0 17 | 1 0 1 1 0 0 0 0 0 0 18 | 0 0 0 1 1 1 1 0 0 0 19 | 0 0 0 0 1 0 0 0 1 0 20 | 1 0 1 0 0 0 0 0 0 0 21 | 1 0 0 0 0 0 0 1 0 0 22 | 0 0 1 1 0 1 0 1 1 0 23 | 24 | 3 25 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main --is_bench < main.in 4 | 5 | main: main.chpl config.chpl randmat.chpl thresh.chpl winnow.chpl outer.chpl product.chpl 6 | chpl --fast $^ -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/expertpar/product.chpl: -------------------------------------------------------------------------------- 1 | /* product: matrix-vector product 2 | * 3 | * input: 4 | * nelts: the number of elements 5 | * matrix: a real matrix 6 | * vector: a real vector 7 | * 8 | * output: 9 | * result: a real vector, whose values are the result of the product 10 | */ 11 | 12 | module Product { 13 | 14 | use Config; 15 | 16 | proc product(nelts: int) 17 | { 18 | const NeltSpace = {1..nelts}; 19 | forall i in NeltSpace { 20 | var sum: real = 0; 21 | for j in NeltSpace { 22 | sum += dists[i, j] * vector[j]; 23 | } 24 | result[i] = sum; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main --is_bench < main.in 4 | 5 | main: main.chpl config.chpl randmat.chpl thresh.chpl winnow.chpl outer.chpl product.chpl 6 | chpl --fast $^ -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/expertseq/product.chpl: -------------------------------------------------------------------------------- 1 | /* product: matrix-vector product 2 | * 3 | * input: 4 | * nelts: the number of elements 5 | * matrix: a real matrix 6 | * vector: a real vector 7 | * 8 | * output: 9 | * result: a real vector, whose values are the result of the product 10 | */ 11 | 12 | module Product { 13 | 14 | use Config; 15 | 16 | proc product(nelts: int) 17 | { 18 | for (i, j) in {1..nelts, 1..nelts} { 19 | result [i] += dists[i, j] * vector[j]; 20 | } 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main --is_bench < main.in 4 | 5 | main: main.chpl config.chpl randmat.chpl thresh.chpl winnow.chpl outer.chpl product.chpl 6 | chpl --fast $^ -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/par/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/par/product.chpl: -------------------------------------------------------------------------------- 1 | /* product: matrix-vector product 2 | * 3 | * input: 4 | * nelts: the number of elements 5 | * matrix: a real matrix 6 | * vector: a real vector 7 | * 8 | * output: 9 | * result: a real vector, whose values are the result of the product 10 | */ 11 | 12 | module Product { 13 | 14 | use Config; 15 | 16 | proc product(nelts: int) { 17 | forall i in 1..nelts do { 18 | var sum: real = 0; 19 | for j in 1..nelts do { 20 | sum += dists[i, j] * vector[j]; 21 | } 22 | result[i] = sum; 23 | } 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main --is_bench < main.in 4 | 5 | main: config.chpl main.chpl randmat.chpl thresh.chpl winnow.chpl outer.chpl product.chpl 6 | chpl --fast $^ -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/seq/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/chain/seq/product.chpl: -------------------------------------------------------------------------------- 1 | /* product: matrix-vector product 2 | * 3 | * input: 4 | * nelts: the number of elements 5 | * matrix: a real matrix 6 | * vector: a real vector 7 | * 8 | * output: 9 | * result: a real vector, whose values are the result of the product 10 | */ 11 | 12 | module Product { 13 | 14 | use Config; 15 | 16 | proc product(nelts: int) { 17 | for i in 1..nelts do { 18 | var sum: real = 0; 19 | for j in 1..nelts do { 20 | sum += dists[i, j] * vector[j]; 21 | } 22 | result[i] = sum; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/outer/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.chpl 8 | chpl --fast main.chpl -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/outer/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/outer/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.chpl 8 | chpl --fast main.chpl -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/outer/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/outer/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.chpl 8 | chpl --fast main.chpl -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/outer/par/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/outer/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.chpl 8 | chpl --fast main.chpl -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/outer/seq/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.chpl 8 | chpl --fast main.chpl -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.9100 76.5500 120.1900 163.8300 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.chpl 8 | chpl --fast main.chpl -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.chpl 8 | chpl --fast main.chpl -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/par/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/par/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.chpl 8 | chpl --fast main.chpl -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/seq/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/product/seq/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/randmat/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main --dataParTasksPerLocale=4 < main.in 3 | ./main --dataParTasksPerLocale=4 --is_bench < main.in 4 | 5 | main: main.chpl 6 | chpl --fast main.chpl -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/randmat/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 10 9 8 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/randmat/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main --is_bench < main.in 4 | 5 | main: main.chpl 6 | chpl --fast main.chpl -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/randmat/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 10 9 8 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/randmat/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main --is_bench < main.in 4 | 5 | main: main.chpl 6 | chpl --fast main.chpl -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/randmat/par/main.in: -------------------------------------------------------------------------------- 1 | 10 10 0xDEADBEEF 2 | 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/randmat/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main --is_bench < main.in 4 | 5 | main: main.chpl 6 | chpl --fast main.chpl -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/randmat/seq/main.in: -------------------------------------------------------------------------------- 1 | 10 9 8 2 | 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.g 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.g 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.g 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.g 10 | ./main < main5.in > main5.out 11 | diff main5.out main5.g 12 | ./main < main6.in > main6.out 13 | diff main6.out main6.g 14 | ./main < main.in 15 | ./main --is_bench < main.in 16 | 17 | main: main.chpl 18 | chpl --fast main.chpl -o main 19 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main.g: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main2.g: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main3.g: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main4.g: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main5.g: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main6.g: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertpar/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.g 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.g 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.g 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.g 10 | ./main < main5.in > main5.out 11 | diff main5.out main5.g 12 | ./main < main6.in > main6.out 13 | diff main6.out main6.g 14 | ./main < main.in 15 | ./main --is_bench < main.in 16 | 17 | main: main.chpl 18 | chpl --fast main.chpl -o main 19 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main2.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main3.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main4.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main5.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main6.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/expertseq/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.g 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.g 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.g 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.g 10 | ./main < main5.in > main5.out 11 | diff main5.out main5.g 12 | ./main < main6.in > main6.out 13 | diff main6.out main6.g 14 | ./main < main.in 15 | ./main --is_bench < main.in 16 | 17 | main: main.chpl 18 | chpl --fast main.chpl -o main 19 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main2.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main3.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main4.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main5.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main6.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/par/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.g 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.g 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.g 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.g 10 | ./main < main5.in > main5.out 11 | diff main5.out main5.g 12 | ./main < main6.in > main6.out 13 | diff main6.out main6.g 14 | ./main < main.in 15 | ./main --is_bench < main.in 16 | 17 | main: main.chpl 18 | chpl --fast main.chpl -o main 19 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main2.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main3.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main4.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main5.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main6.g: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/thresh/seq/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main < main.in 11 | ./main --is_bench < main.in 12 | 13 | main: main.chpl 14 | chpl --fast main.chpl -o main 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertpar/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.g 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.g 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.g 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.g 10 | ./main < main.in 11 | ./main --is_bench < main.in 12 | 13 | main: main.chpl 14 | chpl --fast main.chpl -o main 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main.g: -------------------------------------------------------------------------------- 1 | 6 2 | (1, 1) 3 | (2, 3) 4 | (1, 2) 5 | (2, 2) 6 | (1, 3) 7 | (2, 1) 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | (1, 1) 3 | (2, 3) 4 | (1, 2) 5 | (2, 2) 6 | (1, 3) 7 | (2, 1) 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main2.g: -------------------------------------------------------------------------------- 1 | 3 2 | (1, 1) 3 | (1, 2) 4 | (1, 3) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | (1, 1) 3 | (1, 2) 4 | (1, 3) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main3.g: -------------------------------------------------------------------------------- 1 | 3 2 | (2, 3) 3 | (1, 2) 4 | (2, 2) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | (2, 3) 3 | (1, 2) 4 | (2, 2) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main4.g: -------------------------------------------------------------------------------- 1 | 2 2 | (2, 3) 3 | (2, 2) 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | (2, 3) 3 | (2, 2) 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/expertseq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.g 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.g 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.g 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.g 10 | ./main < main.in 11 | ./main --is_bench < main.in 12 | 13 | main: main.chpl 14 | chpl --fast main.chpl -o main 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main.g: -------------------------------------------------------------------------------- 1 | 6 2 | (1, 1) 3 | (2, 3) 4 | (1, 2) 5 | (2, 2) 6 | (1, 3) 7 | (2, 1) 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | (1, 1) 3 | (2, 3) 4 | (1, 2) 5 | (2, 2) 6 | (1, 3) 7 | (2, 1) 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main2.g: -------------------------------------------------------------------------------- 1 | 3 2 | (1, 1) 3 | (1, 2) 4 | (1, 3) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | (1, 1) 3 | (1, 2) 4 | (1, 3) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main3.g: -------------------------------------------------------------------------------- 1 | 3 2 | (2, 3) 3 | (1, 2) 4 | (2, 2) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | (2, 3) 3 | (1, 2) 4 | (2, 2) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main4.g: -------------------------------------------------------------------------------- 1 | 2 2 | (2, 3) 3 | (2, 2) 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | (2, 3) 3 | (2, 2) 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/par/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.g 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.g 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.g 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.g 10 | ./main < main.in 11 | ./main --is_bench < main.in 12 | 13 | main: main.chpl 14 | chpl --fast main.chpl -o main 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/main.g: -------------------------------------------------------------------------------- 1 | 6 2 | (1, 1) 3 | (2, 3) 4 | (1, 2) 5 | (2, 2) 6 | (1, 3) 7 | (2, 1) 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/main2.g: -------------------------------------------------------------------------------- 1 | 3 2 | (1, 1) 3 | (1, 2) 4 | (1, 3) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/main3.g: -------------------------------------------------------------------------------- 1 | 3 2 | (2, 3) 3 | (1, 2) 4 | (2, 2) 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/main4.g: -------------------------------------------------------------------------------- 1 | 2 2 | (2, 3) 3 | (2, 2) 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/chapel/winnow/seq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --nproc 4 --is_bench < main.in 6 | 7 | .cpp.o: 8 | icpc ${CFLAGS} -O2 -c $< 9 | 10 | main: main.o randmat.o thresh.o winnow.o outer.o product.o 11 | icpc ${CFLAGS} -O2 -o main $^ 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 128.5490 157.5366 178.9342 184.5714 121.5168 117.3200 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --is_bench < main.in 6 | 7 | # flags: --cpp-profile, --cpp-span 8 | main: main.cpp randmat.cpp thresh.cpp winnow.cpp outer.cpp product.cpp 9 | icpc ${CFLAGS} -O2 -o main $^ 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 128.549 157.537 178.934 184.571 121.517 117.32 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --nproc 4 --is_bench < main.in 6 | 7 | # flags: --cpp-profile, --cpp-span 8 | main: main.cpp randmat.cpp thresh.cpp winnow.cpp outer.cpp product.cpp 9 | icpc ${CFLAGS} -O2 -o main $^ 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/par/main.gold: -------------------------------------------------------------------------------- 1 | 128.549 157.537 178.934 184.571 121.517 117.32 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/par/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --is_bench < main.in 6 | 7 | # flags: --cpp-profile, --cpp-span 8 | main: randmat.cpp thresh.cpp winnow.cpp outer.cpp product.cpp main.cpp 9 | icpc ${CFLAGS} -O2 -o main $^ 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/seq/main.gold: -------------------------------------------------------------------------------- 1 | 128.549 157.537 178.934 184.571 121.517 117.32 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/chain/seq/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.cpp 8 | icpc ${CFLAGS} -O2 -o main main.cpp 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.cpp 8 | icpc ${CFLAGS} -O2 -o main main.cpp 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 9 9 2 | 25.4558 1 2 1 1.41421 2.23607 2 2.23607 2.82843 3 | 1 20.1246 1 1.41421 1 1.41421 2.23607 2 2.23607 4 | 2 1 25.4558 2.23607 1.41421 1 2.82843 2.23607 2 5 | 1 1.41421 2.23607 20.1246 1 2 1 1.41421 2.23607 6 | 1.41421 1 1.41421 1 12.7279 1 1.41421 1 1.41421 7 | 2.23607 1.41421 1 2 1 20.1246 2.23607 1.41421 1 8 | 2 2.23607 2.82843 1 1.41421 2.23607 25.4558 1 2 9 | 2.23607 2 2.23607 1.41421 1 1.41421 1 20.1246 1 10 | 2.82843 2.23607 2 2.23607 1.41421 1 2 1 25.4558 11 | 12 | 9 13 | 1.41421 2.23607 3.16228 2.23607 2.82843 3.60555 3.16228 3.60555 4.24264 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.cpp 8 | icpc ${CFLAGS} -O2 -o main main.cpp 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/par/main.gold: -------------------------------------------------------------------------------- 1 | 9 9 2 | 25.4558 1 2 1 1.41421 2.23607 2 2.23607 2.82843 3 | 1 20.1246 1 1.41421 1 1.41421 2.23607 2 2.23607 4 | 2 1 25.4558 2.23607 1.41421 1 2.82843 2.23607 2 5 | 1 1.41421 2.23607 20.1246 1 2 1 1.41421 2.23607 6 | 1.41421 1 1.41421 1 12.7279 1 1.41421 1 1.41421 7 | 2.23607 1.41421 1 2 1 20.1246 2.23607 1.41421 1 8 | 2 2.23607 2.82843 1 1.41421 2.23607 25.4558 1 2 9 | 2.23607 2 2.23607 1.41421 1 1.41421 1 20.1246 1 10 | 2.82843 2.23607 2 2.23607 1.41421 1 2 1 25.4558 11 | 12 | 9 13 | 1.41421 2.23607 3.16228 2.23607 2.82843 3.60555 3.16228 3.60555 4.24264 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/par/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.cpp 8 | icpc ${CFLAGS} -O2 -o main main.cpp 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/seq/main.gold: -------------------------------------------------------------------------------- 1 | 9 9 2 | 25.4558 1 2 1 1.41421 2.23607 2 2.23607 2.82843 3 | 1 20.1246 1 1.41421 1 1.41421 2.23607 2 2.23607 4 | 2 1 25.4558 2.23607 1.41421 1 2.82843 2.23607 2 5 | 1 1.41421 2.23607 20.1246 1 2 1 1.41421 2.23607 6 | 1.41421 1 1.41421 1 12.7279 1 1.41421 1 1.41421 7 | 2.23607 1.41421 1 2 1 20.1246 2.23607 1.41421 1 8 | 2 2.23607 2.82843 1 1.41421 2.23607 25.4558 1 2 9 | 2.23607 2 2.23607 1.41421 1 1.41421 1 20.1246 1 10 | 2.82843 2.23607 2 2.23607 1.41421 1 2 1 25.4558 11 | 12 | 9 13 | 1.41421 2.23607 3.16228 2.23607 2.82843 3.60555 3.16228 3.60555 4.24264 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/outer/seq/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main --nproc 4 < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.cpp 8 | icpc ${CFLAGS} -O2 -o main main.cpp 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.9100 76.5500 120.1900 163.8300 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.cpp 8 | icpc ${CFLAGS} -O2 -o main main.cpp 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main --nproc 4 < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.cpp 8 | icpc ${CFLAGS} -O2 -o main main.cpp 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/par/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/par/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main --nproc 4 < main.in 5 | ./main --is_bench < main.in 6 | 7 | main: main.cpp 8 | icpc ${CFLAGS} -O2 -o main main.cpp 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/seq/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/product/seq/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | echo "1 4 8" | ./main --nproc 4 4 | echo "1 5 8" | ./main --nproc 4 5 | echo "2 5 8" | ./main --nproc 4 6 | echo "2 5 9" | ./main --nproc 4 7 | echo "2 5 9" | ./main --nproc 4 --is_bench 8 | 9 | main: main.cpp 10 | icpc ${CFLAGS} -O2 -o main main.cpp 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 10 9 8 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | echo "1 4 8" | ./main 4 | echo "1 5 8" | ./main 5 | echo "2 5 8" | ./main 6 | echo "2 5 9" | ./main 7 | echo "2 5 9" | ./main --is_bench 8 | 9 | main: main.cpp 10 | icpc ${CFLAGS} -O2 -o main main.cpp 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 10 9 8 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | echo "1 4 8" | ./main --nproc 4 4 | echo "1 5 8" | ./main --nproc 4 5 | echo "2 5 8" | ./main --nproc 4 6 | echo "2 5 9" | ./main --nproc 4 7 | echo "2 5 9" | ./main --nproc 4 --is_bench 8 | 9 | # flags: -cilk-profile, -cilk-span -nproc 4 10 | main: main.cpp 11 | icpc ${CFLAGS} -O2 -o main $< 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/par/main.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dash-project/dash-apps/9ef465048b2b45b63bd94c59362342f12fcc287f/cowichan/baSrcPaper/cilk/randmat/par/main.g -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/par/main.in: -------------------------------------------------------------------------------- 1 | 10 9 8 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | echo "1 4 8" | ./main 4 | echo "1 5 8" | ./main 5 | echo "2 5 8" | ./main 6 | echo "2 5 9" | ./main 7 | echo "2 5 9" | ./main --is_bench 8 | 9 | main: main.cpp 10 | icpc ${CFLAGS} -O2 -o main main.cpp 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/randmat/seq/main.in: -------------------------------------------------------------------------------- 1 | 10 9 8 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out 3 | diff main.out main.gold 4 | ./$< < $<2.in > main2.out 5 | diff main2.out main2.gold 6 | ./$< < $<3.in > main3.out 7 | diff main3.out main3.gold 8 | ./$< < $<4.in > main4.out 9 | diff main4.out main4.gold 10 | ./$< < $<5.in > main5.out 11 | diff main5.out main5.gold 12 | ./$< < $<6.in > main6.out 13 | diff main6.out main6.gold 14 | ./main --nproc 4 --is_bench < main.in 15 | main: main.cpp 16 | icpc ${CFLAGS} -O2 -o main main.cpp 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main2.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main3.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main4.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main5.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main6.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertpar/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out 3 | diff main.out main.gold 4 | ./$< < $<2.in > main2.out 5 | diff main2.out main2.gold 6 | ./$< < $<3.in > main3.out 7 | diff main3.out main3.gold 8 | ./$< < $<4.in > main4.out 9 | diff main4.out main4.gold 10 | ./$< < $<5.in > main5.out 11 | diff main5.out main5.gold 12 | ./$< < $<6.in > main6.out 13 | diff main6.out main6.gold 14 | ./main --is_bench < main.in 15 | main: main.cpp 16 | icpc ${CFLAGS} -O2 -o main main.cpp 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main2.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main3.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main5.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main6.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/expertseq/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out 3 | diff main.out main.gold 4 | ./$< < $<2.in > main2.out 5 | diff main2.out main2.gold 6 | ./$< < $<3.in > main3.out 7 | diff main3.out main3.gold 8 | ./$< < $<4.in > main4.out 9 | diff main4.out main4.gold 10 | ./$< < $<5.in > main5.out 11 | diff main5.out main5.gold 12 | ./$< < $<6.in > main6.out 13 | diff main6.out main6.gold 14 | ./main --nproc 4 --is_bench < main.in 15 | main: main.cpp 16 | icpc ${CFLAGS} -O2 -o main main.cpp 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main2.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main3.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main4.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main5.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main6.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/par/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out 3 | diff main.out main.gold 4 | ./$< < $<2.in > main2.out 5 | diff main2.out main2.gold 6 | ./$< < $<3.in > main3.out 7 | diff main3.out main3.gold 8 | ./$< < $<4.in > main4.out 9 | diff main4.out main4.gold 10 | ./$< < $<5.in > main5.out 11 | diff main5.out main5.gold 12 | ./$< < $<6.in > main6.out 13 | diff main6.out main6.gold 14 | ./main --is_bench < main.in 15 | main: main.cpp 16 | icpc ${CFLAGS} -O2 -o main main.cpp 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main2.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main3.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main5.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main6.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/thresh/seq/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main --nproc 4 < main.in > main.out 11 | diff main.out main.gold 12 | ./main < main.in 13 | ./main --is_bench < main.in 14 | 15 | main: main.cpp 16 | icpc ${CFLAGS} -O2 -o main main.cpp 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertpar/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main < main.in 11 | ./main --is_bench < main.in 12 | 13 | main: main.cpp 14 | icpc ${CFLAGS} -O2 -o main main.cpp 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/expertseq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main --nproc 4 < main.in > main.out 11 | diff main.out main.gold 12 | ./main < main.in 13 | ./main --is_bench < main.in 14 | 15 | main: main.cpp 16 | icpc ${CFLAGS} -O2 -o main main.cpp 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/par/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main < main.in 11 | ./main --is_bench < main.in 12 | 13 | main: main.cpp 14 | icpc ${CFLAGS} -O2 -o main main.cpp 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cilk/winnow/seq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/chain/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in 3 | main: randmat.o thresh.o winnow.o outer.o product.o 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/chain/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/chain/randmat.cc: -------------------------------------------------------------------------------- 1 | /* randmat: random number generator 2 | * 3 | * input: 4 | * nrows, ncols: number of rows and columns 5 | * s: random number generation seed 6 | * 7 | * output: 8 | * matrix: random nrows x ncols integer matrix 9 | */ 10 | #include 11 | 12 | #include 13 | 14 | using namespace std; 15 | 16 | #define MAX_NUMBER 1000 17 | 18 | void randmat(int nrows, int ncols, int s, vector >* matrix) { 19 | srand(s); 20 | for (int i = 0; i < nrows; i++) { 21 | for (int j = 0; j < ncols; j++) { 22 | (*matrix)[i][j] = rand() % MAX_NUMBER; 23 | } 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/outer/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out 3 | diff main.out main.gold 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/outer/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/product/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out 3 | diff main.out main.gold 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/product/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/product/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/randmat/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS=-O2 2 | all: main 3 | ./$< < $<.in 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/randmat/main.in: -------------------------------------------------------------------------------- 1 | 10 9 8 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/thresh/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in 3 | ./$< < $<2.in 4 | ./$< < $<3.in 5 | ./$< < $<4.in 6 | ./$< < $<5.in 7 | ./$< < $<6.in 8 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/thresh/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/thresh/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/thresh/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/thresh/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/thresh/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/thresh/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/thresh/thresh.in: -------------------------------------------------------------------------------- 1 | 10 9 50 2 | 23 6 17 32 15 14 97 8 47 3 | 48 11 54 17 0 39 58 21 12 4 | 73 16 95 98 85 64 15 34 73 5 | 98 21 36 79 66 85 76 47 38 6 | 23 26 77 60 51 10 33 60 99 7 | 48 31 14 41 36 35 90 73 64 8 | 73 36 55 22 17 60 51 86 25 9 | 98 41 96 3 2 81 8 99 90 10 | 23 46 33 84 87 6 69 12 51 11 | 48 51 74 65 68 31 26 25 16 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.gold 3 | ./$< < $<2.in > main2.gold 4 | ./$< < $<3.in > main3.gold 5 | ./$< < $<4.in > main4.gold 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/cpp/winnow/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out; 3 | diff -Nuar main.out main.gold 4 | 5 | main: main.go 6 | go build -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 128.5490 157.5366 178.9342 184.5714 121.5168 117.3200 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out; 3 | diff -Nuar main.out main.gold 4 | 5 | main: main.go 6 | go build -o main 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 128.549 157.537 178.934 184.571 121.517 117.320 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/par/Makefile: -------------------------------------------------------------------------------- 1 | main: other 2 | 3 | other: 4 | cd src/all && $(MAKE) 5 | cd src/main && $(MAKE) 6 | cp src/main/main . 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/par/src/all/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | 3 | main: randmat.go thresh.go winnow.go outer.go product.go 4 | GOPATH="`pwd`/../.." go install 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/par/src/main/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main < main.in --is_bench 4 | 5 | DEPS=../all/randmat.go ../all/thresh.go ../all/winnow.go ../all/outer.go \ 6 | ../all/product.go 7 | main: main.go $(DEPS) 8 | GOPATH="`pwd`/../.." go build 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/par/src/main/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/seq/Makefile: -------------------------------------------------------------------------------- 1 | main: other 2 | 3 | other: 4 | cd src/all && $(MAKE) 5 | cd src/main && $(MAKE) 6 | cp src/main/main . 7 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/seq/src/all/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | 3 | main: randmat.go thresh.go winnow.go outer.go product.go 4 | GOPATH="`pwd`/../.." go install 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/seq/src/main/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in 3 | ./main < main.in --is_bench 4 | 5 | DEPS=../all/randmat.go ../all/thresh.go ../all/winnow.go ../all/outer.go \ 6 | ../all/product.go 7 | main: main.go $(DEPS) 8 | GOPATH="`pwd`/../.." go build 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/chain/seq/src/main/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/outer/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main < main.in --is_bench 6 | 7 | main: main.go 8 | go build -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/outer/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/outer/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main < main.in --is_bench 6 | 7 | main: main.go 8 | go build -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/outer/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/outer/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main < main.in --is_bench 6 | 7 | main: main.6 8 | go tool 6l -o main main.6 9 | 10 | main.6: main.go 11 | go tool 6g -O2 main.go 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/outer/par/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/outer/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main < main.in --is_bench 6 | 7 | main: main.6 8 | go tool 6l -o main main.6 9 | 10 | main.6: main.go 11 | go tool 6g -O2 main.go 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/outer/seq/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main < main.in --is_bench 6 | 7 | main: main.go 8 | go build -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.9100 76.5500 120.1900 163.8300 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main < main.in --is_bench 6 | 7 | main: main.go 8 | go build -o main 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main < main.in --is_bench 6 | 7 | main: main.6 8 | go tool 6l -o main main.6 9 | 10 | main.6: main.go 11 | go tool 6g -O2 main.go 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/par/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/par/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main.in 5 | ./main < main.in --is_bench 6 | 7 | main: main.6 8 | go tool 6l -o main main.6 9 | 10 | main.6: main.go 11 | go tool 6g -O2 main.go 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/seq/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.91 76.55 120.19 163.83 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/product/seq/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/randmat/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | echo "10 9 8" | ./main 3 | echo "1 4 6" | ./main 4 | echo "1 5 6" | ./main 5 | echo "2 5 6" | ./main 6 | echo "2 5 9" | ./main 7 | echo "10 9 6" | ./main --is_bench 8 | 9 | main: main.go 10 | go build -o main 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/randmat/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | echo "10 9 8" | ./main 3 | echo "1 4 6" | ./main 4 | echo "1 5 6" | ./main 5 | echo "2 5 6" | ./main 6 | echo "2 5 9" | ./main 7 | echo "10 9 6" | ./main --is_bench 8 | 9 | main: main.go 10 | go build -o main 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/randmat/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | echo "10 9 8" | ./main 3 | echo "1 4 6" | ./main 4 | echo "1 5 6" | ./main 5 | echo "2 5 6" | ./main 6 | echo "2 5 9" | ./main 7 | echo "10 9 8" | ./main --is_bench 8 | 9 | main: main.go 10 | go build -o main 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/randmat/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | echo "10 9 8" | ./main 3 | echo "1 4 6" | ./main 4 | echo "1 5 6" | ./main 5 | echo "2 5 6" | ./main 6 | echo "2 5 9" | ./main 7 | echo "10 9 6" | ./main --is_bench 8 | 9 | main: main.6 10 | go tool 6l -o main main.6 11 | 12 | main.6: main.go 13 | go tool 6g -O2 main.go 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main.out 5 | diff main.out main2.gold 6 | ./main < main3.in > main.out 7 | diff main.out main3.gold 8 | ./main < main4.in > main.out 9 | diff main.out main4.gold 10 | ./main < main5.in > main.out 11 | diff main.out main5.gold 12 | ./main < main6.in > main.out 13 | diff main.out main6.gold 14 | 15 | main: main.go 16 | go build -o main 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/gothresh.in: -------------------------------------------------------------------------------- 1 | 10 9 2 | 23 6 17 32 15 14 97 8 47 3 | 48 11 54 17 0 39 58 21 12 4 | 73 16 95 98 85 64 15 34 73 5 | 98 21 36 79 66 85 76 47 38 6 | 23 26 77 60 51 10 33 60 99 7 | 48 31 14 41 36 35 90 73 64 8 | 73 36 55 22 17 60 51 86 25 9 | 98 41 96 3 2 81 8 99 90 10 | 23 46 33 84 87 6 69 12 51 11 | 48 51 74 65 68 31 26 25 16 12 | 13 | 50 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main2.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 33 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main3.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 34 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main4.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 66 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main5.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 67 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main6.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 100 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertpar/thresh.in: -------------------------------------------------------------------------------- 1 | 10 9 2 | 92 6 17 32 15 14 97 8 47 3 | 48 11 54 17 0 39 58 21 12 4 | 73 16 95 98 85 64 15 34 73 5 | 98 21 36 79 66 85 76 47 38 6 | 23 26 77 60 51 10 33 60 99 7 | 48 31 14 41 36 35 90 73 64 8 | 73 36 55 22 17 60 51 86 25 9 | 98 41 96 3 2 81 8 99 90 10 | 23 46 33 84 87 6 99 99 99 11 | 90 1 74 65 68 99 99 99 99 12 | 13 | 55 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main.out 5 | diff main.out main2.gold 6 | ./main < main3.in > main.out 7 | diff main.out main3.gold 8 | ./main < main4.in > main.out 9 | diff main.out main4.gold 10 | ./main < main5.in > main.out 11 | diff main.out main5.gold 12 | ./main < main6.in > main.out 13 | diff main.out main6.gold 14 | 15 | main: main.go 16 | go build -o main 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main2.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main3.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main4.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main5.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main6.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/expertseq/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main.out 5 | diff main.out main2.gold 6 | ./main < main3.in > main.out 7 | diff main.out main3.gold 8 | ./main < main4.in > main.out 9 | diff main.out main4.gold 10 | ./main < main5.in > main.out 11 | diff main.out main5.gold 12 | ./main < main6.in > main.out 13 | diff main.out main6.gold 14 | 15 | main: main.go 16 | go build -o main 17 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main2.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main3.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main4.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main5.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main6.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/par/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main.out 5 | diff main.out main2.gold 6 | ./main < main3.in > main.out 7 | diff main.out main3.gold 8 | ./main < main4.in > main.out 9 | diff main.out main4.gold 10 | ./main < main5.in > main.out 11 | diff main.out main5.gold 12 | ./main < main6.in > main.out 13 | diff main.out main6.gold 14 | 15 | main: main.6 16 | go tool 6l -o main main.6 17 | 18 | main.6: main.go 19 | go tool 6g -O2 main.go 20 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main2.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main3.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main4.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main5.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main6.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/thresh/seq/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main < main.in 11 | ./main < main.in --is_bench 12 | 13 | main: main.go 14 | go build -o main 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertpar/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main < main.in 11 | ./main < main.in --is_bench 12 | 13 | main: main.go 14 | go build -o main 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/expertseq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main < main.in 11 | ./main < main.in --is_bench 12 | 13 | main: main.6 14 | go tool 6l -o main main.6 15 | 16 | main.6: main.go 17 | go tool 6g -O2 main.go 18 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/par/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./main < main.in > main.out 3 | diff main.out main.gold 4 | ./main < main2.in > main2.out 5 | diff main2.out main2.gold 6 | ./main < main3.in > main3.out 7 | diff main3.out main3.gold 8 | ./main < main4.in > main4.out 9 | diff main4.out main4.gold 10 | ./main < main.in 11 | ./main < main.in --is_bench 12 | 13 | main: main.6 14 | go tool 6l -o main main.6 15 | 16 | main.6: main.go 17 | go tool 6g -O2 main.go 18 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/go/winnow/seq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/metric/perf/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | python test.py 3 | pychecker main.py 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/metric/r/test.r: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env r 2 | conf = as.real(argv[1]) 3 | data = read.table('input.data', header = TRUE) 4 | result = t.test(data$x, data$y, conf.level=conf, alternative='greater') 5 | # print(result) 6 | # cat(sprintf("%f %f %f %f %f %f %f %f\n", result$statistic, result$parameter, result$p.value, result$conf.int[1], result$conf.int[2], attributes(result$conf.int)$conf.level, result$estimate[1], result$estimate[2])) 7 | cat(sprintf("%e", result$p.value)) 8 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/metric/r/test_paired.r: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env Rscript 2 | options = commandArgs (trailingOnly = T) 3 | conf = as.real(options[1]) 4 | data = read.table('input.data', header = TRUE) 5 | result = t.test(data$x, data$y, conf.level=conf, alternative='greater', paired=TRUE) 6 | # print(result) 7 | # cat(sprintf("%f %f %f %f %f %f %f %f\n", result$statistic, result$parameter, result$p.value, result$conf.int[1], result$conf.int[2], attributes(result$conf.int)$conf.level, result$estimate[1], result$estimate[2])) 8 | cat(sprintf("%e", result$p.value)) 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/metric/time/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | python main.py 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/metric/time/git_log.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | git log --pretty=format:"%ad %s" > log.txt 3 | tac log.txt > log_reverse.txt 4 | rm log.txt 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/metric/time/git_log.txt: -------------------------------------------------------------------------------- 1 | git log --stat 2 | git log --pretty=format:"%ad %s" > log.txt 3 | tac log.txt > log_reverse.txt 4 | 5 | diff -crB a b > patch 6 | patch --dry-run -p1 -i b.patch 7 | 8 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out --threads 4 3 | diff main.out main.gold 4 | ./$< < $<.in --threads 4 5 | ./$< < $<.in --threads 4 --is_bench 6 | 7 | main: randmat.o thresh.o winnow.o outer.o product.o 8 | 9 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt 10 | LDFLAGS+=-ltbb 11 | CXX=icpc 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 128.5490 157.5366 178.9342 184.5714 121.5168 117.3200 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out --threads 4 3 | diff main.out main.gold 4 | ./$< < $<.in --threads 4 5 | ./$< < $<.in --threads 4 --is_bench 6 | 7 | main: randmat.o thresh.o winnow.o outer.o product.o 8 | 9 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 10 | LDFLAGS+=-ltbb 11 | CXX=icpc 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 128.549 157.537 178.934 184.571 121.517 117.32 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out --threads 4 3 | diff main.out main.gold 4 | ./$< < $<.in --threads 4 5 | ./$< < $<.in --threads 4 --is_bench 6 | 7 | main: randmat.o thresh.o winnow.o outer.o product.o 8 | 9 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt 10 | LDFLAGS+=-ltbb 11 | CXX=icpc 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/par/main.gold: -------------------------------------------------------------------------------- 1 | 128.549 157.537 178.934 184.571 121.517 117.32 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/par/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/seq/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out --threads 4 3 | diff main.out main.gold 4 | ./$< < $<.in --threads 4 5 | ./$< < $<.in --threads 4 --is_bench 6 | 7 | main: randmat.o thresh.o winnow.o outer.o product.o 8 | 9 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 10 | LDFLAGS+=-ltbb 11 | CXX=icpc 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/seq/main.gold: -------------------------------------------------------------------------------- 1 | 128.549 157.537 178.934 184.571 121.517 117.32 2 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/chain/seq/main.in: -------------------------------------------------------------------------------- 1 | 5 2 | 666 3 | 50 4 | 6 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out --threads 4 3 | diff main.out main.gold 4 | ./$< < $<.in --threads 4 5 | ./$< < $<.in --threads 4 --is_bench 6 | 7 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 8 | LDFLAGS+=-ltbb 9 | LDFLAGS+=-ltbb 10 | CXX=icpc 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | CXXFLAGS+=-std=c++0x -O2 3 | all: main 4 | ./$< < $<.in > main.out --threads 4 5 | diff main.out main.gold 6 | ./$< < $<.in --threads 4 7 | ./$< < $<.in --threads 4 --is_bench 8 | 9 | CXXFLAGS+=-std=c++0x -O2 10 | CXX=icpc 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/expertseq/chain.in: -------------------------------------------------------------------------------- 1 | 6 2 | 3 1 3 | 1 4 4 | 4 1 5 | 0 4 6 | 3 3 7 | 3 2 8 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 9 9 2 | 25.4558 1 2 1 1.41421 2.23607 2 2.23607 2.82843 3 | 1 20.1246 1 1.41421 1 1.41421 2.23607 2 2.23607 4 | 2 1 25.4558 2.23607 1.41421 1 2.82843 2.23607 2 5 | 1 1.41421 2.23607 20.1246 1 2 1 1.41421 2.23607 6 | 1.41421 1 1.41421 1 12.7279 1 1.41421 1 1.41421 7 | 2.23607 1.41421 1 2 1 20.1246 2.23607 1.41421 1 8 | 2 2.23607 2.82843 1 1.41421 2.23607 25.4558 1 2 9 | 2.23607 2 2.23607 1.41421 1 1.41421 1 20.1246 1 10 | 2.82843 2.23607 2 2.23607 1.41421 1 2 1 25.4558 11 | 12 | 9 13 | 1.41421 2.23607 3.16228 2.23607 2.82843 3.60555 3.16228 3.60555 4.24264 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/par/Makefile: -------------------------------------------------------------------------------- 1 | all: main 2 | ./$< < $<.in > main.out --threads 4 3 | diff main.out main.gold 4 | ./$< < $<.in --threads 4 5 | ./$< < $<.in --threads 4 --is_bench 6 | 7 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 8 | LDFLAGS+=-ltbb 9 | LDFLAGS+=-ltbb 10 | CXX=icpc 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/par/main.gold: -------------------------------------------------------------------------------- 1 | 9 9 2 | 25.4558 1 2 1 1.41421 2.23607 2 2.23607 2.82843 3 | 1 20.1246 1 1.41421 1 1.41421 2.23607 2 2.23607 4 | 2 1 25.4558 2.23607 1.41421 1 2.82843 2.23607 2 5 | 1 1.41421 2.23607 20.1246 1 2 1 1.41421 2.23607 6 | 1.41421 1 1.41421 1 12.7279 1 1.41421 1 1.41421 7 | 2.23607 1.41421 1 2 1 20.1246 2.23607 1.41421 1 8 | 2 2.23607 2.82843 1 1.41421 2.23607 25.4558 1 2 9 | 2.23607 2 2.23607 1.41421 1 1.41421 1 20.1246 1 10 | 2.82843 2.23607 2 2.23607 1.41421 1 2 1 25.4558 11 | 12 | 9 13 | 1.41421 2.23607 3.16228 2.23607 2.82843 3.60555 3.16228 3.60555 4.24264 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/par/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/seq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | CXXFLAGS+=-std=c++0x -O2 3 | all: main 4 | ./$< < $<.in > main.out --threads 4 5 | diff main.out main.gold 6 | ./$< < $<.in --threads 4 7 | ./$< < $<.in --threads 4 --is_bench 8 | 9 | CXXFLAGS+=-std=c++0x -O2 10 | CXX=icpc 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/seq/main.gold: -------------------------------------------------------------------------------- 1 | 9 9 2 | 25.4558 1 2 1 1.41421 2.23607 2 2.23607 2.82843 3 | 1 20.1246 1 1.41421 1 1.41421 2.23607 2 2.23607 4 | 2 1 25.4558 2.23607 1.41421 1 2.82843 2.23607 2 5 | 1 1.41421 2.23607 20.1246 1 2 1 1.41421 2.23607 6 | 1.41421 1 1.41421 1 12.7279 1 1.41421 1 1.41421 7 | 2.23607 1.41421 1 2 1 20.1246 2.23607 1.41421 1 8 | 2 2.23607 2.82843 1 1.41421 2.23607 25.4558 1 2 9 | 2.23607 2 2.23607 1.41421 1 1.41421 1 20.1246 1 10 | 2.82843 2.23607 2 2.23607 1.41421 1 2 1 25.4558 11 | 12 | 9 13 | 1.41421 2.23607 3.16228 2.23607 2.82843 3.60555 3.16228 3.60555 4.24264 14 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/outer/seq/main.in: -------------------------------------------------------------------------------- 1 | 9 2 | 1 1 3 | 1 2 4 | 1 3 5 | 2 1 6 | 2 2 7 | 2 3 8 | 3 1 9 | 3 2 10 | 3 3 11 | 12 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in > main.out --threads 4 4 | diff main.out main.gold 5 | ./$< < $<.in --threads 4 6 | ./$< < $<.in --threads 4 --is_bench 7 | 8 | CXXFLAGS+=-std=c++0x -O2 9 | LDFLAGS+=-ltbb 10 | CXX=icpc 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 32.9100 76.5500 120.1900 163.8300 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1.0 2.0 3.0 4.0 4 | 5.0 6.0 7.0 8.0 5 | 9.0 10.0 11.0 12.0 6 | 13.0 14.0 15.0 16.0 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O3 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in > main.out --threads 4 4 | diff main.out main.gold 5 | ./$< < $<.in --threads 4 6 | ./$< < $<.in --threads 4 --is_bench 7 | 8 | CXXFLAGS+=-std=c++0x -O2 9 | LDFLAGS+=-ltbb 10 | CXX=icpc 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 0 0 0 0 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/par/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in > main.out --threads 4 4 | diff main.out main.gold 5 | ./$< < $<.in --threads 4 6 | ./$< < $<.in --threads 4 --is_bench 7 | 8 | CXXFLAGS+=-std=c++0x -O2 9 | LDFLAGS+=-ltbb 10 | CXX=icpc 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/par/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 0 0 0 0 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/par/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1.0 2.0 3.0 4.0 4 | 5.0 6.0 7.0 8.0 5 | 9.0 10.0 11.0 12.0 6 | 13.0 14.0 15.0 16.0 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/seq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in > main.out --threads 4 4 | diff main.out main.gold 5 | ./$< < $<.in --threads 4 6 | ./$< < $<.in --threads 4 --is_bench 7 | 8 | CXXFLAGS+=-std=c++0x -O2 9 | LDFLAGS+=-ltbb 10 | CXX=icpc 11 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/seq/main.gold: -------------------------------------------------------------------------------- 1 | 4 2 | 0 0 0 0 3 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/product/seq/main.in: -------------------------------------------------------------------------------- 1 | 4 2 | 3 | 1 2 3 4 4 | 5 6 7 8 5 | 9 10 11 12 6 | 13 14 15 16 7 | 8 | 1.01 2.2 3.3 4.4 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/randmat/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | echo "10 9 8" | ./main --threads 4 4 | echo "1 4 8" | ./main --threads 4 5 | echo "1 5 8" | ./main --threads 4 6 | echo "2 5 8" | ./main --threads 4 7 | echo "2 5 9" | ./main --threads 4 8 | echo "2 5 9" | ./main --is_bench --threads 4 9 | 10 | CXXFLAGS+=-std=c++0x -O2 11 | LDFLAGS+=-ltbb 12 | CXX=icpc 13 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/randmat/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | echo "10 9 8" | ./main 4 | echo "1 4 8" | ./main 5 | echo "1 5 8" | ./main 6 | echo "2 5 8" | ./main 7 | echo "2 5 9" | ./main 8 | echo "2 5 9" | ./main --is_bench 9 | 10 | CXXFLAGS+=-std=c++0x -O2 11 | LDFLAGS+=-ltbb 12 | CXX=icpc 13 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/randmat/par/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | echo "10 9 8" | ./main --threads 4 4 | echo "1 4 8" | ./main --threads 4 5 | echo "1 5 8" | ./main --threads 4 6 | echo "2 5 8" | ./main --threads 4 7 | echo "2 5 9" | ./main --threads 4 8 | echo "2 5 9" | ./main --is_bench --threads 4 9 | 10 | CXXFLAGS+=-std=c++0x -O2 11 | LDFLAGS+=-ltbb 12 | CXX=icpc 13 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/randmat/seq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | echo "10 9 8" | ./main 4 | echo "1 4 8" | ./main 5 | echo "1 5 8" | ./main 6 | echo "2 5 8" | ./main 7 | echo "2 5 9" | ./main 8 | echo "2 5 9" | ./main --is_bench 9 | 10 | CXXFLAGS+=-std=c++0x -O2 11 | LDFLAGS+=-ltbb 12 | CXX=icpc 13 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in --threads 4 > main.out 4 | diff main.out main.gold 5 | ./$< < $<2.in --threads 4 > main2.out 6 | diff main2.out main2.gold 7 | ./$< < $<3.in --threads 4 > main3.out 8 | diff main3.out main3.gold 9 | ./$< < $<4.in --threads 4 > main4.out 10 | diff main4.out main4.gold 11 | ./$< < $<5.in --threads 4 > main5.out 12 | diff main5.out main5.gold 13 | ./$< < $<6.in --threads 4 > main6.out 14 | diff main6.out main6.gold 15 | ./$< < $<.in 16 | ./$< < $<.in --is_bench 17 | CXXFLAGS+=-std=c++0x -O2 18 | LDFLAGS+=-ltbb 19 | CXX=icpc 20 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main2.gold: -------------------------------------------------------------------------------- 1 | 0 0 1 2 | 1 0 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main3.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main4.gold: -------------------------------------------------------------------------------- 1 | 0 1 1 2 | 1 1 0 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main5.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main6.gold: -------------------------------------------------------------------------------- 1 | 1 1 1 2 | 1 1 1 3 | 4 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertpar/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in --threads 4 > main.out 4 | diff main.out main.gold 5 | ./$< < $<2.in --threads 4 > main2.out 6 | diff main2.out main2.gold 7 | ./$< < $<3.in --threads 4 > main3.out 8 | diff main3.out main3.gold 9 | ./$< < $<4.in --threads 4 > main4.out 10 | diff main4.out main4.gold 11 | ./$< < $<5.in --threads 4 > main5.out 12 | diff main5.out main5.gold 13 | ./$< < $<6.in --threads 4 > main6.out 14 | diff main6.out main6.gold 15 | ./$< < $<.in 16 | ./$< < $<.in --is_bench 17 | CXXFLAGS+=-std=c++0x -O2 18 | CXX=icpc 19 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/chain.in: -------------------------------------------------------------------------------- 1 | 5 5 2 | 73 32 63 30 69 3 | 98 37 4 11 50 4 | 23 42 45 92 35 5 | 48 47 82 73 20 6 | 73 56 23 54 1 7 | 50 8 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main2.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main3.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main5.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main6.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/expertseq/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in --threads 4 > main.out 4 | diff main.out main.gold 5 | ./$< < $<2.in --threads 4 > main2.out 6 | diff main2.out main2.gold 7 | ./$< < $<3.in --threads 4 > main3.out 8 | diff main3.out main3.gold 9 | ./$< < $<4.in --threads 4 > main4.out 10 | diff main4.out main4.gold 11 | ./$< < $<5.in --threads 4 > main5.out 12 | diff main5.out main5.gold 13 | ./$< < $<6.in --threads 4 > main6.out 14 | diff main6.out main6.gold 15 | ./$< < $<.in 16 | ./$< < $<.in --is_bench 17 | CXXFLAGS+=-std=c++0x -O2 18 | LDFLAGS+=-ltbb 19 | CXX=icpc 20 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main2.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main3.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main4.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main5.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main6.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/par/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in --threads 4 > main.out 4 | diff main.out main.gold 5 | ./$< < $<2.in --threads 4 > main2.out 6 | diff main2.out main2.gold 7 | ./$< < $<3.in --threads 4 > main3.out 8 | diff main3.out main3.gold 9 | ./$< < $<4.in --threads 4 > main4.out 10 | diff main4.out main4.gold 11 | ./$< < $<5.in --threads 4 > main5.out 12 | diff main5.out main5.gold 13 | ./$< < $<6.in --threads 4 > main6.out 14 | diff main6.out main6.gold 15 | ./$< < $<.in 16 | ./$< < $<.in --is_bench 17 | CXXFLAGS+=-std=c++0x -O2 18 | CXX=icpc 19 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 0 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main2.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 0 1 3 | 1 0 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 33 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main3.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 34 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 0 1 1 3 | 1 1 0 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 66 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main5.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main5.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 67 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main6.gold: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 1 1 3 | 1 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/thresh/seq/main6.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 100 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< --threads 4 < $<.in > main.out 4 | diff main.out main.gold 5 | ./$< --threads 4 < $<2.in > main2.out 6 | diff main2.out main2.gold 7 | ./$< --threads 4 < $<3.in > main3.out 8 | diff main3.out main3.gold 9 | ./$< --threads 4 < $<4.in > main4.out 10 | diff main4.out main4.gold 11 | ./$< --threads 4 < $<.in 12 | ./$< --threads 4 --is_bench < $<.in 13 | 14 | 15 | CXXFLAGS+=-std=c++0x -O2 16 | LDFLAGS+=-ltbb 17 | CXX=icpc 18 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertpar/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in > main.out 4 | diff main.out main.gold 5 | ./$< < $<2.in > main2.out 6 | diff main2.out main2.gold 7 | ./$< < $<3.in > main3.out 8 | diff main3.out main3.gold 9 | ./$< < $<4.in > main4.out 10 | diff main4.out main4.gold 11 | ./$< < $<.in > main.out 12 | ./$< < $<.in 13 | ./$< < $<.in --is_bench 14 | 15 | CXXFLAGS+=-std=c++0x -O2 16 | LDFLAGS+=-ltbb 17 | CXX=icpc 18 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/chain.in: -------------------------------------------------------------------------------- 1 | 5 5 2 | 73 32 63 30 69 3 | 98 37 4 11 50 4 | 23 42 45 92 35 5 | 48 47 82 73 20 6 | 73 56 23 54 1 7 | 8 | 1 0 1 0 1 9 | 1 0 0 0 1 10 | 0 0 0 1 0 11 | 1 1 1 1 0 12 | 1 1 0 1 0 13 | 14 | 6 15 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/expertseq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< --threads 4 < $<.in > main.out 4 | diff main.out main.gold 5 | ./$< --threads 4 < $<2.in > main2.out 6 | diff main2.out main2.gold 7 | ./$< --threads 4 < $<3.in > main3.out 8 | diff main3.out main3.gold 9 | ./$< --threads 4 < $<4.in > main4.out 10 | diff main4.out main4.gold 11 | ./$< --threads 4 < $<.in 12 | ./$< --threads 4 --is_bench < $<.in 13 | 14 | 15 | CXXFLAGS+=-std=c++0x -O2 16 | LDFLAGS+=-ltbb 17 | CXX=icpc 18 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/par/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS+=-std=c++0x -O2 -m64 -ltbb -lpthread -lrt -lrt 2 | all: main 3 | ./$< < $<.in > main.out 4 | diff main.out main.gold 5 | ./$< < $<2.in > main2.out 6 | diff main2.out main2.gold 7 | ./$< < $<3.in > main3.out 8 | diff main3.out main3.gold 9 | ./$< < $<4.in > main4.out 10 | diff main4.out main4.gold 11 | ./$< < $<.in > main.out 12 | ./$< < $<.in 13 | ./$< < $<.in --is_bench 14 | 15 | CXXFLAGS+=-std=c++0x -O2 16 | LDFLAGS+=-ltbb 17 | CXX=icpc 18 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/main.gold: -------------------------------------------------------------------------------- 1 | 6 2 | 0 0 3 | 1 2 4 | 0 1 5 | 1 1 6 | 0 2 7 | 1 0 8 | 9 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/main.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 6 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/main2.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 0 0 3 | 0 1 4 | 0 2 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/main2.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 1 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/main3.gold: -------------------------------------------------------------------------------- 1 | 3 2 | 1 2 3 | 0 1 4 | 1 1 5 | 6 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/main3.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 3 9 | 10 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/main4.gold: -------------------------------------------------------------------------------- 1 | 2 2 | 1 2 3 | 1 1 4 | 5 | -------------------------------------------------------------------------------- /cowichan/baSrcPaper/tbb/winnow/seq/main4.in: -------------------------------------------------------------------------------- 1 | 2 3 2 | 1 2 3 3 | 3 2 1 4 | 5 | 0 1 1 6 | 1 1 1 7 | 8 | 2 9 | 10 | -------------------------------------------------------------------------------- /cowichan/c.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # findet alle mains unter outer/expertpar 4 | # out=($(find . -regextype posix-extended -regex "\./.*/outer/expertpar/main\.(go|[chpl]{2,4})")) 5 | # echo ${out[2]} 6 | 7 | #how to use: 8 | # cow && cd $( ./c.sh thresh 0) 9 | # -> leads to folder: ./baSrcPaper/chapel/thresh/expertpar 10 | lL=(chapel go cilk tbb) 11 | lP=(randmat thresh winnow outer product chain) 12 | 13 | echo ./baSrcPaper/${lL[$1]}/${lP[$2]}/expertpar 14 | 15 | -------------------------------------------------------------------------------- /cowichan/chain/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: chain 5 | #mpirun -n 4 ./$@ < main.in > rand.out2 6 | #diff -ws rand.out2 main.gold 7 | 8 | chain: chain.cpp ../randmat/randmat.h ../thresh/thresh.h ../winnow/winnow.h ../outer/outer.h ../product/product.h 9 | $(CXX) -c $(INC) $< 10 | $(CXX) -o $@ $@.o $(LIB) 11 | 12 | 13 | .PHONY: printenv 14 | printenv: 15 | @echo "CXX = $(CXX)" 16 | @echo "DART_IMPL = $(DART_IMPL)" 17 | @echo "DASH_ROOT = $(DASH_ROOT)" 18 | @echo "INC = $(INC)" 19 | @echo "LIB = $(LIB)" 20 | 21 | .PHONY: clean 22 | clean: 23 | -rm chain 24 | -rm chain.o 25 | -------------------------------------------------------------------------------- /cowichan/make.defs: -------------------------------------------------------------------------------- 1 | DASH_ROOT = $(HOME)/opt/dash-0.3.0 2 | 3 | DART_IMPL = mpi 4 | 5 | INC=-I$(DASH_ROOT)/include 6 | LIB=-L$(DASH_ROOT)/lib -ldash-$(DART_IMPL) -ldart-$(DART_IMPL) -ldart-base 7 | 8 | #CXXFLAGS= -g -O0 -Wall -DDASH_DEBUG=1 -DDASH_ENABLE_DEFAULT_INDEX_TYPE_LONG 9 | #CXXFLAGS= -O3 -DDASH_ENABLE_DEFAULT_INDEX_TYPE_LONG 10 | CXXFLAGS= -O3 -Ofast 11 | 12 | CXX = mpicxx -std=c++11 $(CXXFLAGS) 13 | -------------------------------------------------------------------------------- /cowichan/outer/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: outer 5 | 6 | outer: outer.cpp outer.h 7 | $(CXX) -c $(INC) $< 8 | $(CXX) -o $@ $@.o $(LIB) 9 | 10 | 11 | .PHONY: printenv 12 | printenv : 13 | @echo "CXX = $(CXX)" 14 | @echo "DART_IMPL = $(DART_IMPL)" 15 | @echo "DASH_ROOT = $(DASH_ROOT)" 16 | @echo "INC = $(INC)" 17 | @echo "LIB = $(LIB)" 18 | 19 | .PHONY: clean 20 | clean: 21 | -rm outer 22 | -rm outer.o 23 | -------------------------------------------------------------------------------- /cowichan/product/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: product 5 | 6 | product: product.cpp product.h 7 | $(CXX) -c $(INC) $< 8 | $(CXX) -o $@ $@.o $(LIB) 9 | 10 | 11 | .PHONY: printenv 12 | printenv : 13 | @echo "CXX = $(CXX)" 14 | @echo "DART_IMPL = $(DART_IMPL)" 15 | @echo "DASH_ROOT = $(DASH_ROOT)" 16 | @echo "INC = $(INC)" 17 | @echo "LIB = $(LIB)" 18 | 19 | .PHONY: clean 20 | clean: 21 | -rm product 22 | -rm product.o 23 | -------------------------------------------------------------------------------- /cowichan/randmat/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: randmat 5 | #mpirun -n 4 ./$@ < main.in > rand.out2 6 | #diff -ws rand.out2 main.gold 7 | 8 | randmat: randmat.cpp randmat.h 9 | $(CXX) -c $(INC) $< 10 | $(CXX) -o $@ $@.o $(LIB) 11 | 12 | 13 | .PHONY: printenv 14 | printenv: 15 | @echo "CXX = $(CXX)" 16 | @echo "DART_IMPL = $(DART_IMPL)" 17 | @echo "DASH_ROOT = $(DASH_ROOT)" 18 | @echo "INC = $(INC)" 19 | @echo "LIB = $(LIB)" 20 | 21 | .PHONY: clean 22 | clean: 23 | -rm randmat 24 | -rm randmat.o 25 | -------------------------------------------------------------------------------- /cowichan/thresh/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: thresh 5 | 6 | thresh: thresh.cpp thresh.h 7 | $(CXX) -c $(INC) $< 8 | $(CXX) -o $@ $@.o $(LIB) 9 | 10 | 11 | .PHONY: printenv 12 | printenv : 13 | @echo "CXX = $(CXX)" 14 | @echo "DART_IMPL = $(DART_IMPL)" 15 | @echo "DASH_ROOT = $(DASH_ROOT)" 16 | @echo "INC = $(INC)" 17 | @echo "LIB = $(LIB)" 18 | 19 | .PHONY: clean 20 | clean: 21 | -rm thresh 22 | -rm thresh.o 23 | -------------------------------------------------------------------------------- /cowichan/w.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true; do 4 | sleep 1 5 | free -m 6 | done 7 | 8 | -------------------------------------------------------------------------------- /cowichan/winnow/Makefile: -------------------------------------------------------------------------------- 1 | include ../make.defs 2 | 3 | .PHONY: all 4 | all: winnow 5 | 6 | winnow: winnow.cpp winnow.h ../Terminal_Color.h 7 | $(CXX) -c $(INC) $< 8 | $(CXX) -o $@ $@.o $(LIB) 9 | 10 | .PHONY: printenv 11 | printenv : 12 | @echo "CXX = $(CXX)" 13 | @echo "DART_IMPL = $(DART_IMPL)" 14 | @echo "DASH_ROOT = $(DASH_ROOT)" 15 | @echo "INC = $(INC)" 16 | @echo "LIB = $(LIB)" 17 | 18 | .PHONY: clean 19 | clean: 20 | -rm winnow 21 | -rm winnow.o 22 | 23 | -------------------------------------------------------------------------------- /cowichan/winnow/input: -------------------------------------------------------------------------------- 1 | 10 10 2 | 98 5 20 63 78 57 92 67 6 5 3 | 23 10 61 44 59 82 49 80 67 6 4 | 48 19 2 25 44 7 10 93 32 7 5 | 73 24 43 6 29 28 67 6 93 8 6 | 98 29 80 87 10 53 24 19 58 9 7 | 23 34 21 68 95 78 85 32 19 10 8 | 48 39 62 53 80 3 42 45 84 11 9 | 73 44 99 34 61 24 3 58 45 12 10 | 98 49 40 15 46 49 60 71 10 17 11 | 23 54 81 96 31 74 21 84 71 18 12 | 13 | 1 0 0 0 1 0 1 0 0 0 14 | 0 0 0 0 0 1 0 1 0 0 15 | 0 0 0 0 0 0 0 1 0 0 16 | 1 0 0 0 0 0 0 0 1 0 17 | 1 0 1 1 0 0 0 0 0 0 18 | 0 0 0 1 1 1 1 0 0 0 19 | 0 0 0 0 1 0 0 0 1 0 20 | 1 0 1 0 0 0 0 0 0 0 21 | 1 0 0 0 0 0 0 1 0 0 22 | 0 0 1 1 0 1 0 1 1 0 23 | 24 | 3 25 | -------------------------------------------------------------------------------- /dummy-app/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BUILD_DIR=./build 4 | 5 | FORCE_BUILD=false 6 | if [ "$1" = "-f" ]; then 7 | FORCE_BUILD=true 8 | fi 9 | 10 | await_confirm() { 11 | if ! $FORCE_BUILD; then 12 | echo "" 13 | echo " To build using these settings, hit ENTER" 14 | read confirm 15 | fi 16 | } 17 | 18 | mkdir -p $BUILD_DIR 19 | rm -Rf $BUILD_DIR/* 20 | (cd $BUILD_DIR && \ 21 | cmake -DCMAKE_BUILD_TYPE=release \ 22 | \ 23 | ../ && \ 24 | await_confirm && \ 25 | make -j 4) 26 | -------------------------------------------------------------------------------- /dummy-app/main.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Dummy C++ app as a startpoint for writing dash applications 3 | */ 4 | #include 5 | 6 | #include 7 | 8 | int main(int argc, char** argv){ 9 | // Initialize DASH 10 | dash::init(&argc, &argv); 11 | 12 | // do something 13 | std::cout << "I'm Unit " << dash::myid() << std::endl; 14 | 15 | // quit dash 16 | dash::finalize(); 17 | } 18 | -------------------------------------------------------------------------------- /hpccg/jobfiles/cori/schedule-job.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | [[ ! -z "$1" ]] || { echo "usage: $0 "; exit 1; } 4 | TPL="$1" 5 | UNITS="1 2 4 8 16 32 64 128 256" 6 | PPN="32" 7 | 8 | for NUNITS in $UNITS; do 9 | JOBOUT="$TPL.$NUNITS" 10 | NODES=$((($NUNITS-1) / ($PPN+1) +1)) 11 | sed "s//$NUNITS/g" $TPL > $JOBOUT 12 | sed -i "s//$NODES/g" $JOBOUT 13 | sbatch $JOBOUT 14 | rm $JOBOUT 15 | done 16 | 17 | -------------------------------------------------------------------------------- /hpccg/jobfiles/supermuc/README.md: -------------------------------------------------------------------------------- 1 | # Run HPCCG on LRZ Supermuc 2 | 3 | ## Load suitable environment 4 | 5 | ## Compile and Install 6 | 7 | - execute `dash-apps/HPCCG/compile-all.sh supermuc` 8 | 9 | ## Run 10 | 11 | - Schedule desired jobfile using `bash schedule-job.sh