New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1d_hydro example does't work #2736
Comments
@zbyerly Would you mind having a look what's wrong with your example? |
HPX was built using default configuration with c++14 flag enabled. Prior to failure it prints: call stack: Do you need additional information? Best, |
program invoked in terminal: ./1d_hydro_upwind |
yes, I will look.
…-Zach Byerly
|
can you try using |
"./1d_hydro -Ihpx.stacks.use_guard_pages=0" terminates with the same error stating that calling thread does not own the mutex |
Arturas, |
@arturas-venskus-flf Sorry it took me so long to respond to this, too many things are going on, currently. I can 100% reproduce the issue you reported but I'm not sure yet what's causing this. I'm certain that this is caused by a problem in the example itself, though. I'm inclined to remove the example as a possible resolution as it is most likely broken and does not demonstrate any facilities or ideas not shown elsewhere. Is this example of particular value for you? Or did you just run across the problem and decided to report it? |
@hkaiser Yes, this example is particularly interesting for my company because our main simulation tool does hydro simulations and we are evaluating hpx as a way to do distributed computations. So easiest and fastest way is just use provided hydro example and play with it. But we can continue without this example. As a side note I would like to see much more similar examples that demonstrate how to solve particular pde's using hpx. For hpx novice user, especially for scientist/physicist who are not software engineers, initially is not enough to learn only basic concepts, facilities and ideas, but is very valuable to see examples showing how to compose those concepts to solve practical problems. One of the motivation to try hpx was existence of stencil and hydro codes examples showing that hpx targeting heavy number crunching problems. Off course good scalability properties are expected from such examples. |
@arturas-venskus-flf understood. I still would like to remove this example as it is very old (and broken). For better examples demonstrating how to orchestrate distributed parallelism with HPX I'd suggest you look at the 1d_stencil series of examples or the 2d stencil examples accompanying the tutorial slides here. The 2d stencil examples are especially useful as they demonstrate how to use channels to organize the communication fully overlapped with the computation. Also, please feel free to ask questions either on IRC (#ste||ar on freenode) or the mailing list (hpx-users@cct.lsu.edu). We'd be more than happy to help with what you're trying to do. |
Hello,
1d_hydro example throws an exception:
Best,
Arturas
The text was updated successfully, but these errors were encountered: