Skip to content

Commit ff79468

Browse files
authored
Standalone benchmarking script (#365)
* Implement a stand-alone benchmarking script: * Script simulates one of several data volumes, chosen based on runtime job size. * Ground scheduler moved into the toast package to support calling directly at the job start without using subprocess. * Several small build system cleanups. * Updated formatting * Run formatting script. * Dump data distribution in benchmark logs * Change the benchmark sample distribution to first scale the number of detectors up to a reasonable size and then increase the observing timespan. * Add new mapmaker parameters to the benchmark. * Comment this out for now. * Update changelog in anticipation of release. * Make metric value more meaningful * Release today, not yesterday.
1 parent 8f7473a commit ff79468

20 files changed

+4296
-2950
lines changed

cmake/FindLAPACKnames.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# LAPACK_NAMES ... equals "UPPER", "LOWER", "UBACK", or "UFRONT".
1010

1111
set(MANGLING_OPTIONS
12-
"UPPER"
1312
"LOWER"
13+
"UPPER"
1414
"UBACK"
1515
"UFRONT")
1616

cmake/lapack_mangling.cpp

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@
33
// in the LAPACK library without actually using the fortran compiler.
44

55
#if defined LAPACK_UPPER
6-
# define func ILAVER
6+
# define func DPOTRF
77
#elif defined LAPACK_LOWER
8-
# define func ilaver
8+
# define func dpotrf
99
#elif defined LAPACK_UBACK
10-
# define func ilaver_
10+
# define func dpotrf_
1111
#elif defined LAPACK_UFRONT
12-
# define func _ilaver
13-
#endif // if defined LAPACK_UP
12+
# define func _dpotrf
13+
#endif // if defined LAPACK_UPPER
1414
extern "C" {
15-
void func(int * major, int * minor, int * patch);
15+
void func(char * UPLO, int * N, double * A, int * LDA, int * INFO);
1616
}
1717
int main(int argc, char ** argv) {
18-
int major = 0;
19-
int minor = 0;
20-
int patch = 0;
21-
func(&major, &minor, &patch);
18+
char UPLO = 'L';
19+
int N = 1;
20+
double A[1];
21+
int LDA = 1;
22+
int INFO = 0;
23+
func(&UPLO, &N, A, &LDA, &INFO);
2224
return 0;
2325
}

docs/changes.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,28 @@
33
Change Log
44
-------------------------
55

6-
2.3.9 (Unreleased)
6+
2.3.9 (2020-10-15)
77
~~~~~~~~~~~~~~~~~~~~~~~~~
88

9-
* No changes yet
9+
* Add stand-alone benchmarking tool (PR `#365`_).
10+
* Update wheels to use latest OpenBLAS and SuiteSparse (PR `#368`_).
11+
* Tweaks to atmosphere simulation based on calibration campaign (PR `#367`_).
12+
* Add support for 2D polynomial filtering across focalplane (PR `#366`_).
13+
* Ground scheduler support for elevation modulated scans (PR `#364`_).
14+
* Add better dictionary interface to Cache class (PR `#363`_).
15+
* Support simulating basic non-ideal HWP response (PR `#362`_).
16+
* Ground scheduler support for fixed elevations and partial scans (PR `#361`_).
17+
* Additional check for NULL plan returned from FFTW (PR `#360`_).
18+
19+
.. _`#360`: https://github.com/hpc4cmb/toast/pull/360
20+
.. _`#361`: https://github.com/hpc4cmb/toast/pull/361
21+
.. _`#362`: https://github.com/hpc4cmb/toast/pull/362
22+
.. _`#363`: https://github.com/hpc4cmb/toast/pull/363
23+
.. _`#364`: https://github.com/hpc4cmb/toast/pull/364
24+
.. _`#365`: https://github.com/hpc4cmb/toast/pull/365
25+
.. _`#366`: https://github.com/hpc4cmb/toast/pull/366
26+
.. _`#367`: https://github.com/hpc4cmb/toast/pull/367
27+
.. _`#368`: https://github.com/hpc4cmb/toast/pull/368
1028

1129
2.3.8 (2020-06-27)
1230
~~~~~~~~~~~~~~~~~~~~~~~~~

pipelines/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ install(PROGRAMS
1111
toast_satellite_sim.py
1212
toast_ground_sim.py
1313
toast_ground_sim_simple.py
14+
toast_benchmark.py
1415
DESTINATION bin
1516
)

0 commit comments

Comments
 (0)