- 
                Notifications
    You must be signed in to change notification settings 
- Fork 121
          verrou into Workflow
          #937
        
          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
base: master
Are you sure you want to change the base?
  
    verrou into Workflow
  
  #937
              
            Conversation
| PR Reviewer Guide 🔍(Review updated until commit 97ff4df)Here are some key observations to aid the review process: 
 | 
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.
Pull Request Overview
Adds a new GitHub Actions workflow to run floating-point compliance checks with Valgrind’s verrou tool.
- Introduces .github/workflows/verrou.ymlfor triggering on PRs and pushes
- Downloads, builds, and installs the latest Valgrind release
- Executes tests under verrouand provides a placeholder for compliance reporting
Comments suppressed due to low confidence (4)
.github/workflows/verrou.yml:24
- The step sources /usr/local/env.sh which is not generated by the Valgrind install; this will likely fail. Instead, export the path (e.g., export PATH=/usr/local/bin:$PATH) or source the correct environment file to ensure Valgrind is on the PATH.
          source /usr/local/env.sh
.github/workflows/verrou.yml:27
- Using --dry-runprevents actual test execution under Valgrind, so no floating-point errors will be detected. Remove--dry-runto execute the tests for real.
        run: valgrind --tool=verrou ./mfc.sh test -a --dry-run
.github/workflows/verrou.yml:6
- [nitpick] The job identifier selfis ambiguous; rename it to something descriptive likefloating_point_complianceorverrou_checkfor clarity.
  self:
.github/workflows/verrou.yml:31
- This step only echoes a message and does not actually parse or summarize the verrou output. Consider adding commands to collect, report, and fail the workflow when errors are found.
          echo "Checking floating point compliance..."
| PR Code Suggestions ✨Latest suggestions up to 97ff4df 
 Previous suggestions✅ Suggestions up to commit 7bab395
 | ||||||||||||||||||||||||||
| I assume you know this but the use of verrou in our case is very specific (we are looking for quite specific problems involving dangerous floating point operations that could cause round-off error problems). This is what this 'linter' of sorts should be looking for. | 
User description
Description
Concerning (#650),
Intended as standalone floating-point error checker.
Notes to Self:
Take this to a different fork branch to experiment with.
Debugging and error localization
Synopsis
Deterministic sections
closes #650
[attempts to, so far]
Debugging info,
The current Valgrind setup ought to be sufficient, so debugging locally (nektos/act extension) or on the CI are all viable.
To-dos,
Ref verrou docs
PR Type
Other
Description
Remove all GitHub Actions workflow files
Add new Verrou floating-point compliance workflow
Delete HPC cluster-specific scripts (Frontier, Phoenix)
Replace comprehensive CI/CD pipeline with single workflow
Diagram Walkthrough
File Walkthrough
20 files
Remove Frontier benchmarking scriptRemove Frontier build scriptRemove Frontier benchmark submission scriptRemove Frontier job submission scriptRemove Frontier testing scriptRemove Phoenix benchmarking scriptRemove Phoenix benchmark submission scriptRemove Phoenix job submission scriptRemove Phoenix testing scriptRemove benchmark workflowRemove code cleanliness workflowRemove coverage testing workflowRemove documentation workflowRemove formatting workflowRemove line counting workflowRemove source linting workflowRemove toolchain linting workflowRemove PMD source analysis workflowRemove spell checking workflowRemove comprehensive test suite workflow1 files
Add Verrou floating-point compliance workflow