-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c04ebb5
commit 5cbb0fd
Showing
5 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,25 +34,25 @@ For a brief introduction to the command line tools, please refer to the [tools o | |
For detailed information on the gathered and stored data as well as the tools themselves, please refer to [data](https://discopop-project.github.io/discopop/Data) and the pages of the individual tools in the [tools overview](https://discopop-project.github.io/discopop/Tools). | ||
|
||
## TL;DR | ||
This example installs DiscoPoP, instruments and builds the provided example, analyzes the results, and prints the identified parallelization suggestions to the console. | ||
If you are interested in installing DiscoPoP as a `developer`, please refer to the [DiscoPoP setup wiki page](https://discopop-project.github.io/discopop/setup/discopop/). | ||
|
||
The following example installs DiscoPoP for `users`, instruments and builds the provided example, analyzes the results, and prints the identified parallelization suggestions to the console. | ||
In case any issues arise during the process, please refer to the detailed [setup instructions](https://discopop-project.github.io/discopop/Setup), contact us via GitHub messages, or get in contact by mail to [[email protected]](mailto:[email protected]). | ||
|
||
### Prerequisites | ||
- Download `.deb` package from [latest Release](https://github.com/discopop-project/discopop/releases/latest) | ||
### Example | ||
``` | ||
# setup DiscoPoP | ||
git clone [email protected]:discopop-project/discopop.git | ||
cd discopop | ||
mkdir build && cd build | ||
DP_BUILD=$(pwd) | ||
cmake .. && make | ||
# install package | ||
sudo apt install ./<packagename>.deb | ||
# instrument and build the example code | ||
cd ../example | ||
mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=${DP_BUILD}/scripts/CXX_wrapper.sh .. && make | ||
cd /opt/DiscoPoP/example | ||
mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=discopop_cxx .. && make | ||
# execute instrumented code | ||
./cmake_example | ||
# identify parallel patterns | ||
cd .discopop | ||
discopop_explorer | ||
# create applicable patches from patterns | ||
discopop_patch_generator | ||
# print patches to the console | ||
for f in $(find patch_generator -maxdepth 1 -type d); do | ||
echo "SUGGESTION: $f" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.0.0 | ||
4.0.1 |
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
1 change: 1 addition & 0 deletions
1
test/end_to_end/do_all/calls/second_order/preventing_2/src/FileMapping.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 /home/lukas/git/discopop/test/end_to_end/do_all/calls/second_order/preventing_2/src/code.cpp |