-
Notifications
You must be signed in to change notification settings - Fork 189
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
wang_landau_reaction_ensemble.py: use np.transpose #3312
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.1 #3312 +/- ##
=====================================
- Coverage 85% 85% -1%
=====================================
Files 531 531
Lines 25985 25985
=====================================
- Hits 22139 22137 -2
- Misses 3846 3848 +2
Continue to review full report at Codecov.
|
Needs to be cherry picked to the master branch. |
@junghans I've started a discussion in our group to find a more efficient release workflow. Could it be feasible on your side to run the Fedora 32 builds on a PR instead of a tagged release? This would help us integrate your fixes a few days before the official release. Until now we have pushed your fixes to the release branches outside our release schedule, which is confusing for the end user. |
How about triggering CoPR builds as part of the CI, https://pavel.raiskup.cz/blog/copr-ci-and-custom-source-method.html. I did something like that here: https://github.com/junghans/espresso-rpm |
How about triggering CoPR builds as part of the CI, <https://pavel.raiskup.cz/blog/copr-ci-and-custom-source-method.html> https://pavel.raiskup.cz/blog/copr-ci-and-custom-source-method.html.
The complexity of our current CI setup is already growing over our heads. I’m afraid we will likely not be able to take over additional responsibilities, there.
|
So what else should we do to avoid finding bugs immediately after every release? |
For VOTCA we usually tag an rc and then wait a week and make the full release if no bugs were found. |
For VOTCA we usually tag an rc and then wait a week and make the full release if no bugs were found.
That sound good to me.
Won’t save us from instances of bad luck like the ELC issue being identified just after the release.
These then just have to go into the next bugfix release.
|
We could try to automate the release process to make bugfix releases less painful. Then we could simply release more often, e.g. a 4.1.2 that comes just a few days after the 4.1.1. |
The issue with RC is that only @junghans will use it. It takes time to make a release due to the slow QEMU tests in CI and code reviews. Is this effort really worth it, considering the same amount of work can be used to produce instead two bugfix releases? That's why I'd like to know how much trouble it is to use a PR instead of a tagged release for the RPM. |
@RudolfWeeber is was more thinking of #3305 than of #3310, which could have been identified by running the package build before the release. |
The issue with RC is that only <https://github.com/junghans> @junghans will use it. It takes time to make a release due to the slow QEMU tests in CI and code reviews. Is this effort really >worth it, considering the same amount of work can be used to produce instead two bugfix releases? That's why I'd like to know how much trouble it is to use a >PR instead of a tagged release for the RPM.
Let’s discuss the release checklist, release process and non-64-bit architectures at the next Espresso meeting.
|
@jngrad it is possible to use any git sha for the release, but it is preferred to package a released version. There is also nothing wrong with patch stuff into the RPM as I did for previous releases. With the CoPR + webhook setup similar to https://github.com/junghans/espresso-rpm, you could test a release from a sha on at least half of the archs using CoPR. For OpenSuse you could do the same by creating a branches package like e.g. https://build.opensuse.org/package/show/home:cjunghans:branches:devel:languages:python:numeric/python3-espressomd |
3314: Modernize core r=fweik a=jngrad Follow-up to #3304 Description of changes: - cherry-pick #3312 - add a `BoxGeometry::volume` method - use `bool` for true/false flags - reduce scope of local variables - remove obsolete comments Co-authored-by: Christoph Junghans <junghans@lanl.gov> Co-authored-by: Jean-Noël Grad <jgrad@icp.uni-stuttgart.de>
Alternative: we could decouple bugfixes from compatibility fixes. That is, once bugfix supports ends on a minor release, we keep supporting compatibility on more recent operating systems for a little longer, outside the release schedule. This would typically involve updating CMake files + bash scripts and deprecated numpy functions in testsuite files; no change in the core that could affect simulation results. We also communicate to the community that these compatibility fixes are meant to help with reproducibility and porting of old simulation scripts. The difference between |
@junghans @RudolfWeeber I'm currently testing Copr: jngrad/espresso-ci, Build 1113559 |
I would start with https://src.fedoraproject.org/rpms/espresso/blob/master/f/espresso.spec, so that you get the same flags as Fedora is using. |
Thanks! At the moment I'm using a custom build script. Is there a way to use the instructions from the .spec file directly? |
My custom build script is:
And then Copr picks it up from there and build the rpm. But this isn't even needed anymore these days for https://github.com/espressopp/fedora-copr, I use SCM build type |
After a lot of trial and error, here's my script: #! /bin/sh -ex
git clone https://github.com/junghans/espresso-rpm.git
cd espresso-rpm
git checkout 42dde71732b7b4caea8d38a06ee24d7fbeb8551f
sed -i "s/^Version: .*/Version: 4.1.1/; s/^%setup -q$/%setup -q -n espresso/" espresso.spec
cp espresso.spec ..
spectool -g espresso.spec Build 1114150 almost worked, it halted when some unit tests failed to find shared objects (builder-live.log.gz). Could it be a runner failure?
I can't figure out how to start a build on a specific commit, it looks like it has to download a tar.gz file. We cannot use the GitHub API to get a tar.gz from a specific commit because we rely on submodules. I tried using |
I think you can remove the (single) submodule and just put the source of the h5xx package into libs (as we do with e.g. Random123). That is a very low activity repo. This would probably also mean we could use automatic release tarballs? |
There's no guarantee there won't be a new submodule in the future, e.g. Matheval. |
The spec file already has support for git: https://github.com/junghans/espresso-rpm/blob/copr/espresso.spec#L1-L3, you just need to change that. |
If I understand the script correctly, when the variable |
Would --recursive-submodules be useful?
|
You are correct about |
It finally worked: Build 1115985 |
Fix #3305