-
Notifications
You must be signed in to change notification settings - Fork 37
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
Enables compilation with nvhpc-sdk. #1067
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sufficiently minor I don't think we need to include in the changelog.
Does nvhpc automatically include the equivalent of relaxed-constexpr
?
Also should this MR also be applied into parthenon develop? |
Sure, I mean I don't see why not. I'm planning on using this branch for venado testing because I'm familiar with it from the DAT we had on Crossroads April 29 and it seems to ameliorate the startup MPI issues. That's my main motivation for the MR, but you may find it useful for running on chicoma/venado in general if you're planning on using nvc++. |
I don't know what nvc++ is doing under the hood, but I know that adding that flag makes the build fail on Chicoma. I get these build errors: $~ CC --expt-relaxed-constexpr
nvc++-Error-Unknown switch: --expt-relaxed-constexpr |
I think this is an |
I have built succesfully on Chicoma with nvhpc, but it required a custom version of the kokkos wrapper. At the time, Kokkos did not support nvhpc as a compiler. Here's my build process on Chicoma: |
Looks like cpplint is failing. Odd. I'm just going to click merge. @pgrete I suggest we keep this change in mind. But hold off on making it in develop until we have our hands on Venado (which should be soon for me). |
Very minor change to avoid unrecognized flag when building with nvidia-hpc-sdk. This facilitates Venado Acceptance testing, but also should help vendors build parthenon for ats5 benchmarking.