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
Accelerating rDT mesh and optm iter. #16
Comments
@jreniel I don't expect there'd be a huge difference in performance across compilers, at least I've not seen this with gcc, clang or msvc. Adding support for icc would be interesting to do but is not a compiler I test on currently. I expect the biggest changes re: efficiency to come from the underlying algorithms, as well as possibly user config. options. Would you mind giving the new |
Thank you for your answer. As I've learned more about compilers recently, I have also started to think that there would probably be no significant difference between using gcc or icc. However in the past, with numerical models written in Fortran, I'm under the impression that I've seen cases of 10x speed increase between gcc against icc. However, that doesn't mean that the same would necessarily apply to JIGSAW. As of now, it doesn't seem to compile on icc (2018/2019). However, it is precisely those tweaks that icc requires that probably enables the icc to do further optimizations (I am speculating slightly here). The question is, would those optimizations lead to significantly faster code? We wouldn't know unless we make it compile with icc and compare. But overall, I agree that it seems probable that there won't be significant difference. I do however consider JIGSAW significantly fast, but as I experiment I can't help but wonder if we could run it even faster. Right now, JIGSAW seems be working exactly as planned, so I am definitely enjoying experimenting with the software. I have more "experiments" in mind I might try with JIGSAW in the future, but so far, I find this software extremely useful and I am grateful for the work you have done. Finally, I have one more question. Is there anything in particular I need to do to enable the thread-parallelism? (e.g. set value in opts?) This feature would be extremely useful for my use case. Thanks, |
@jreniel, okay, easy questions first: no, you shouldn't need to enable any flags to run thread-parallel, though the In terms of compiling using Intel ( Setting |
Thanks for looking into |
@dengwirda I will try reverting to the previous version without multithreading to see if the problem goes away definitely. I'm not sure if I should reopen this as an actual issue or just leave this here as a note. Thanks, [EDIT]: Opened issue #18 |
Hello,
I was wondering if there is any way to speed up the rDT mesh and Mesh optm parts of the jigsaw-python subtree source.
Currently, I am compiling with gcc-11, using the standard CMake approach (maybe there's an optimization switch I haven't enabled?).
I tried compiling it with intel 2018 and 2019 but I wasn't successful with the compilation.
Any ideas on achieving some speed-ups will be greatly appreciated.
Thanks,
-J.
The text was updated successfully, but these errors were encountered: