Skip to content

Get MOOSE to work on Aurora#30761

Closed
hugary1995 wants to merge 4 commits intoidaholab:nextfrom
hugary1995:aurora
Closed

Get MOOSE to work on Aurora#30761
hugary1995 wants to merge 4 commits intoidaholab:nextfrom
hugary1995:aurora

Conversation

@hugary1995
Copy link
Contributor

@hugary1995 hugary1995 commented Jun 14, 2025

Aurora is ANL's new HPC: https://docs.alcf.anl.gov/aurora/

@reverendbedford suffered through the compilation process to get the entire moose stack to work. The minor changes in this PR are required to support MOOSE on Aurora.

@moosebuild
Copy link
Contributor

Job Precheck, step Clang format on 9dae978 wanted to post the following:

Your code requires style changes.

A patch was auto generated and copied here
You can directly apply the patch by running, in the top level of your repository:

curl -s https://mooseframework.inl.gov/docs/PRs/30761/clang_format/style.patch | git apply -v

Alternatively, with your repository up to date and in the top level of your repository:

git clang-format 70c2594d65b70017873e06a3056c725196051dd2

if (this->template getParam<MooseEnum>("dist_norm") != "radius" &&
parameters.isParamSetByUser("axis"))
this->template paramError("axis",
this->template paramError<>("axis",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reverendbedford now that I look at this more carefully, I see that all changes are similar to this one. You only made these changes in the solid mechanics module, however. Do you think we need to make similar changes in other modules, too? If so, I wonder if there's another, less intrusive way of fixing this issue...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which compiler requires the <>? I've been trying to find this in the standard, but no luck so far.

Most compilers I tried don't seem to require the <>. Or am I missing something peculiar about the paramError template?

https://godbolt.org/z/6rG365vK8

Copy link
Member

@dschwen dschwen Jun 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually... check this out:
https://godbolt.org/z/8csW6vWe8

Can you try if

Suggested change
this->template paramError<>("axis",
this->paramError("axis",

works for you? I believe this is standard compliant and sufficient because the syntax isn't ambiguous! The template keyword is only required to tell the compiler that the < and > aren't comparison operators. But we shouldn't even supply a <> in the first place.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will obviously work, as we already have that variant all over our code...

@hugary1995
Copy link
Contributor Author

hugary1995 commented Jun 14, 2025

@reverendbedford the issue with EigenProblem.C was already fixed in #30469, so I reverted your change.

@moosebuild
Copy link
Contributor

Job Documentation, step Docs: sync website on 772961b wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild
Copy link
Contributor

Job Coverage, step Generate coverage on 772961b wanted to post the following:

Framework coverage

70c259 #30761 772961
Total Total +/- New
Rate 85.47% 85.47% +0.00% 0.00%
Hits 114758 114759 +1 0
Misses 19503 19502 -1 1

Diff coverage report

Full coverage report

Modules coverage

Solid mechanics

70c259 #30761 772961
Total Total +/- New
Rate 85.22% 85.22% - 0.00%
Hits 28307 28307 - 0
Misses 4911 4911 - 9

Diff coverage report

Full coverage report

Full coverage reports

Reports

Warnings

  • framework new line coverage rate 0.00% is less than the suggested 90.0%
  • solid_mechanics new line coverage rate 0.00% is less than the suggested 90.0%

This comment will be updated on new commits.

Copy link
Member

@dschwen dschwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see if the more compact syntax works for you.

@reverendbedford
Copy link
Contributor

reverendbedford commented Jun 14, 2025 via email

dschwen added a commit to dschwen/moose that referenced this pull request Jun 14, 2025
@dschwen dschwen mentioned this pull request Jun 14, 2025
@dschwen
Copy link
Member

dschwen commented Jun 14, 2025

This is already in next. Closed by #28114 in a stealth move by @loganharbour

@dschwen dschwen closed this Jun 14, 2025
@hugary1995
Copy link
Contributor Author

LOL

@loganharbour
Copy link
Member

Pew pew. Found these with clang 19

@hugary1995
Copy link
Contributor Author

Okay, I shouldn't have blindly blamed intel compilers then. I bet it's because the intel compilers on Aurora are wrapping clang 19. Perhaps now is the right time to bring intel compilers back to the moose ecosystem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants