forked from LLNL/LULESH
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
80 lines (47 loc) · 3.46 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
This is the README for LULESH 2.0
More information including LULESH 1.0 can be found at https://codesign.llnl.gov/lulesh.php
If you have any questions or problems please contact:
Ian Karlin <[email protected]> or
Rob Neely <[email protected]>
Also please send any notable results to Ian Karlin <[email protected]> as we are still evaluating the performance of this code.
A Makefile and a CMake build system are provided.
*** Building with CMake ***
Create a build directory and run cmake. Example:
$ mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=Release -DMPI_CXX_COMPILER=`which mpicxx` ..
CMake variables:
CMAKE_BUILD_TYPE "Debug", "Release", or "RelWithDebInfo"
CMAKE_CXX_COMPILER Path to the C++ compiler
MPI_CXX_COMPILER Path to the MPI C++ compiler
WITH_MPI=On|Off Build with MPI (Default: On)
WITH_OPENMP=On|Off Build with OpenMP support (Default: On)
WITH_SILO=On|Off Build with support for SILO. (Default: Off).
SILO_DIR Path to SILO library (only needed when WITH_SILO is "On")
*** Notable changes in LULESH 2.0 ***
Split functionality into different files
lulesh.cc - where most (all?) of the timed functionality lies
lulesh-comm.cc - MPI functionality
lulesh-init.cc - Setup code
lulesh-viz.cc - Support for visualization option
lulesh-util.cc - Non-timed functions
The concept of "regions" was added, although every region is the same ideal gas material, and the same sedov blast wave problem is still the only problem its hardcoded to solve. Regions allow two things important to making this proxy app more representative:
Four of the LULESH routines are now performed on a region-by-region basis, making the memory access patterns non-unit stride
Artificial load imbalances can be easily introduced that could impact parallelization strategies.
* The load balance flag changes region assignment. Region number is raised to the power entered for assignment probability. Most likely regions changes with MPI process id.
* The cost flag raises the cost of ~45% of the regions to evaluate EOS by the entered multiple. The cost of 5% is 10x the entered
multiple.
MPI and OpenMP were added, and coalesced into a single version of the source that can support serial builds, MPI-only, OpenMP-only, and MPI+OpenMP
Added support to write plot files using "poor mans parallel I/O" when linked with the silo library, which in turn can be read by VisIt.
Enabled variable timestep calculation by default (courant condition), which results in an additional reduction. Also, seeded the initial timestep based on analytical equation to allow scaling to arbitrary size. Therefore steps to solution will differ from LULESH 1.0.
Default domain (mesh) size reduced from 45^3 to 30^3
Command line options to allow for numerous test cases without needing to recompile
Performance optimizations and code cleanup uncovered during study of LULESH 1.0
Added a "Figure of Merit" calculation (elements solved per microsecond) and output in support of using LULESH 2.0 for the 2017 CORAL procurement
*** Notable changes in LULESH 2.1 ***
Minor bug fixes.
Code cleanup to add consitancy to variable names, loop indexing, memory allocation/deallocation, etc.
Destructor added to main class to clean up when code exits.
Possible Future 2.0 minor updates (other changes possible as discovered)
* Different default parameters
* Minor code performance changes and cleanupS
TODO in future versions
* Add reader for (truly) unstructured meshes, probably serial only