add nvhpc compiler flags to cmake #1743
Conversation
| mosaic2/include | ||
| constants | ||
| astronomy/include | ||
| field_manager/ |
There was a problem hiding this comment.
When building with nvhpc it could not find parse.inc which is here
Co-authored-by: Ryan Mulhall <[email protected]>
Co-authored-by: Ryan Mulhall <[email protected]>
|
We should push up the minimum cmake version - before cmake 3.20 there is no NVHPC compiler it goes back to the PGI one for which no flags are defined. Is there a reason to keep the cmake version minimum at 3.12? |
|
only these tests fail (with nvhpc 24.9) |
No I don't think so, feel free to bump it up if needed. |
|
@JorgeG94 Just following up, do you plan on updating these changes? We need support for nvhpc so I will get this up to date and merged if not. |
Hot damn I had completely forgotten about this! I will update these changes! @rem1776 I've merged in the changes and testing right now. Are there any other changes that I need to do? I think I addressed the initial oens |
Co-authored-by: Ryan Mulhall <[email protected]>
|
nvhpc 25.9 and 25.5 fails with: I didn't see this back in August but I can't really remember what version of nvhpc I used! so I am trying all the ones I have. Is there a target version you have in mind? I've committed the whitespace change Update, it comes from #1778 will try to fix |
|
it seems we need to update the cmake version that is used in the CI if this PR goes through, it failed because I am using 3.20 and I require 3.22 (to ensure nvhpc support) |
Sorry about that, I'm working on getting our image updated. Will let you know when the new image is in use on the main branch. |
|
I am testing FMS with the AMDFlang compiler and I've had to do similar changes to the ones in this branch. Are we at a good point to think about merging this? |
Description
Add the necessary flags to compile FMS with NVHPC using the CMake build system
Fixes # (issue)
How Has This Been Tested?
CMake does not have the unit tests connected to the build system but building using the autoconf mode with NVHPC fails most of the tests. Which I believe is known.
Checklist:
make distcheckpasses