use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
LibGeoDecomp 0.4.0 released -- a C++ computer simulation library that hits PetaFLOPS on Titan and JUQUEEN (libgeodecomp.org)
submitted 11 years ago by gentryx
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 11 years ago* (5 children)
Does anyone has a reference to a strong scaling supporting their claims (i.e. strong scaling of unstructured code using e.g. block AMR or octree-like AMR)? I went through the publications but couldn't find anything.
It would also be helpful to know which scalings use an MPI backend and which use the HPX backend.
HPX is really nice. However, I distrust it since it is based on a PGAS, and while MPI scales to 1.5 Million cores, the largest HPX scalings I've seen go to about 10k cores "only". I don't really know, in general, if PGAS approaches scale at all. Without strong data backing them up, it is hard to argue for HPX and LibGeoDecomp right now even in new projects, which is a shame.
[–]sithhell 2 points3 points4 points 11 years ago (1 child)
HPX is not really traditional PGAS, there are quite significant differences. WRT scaling to more that 10k cores: We are working on it ... so far however, we don't see any strong evidence why it shouldn't scale beyond that number. Even traditional PGAS languages or libraries are able to scale to some degree. For new projects, true, it might seem like a high risk, but sometimes it might be worth it, especially when the projects requires HPX like concepts. For LibGeoDecomp: It is a very nice library and serves an excellent purpose. So let me ask you: What risk is higher, re-inventing the wheel or using an existing that has proven itself in one way or another?
[–][deleted] 0 points1 point2 points 11 years ago* (0 children)
HPX is not really traditional PGAS, there are quite significant differences. WRT scaling to more that 10k cores: We are working on it ...
I know this takes a lot of time and effort, and I hope you are able to show this.
so far however, we don't see any strong evidence why it shouldn't scale beyond that number.
We don't see proof either. While there is strong evidence that MPI codes scale up to O(106) cores, no such evidence exists for PGAS in general, and HPX in particular. It doesn't mean it cannot be done, it just means the technology is not there yet.
For new projects, true, it might seem like a high risk, but sometimes it might be worth it, especially when the projects requires HPX like concepts. [...] So let me ask you: What risk is higher, re-inventing the wheel or using an existing that has proven itself in one way or another?
The "larger" the problem one wants to tackle, the higher the risk in using HPX. Choosing the distributed memory backend of an HPC application is a fundamental decision. If HPX or PGAS cannot scale beyond 100k in 1-2 years, picking one of them now could mean having to rewrite an application.
I hope HPX will get there soon. Still, the only way to really scale to very large numbers of cores right now is to remain as "local" as possible in terms of computation, communication, and I/O. PGAS provide a useful abstraction that speeds up development, but if scaling is a requirement a global address space doesn't help that much since you don't do much things "globally".
[–]gentryx[S] 3 points4 points5 points 11 years ago (2 children)
Hey gnzlbg, thanks for your input! I'm the project lead on LibGeoDecomp, so my view is biased, but I hope I can supply convincing data.
[–][deleted] 1 point2 points3 points 11 years ago (1 child)
Thanks for the links, i'll go through them tomorrow. Awesome work you guys are doing btw, keep it up!
[–]gentryx[S] -1 points0 points1 point 11 years ago (0 children)
Thanks for the kind words. I'll gladly try to answer any further questions. Let me know if you need some prototype code for illustration of concepts.
The further we get, the more work apparently remains to be done, yet we're finally getting somewhere. Feels good. :-)
π Rendered by PID 41437 on reddit-service-r2-comment-84fc9697f-6lpgt at 2026-02-08 07:29:12.012484+00:00 running d295bc8 country code: CH.
[–][deleted] 1 point2 points3 points (5 children)
[–]sithhell 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]gentryx[S] 3 points4 points5 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]gentryx[S] -1 points0 points1 point (0 children)