This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef THREAD_POOL_H | |
#define THREAD_POOL_H | |
#include <vector> | |
#include <deque> | |
#include <memory> | |
#include <thread> | |
#include <mutex> | |
#include <condition_variable> | |
#include <future> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# Copyright (c) 2011 Thomas Heller | |
# | |
# Distributed under the Boost Software License, Version 1.0. (See accompanying | |
# file BOOST_LICENSE_1_0.rst or copy at http://www.boost.org/LICENSE_1_0.txt) | |
# | |
#PBS -N jacobi_super_bench_vega | |
#PBS -l nodes=vega:ppn=48 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2013 Thomas Heller | |
// Copyright (c) 2013 Andreas Schaefer | |
// | |
// Distributed under the Boost Software License, Version 1.0. (See accompanying | |
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
#include <hpx/hpx_main.hpp> | |
#include <hpx/hpx.hpp> | |
#include <hpx/include/iostreams.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#SBATCH -J hpx_uts_benchmark | |
#SBATCH -o hpx_uts_benchmark.o%j | |
#SBATCH -p normal | |
#SBATCH -N 32 | |
#SBATCH -n 32 | |
#SBATCH -t 10:00:00 | |
HOSTS=`scontrol show hostname` | |
source $WORK/hpx_benchmarks/benchmarks/uts/sample_trees.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[heller@sunshine debug]$ gdb bin/hello_world | |
GNU gdb (GDB) 7.6 | |
Copyright (C) 2013 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-unknown-linux-gnu". | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: main | |
b.o: b.cpp b.hpp a.hpp | |
g++ -std=c++11 -c b.cpp -I$(CEREAL_INCLUDE) | |
c.o: c.cpp c.hpp a.hpp | |
g++ -std=c++11 -c c.cpp -I$(CEREAL_INCLUDE) | |
main: main.cpp b.o c.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="//ajax.googleapis.com/ajax/static/modules/gviz/1.0/chart.js"> {"dataSourceUrl":"//docs.google.com/spreadsheet/tq?key=0AlIgT7hBEdsndDVKVjV2Yks5OFNNTHJqQnNzSmJhc2c&transpose=0&headers=1&range=A1%3AE22&gid=0&pub=1","options":{"titleTextStyle":{"bold":true,"color":"#000","fontSize":16},"vAxes":[{"title":null,"useFormatFromData":true,"minValue":null,"viewWindowMode":"explicit","viewWindow":{"min":null,"max":2000},"maxValue":2000},{"useFormatFromData":true,"minValue":null,"viewWindow":{"min":null,"max":null},"maxValue":null}],"title":"Latency of different HPX Parcelports","curveType":"","booleanRole":"certainty","animation":{"duration":500},"legend":"right","lineWidth":2,"useFirstColumnAsDomain":true,"hAxis":{"useFormatFromData":false,"formatOptions":{"source":"inline","scaleFactor":"1000000"},"minValue":null,"format":"0.##","viewWindow":{"min":null,"max":null},"logScale":true,"maxValue":null},"tooltip":{},"width":955,"height":671},"state":{},"view":{},"isDefaultVisualization":tr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 1400018dc59a src/parallelization/hiparsimulator/partitionmanager.h | |
--- a/src/parallelization/hiparsimulator/partitionmanager.h Thu Aug 08 06:31:20 2013 -0500 | |
+++ b/src/parallelization/hiparsimulator/partitionmanager.h Tue Aug 20 07:59:22 2013 -0500 | |
@@ -66,12 +66,7 @@ | |
CoordBox<DIM> ownBoundingBox = ownExpandedRegion().boundingBox(); | |
for (unsigned i = 0; i < boundingBoxes.size(); ++i) { | |
- if (i != rank && | |
- boundingBoxes[i].intersects(ownBoundingBox) && | |
- (!(getRegion(rank, ghostZoneWidth) & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -f CMakeCache.txt ]; then | |
rm -rf CMakeCache.txt | |
fi | |
cmake -DHPX_NO_INSTALL=True \ | |
-DCMAKE_AR=$ICC_BIN/xiar \ | |
-DCMAKE_CXX_COMPILER=$ICC_BIN/icpc \ | |
-DCMAKE_C_COMPILER=$ICC_BIN/icc \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[13:43:37]:heller@c558-302.stampede.tacc.utexas.edu:/work/02405/heller/build/hpx/relwithdeb-host:0:$ time ./bin/hello_world | |
hello world from OS-thread 4 on locality 0 | |
hello world from OS-thread 7 on locality 0 | |
hello world from OS-thread 0 on locality 0 | |
hello world from OS-thread 14 on locality 0 | |
hello world from OS-thread 13 on locality 0 | |
hello world from OS-thread 9 on locality 0 | |
hello world from OS-thread 2 on locality 0 | |
hello world from OS-thread 12 on locality 0 | |
hello world from OS-thread 3 on locality 0 |