-
Notifications
You must be signed in to change notification settings - Fork 40
features/branson #462
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: develop
Are you sure you want to change the base?
features/branson #462
Conversation
repo/branson/package.py
Outdated
| cflags = " ".join(self.compiler.flags['cflags']) if 'cflags' in self.compiler.flags else "" | ||
| cxxflags = " ".join(self.compiler.flags['cxxflags']) if 'cxxflags' in self.compiler.flags else "" | ||
|
|
||
| args.append("-DCMAKE_C_FLAGS={} -I{}/src/random123/features".format(cflags, self.stage.source_path)) | ||
| args.append("-DCMAKE_CXX_FLAGS={} -I{}/src/random123/features".format(cxxflags, self.stage.source_path)) | ||
| args.append(f"-DBUILD_TESTING=OFF") |
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.
@pearce8 This is just a temporary fix for lassen. Need to work with the branson team to fix build issues on that system.
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.
I'll look at the RNG package again and see if an update fixes this.
pearce8
left a comment
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.
Please add a dry run.
scheibelp
left a comment
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.
minor compatibility issue w/ #953 (should be resolved w/ merge from develop)
|
@scheibelp |
scheibelp
left a comment
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.
I think this was just missing the MpiOnlyExperiment logic added in ce3ffb6#diff-9607e034d65374d4f8618d80af3e2d5033d973bdf09932cb07b5981232425232 - all the dry runs pass now.
I think someone other than me has to approve because I submitted the latest commits to this PR @slabasan, but I am adding an approving review to say the other parts look good to me.
|
@scheibelp Does sparta need to provide an |
|
It appears to be necessary based on the logic added by ce3ffb6 but @michaelmckinsey1 am I missing a way for a package that always uses mpi to avoid this? |
@scheibelp All programming models run with MPI, but to run only with MPI the experiment must inherit from |
|
I think what @rfhaque is saying is that it would never make sense to @michaelmckinsey1 I think that means that if an I was thinking perhaps https://github.com/LLNL/benchpark/blob/develop/.github/utils/dryruns.py was dispatching the wrong call, but it seems like it was generating the appropriate Is it your opinion such experiments should have an |
|
The |
slabasan
left a comment
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.
LGTM, but waiting on the package.py to be updated upstream?
|
This PR raised some confusion about the Inheriting from benchpark/lib/benchpark/experiment.py Lines 259 to 296 in dd1b469
MpiOnlyExperiment.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #462 +/- ##
===========================================
+ Coverage 65.30% 65.43% +0.12%
===========================================
Files 44 44
Lines 3240 3240
Branches 256 256
===========================================
+ Hits 2116 2120 +4
+ Misses 1117 1113 -4
Partials 7 7 🚀 New features to boost your workflow:
|
Description
Adding a specification of Branson https://lanl.github.io/benchmarks/01_branson/branson.html.
We should work with @gshipman and @alexrlongne to make progress on incorporating Branson.
application.pyand (maybe)package.pyunder a new directory for this benchmarkexperiment.pyexec_mode=testandexec_mode=perfexperimentpackage.pyonce the source PR Update cmake script lanl/branson#53 is merged