Hi
Please consider joining the weekly Einstein Toolkit phone call at 10 am US central time on Mondays. As usual, you can find instructions how to join on the following web site:
http://einsteintoolkit.org/community/support/
In short: the number is (+1) 225-578-4942 or (+1) 866-573-0359 and the conference id is 118682#.
Some tickets within the last week that are still open:
- 1640: RK2-MR2-1 test fails - 1641: Switching Slab from alltoall to irecv/isend
Other projects include - Make Illinois code work with standard ET - git transition
As always, please add to this list if you like.
Frank Loeffler
On Sun, Jul 13, 2014 at 11:40 PM, Frank Loeffler knarf@cct.lsu.edu wrote:
- git transition
In relation to this, I have made an attempt at a merge of the CactusBase repository. The result can be obtained from https://bitbucket.org/barrywardell/cactusbase.git. This only includes the master and a couple of release branches for now.
Hi,
Present were: Roland, Erik, Barry, Peter, Frank, and Josh.
Barry prepared a test conversion of CactusBase, including 'trunk/master' and ET_2014_05 so far. A few minor issues were noted: - empty one-line logs: will be fixed - empty authors: ok (from cvs2svn) - thorn-prefixes to be changed from "[thorn] " to "thorn: " - all branches will be included in next test - assumption: branch creation among thorns at "same time" -> probably ok, and if not conversion scripts will complain
Zach did not have more time for the Illinois code, but expects to within the next few weeks.
Tickets: - 1641: Frank will change the default in Slab from AlltoAll to irecv/isend. This is expected to work, and changing it now will serve as test. (changed)
Frank
~ ~
On Mon, Jul 14, 2014 at 11:27 AM, Frank Loeffler knarf@cct.lsu.edu wrote:
Barry prepared a test conversion of CactusBase, including 'trunk/master' and ET_2014_05 so far. A few minor issues were noted:
- empty one-line logs: will be fixed
- empty authors: ok (from cvs2svn)
- thorn-prefixes to be changed from "[thorn] " to "thorn: "
- all branches will be included in next test
- assumption: branch creation among thorns at "same time" -> probably ok, and if not conversion scripts will complain
I have now finished the conversion for two of the arrangements, CactusBase and CactusNumerical. The results can be seen at: https://bitbucket.org/barrywardell/cactusbase https://bitbucket.org/barrywardell/cactusnumerical
One minor issue which appeared during the conversion is that there were a few branches and tags which appear to be a result of a less-than-perfect CVS->SVN conversion. This does not affect any of what I could consider the "important" branches and tags, i.e. for ET and Cactus releases. Except in a couple of cases where these branches are clearly useful, I have omitted them from the merged repository.
The conversion is mostly scripted, although there are necessarily a couple manual cleanup steps at the end. This manual cleanup is a somewhat time-consuming process, so if the new repository layouts look good to everyone it would be nice to transition to them soon-ish, before too much development happens in the thorn svn repositories.
Barry
On Wed, Jul 16, 2014 at 08:10:58PM -0400, Barry Wardell wrote:
The conversion is mostly scripted, although there are necessarily a couple manual cleanup steps at the end. This manual cleanup is a somewhat time-consuming process, so if the new repository layouts look good to everyone it would be nice to transition to them soon-ish, before too much development happens in the thorn svn repositories.
I am curious which steps have to be manual. If this is already a problem for CactusBase - how much of a problem will it be for larger repositories? CactusBase is probably one of the "better behaved" places.
Frank
On Wed, Jul 16, 2014 at 11:30 PM, Frank Loeffler knarf@cct.lsu.edu wrote:
I am curious which steps have to be manual. If this is already a problem for CactusBase - how much of a problem will it be for larger repositories? CactusBase is probably one of the "better behaved" places.
The manual steps are to fix some minor inherent issues with the repositories, most of which seem to be a result of the CVS->SVN transition. I'm calling them minor as none of them affect the trunk/master branch or any of the Cactus or ET release branches. Some examples can be seen in the Cartoon2D repository < https://bitbucket.org/cactuscode/cactusnumerical-cartoon2d/commits/all?page=...
:
* There are extra branches (e.g. start, v1) which are not in any way connected to the rest of the history. These were created by the cvs2svn script. * Some of the commits creating tags also introduce changes to the tree (files). These commits were automatically created by the cvs2svn script. * Some branches/tags (e.g. STABLE, LATEST) were not created at the same time across different repositories. None of the ones that I encountered had what I would useful content (e.g. having a STABLE tag pointing to some point long in the past is not particularly useful).
The reason these steps are manual is it because they require human intervention to determine whether the issues are important or can be ignored.
Could you suggest an example of a more "badly behaved" arrangement?
Barry
Hi,
On Thu, Jul 17, 2014 at 12:51:08AM -0400, Barry Wardell wrote:
- There are extra branches (e.g. start, v1) which are not in any way
connected to the rest of the history. These were created by the cvs2svn script.
Yes. These branches did actually exist back in the cvs repos. I don't think any of these are important.
- Some of the commits creating tags also introduce changes to the tree
(files). These commits were automatically created by the cvs2svn script.
Why is that a problem? Does the conversion choke if commits do multiple things at once?
- Some branches/tags (e.g. STABLE, LATEST) were not created at the same
time across different repositories. None of the ones that I encountered had what I would useful content (e.g. having a STABLE tag pointing to some point long in the past is not particularly useful).
I agree. We would very likely be better off without them.
Could you suggest an example of a more "badly behaved" arrangement?
I didn't mean that other arrangements are "badly behaved". I called CactusBase "well behaved" because it did not receive as many commits from not as many authors and some of the others probably did. EinsteinInitial, or GRHydro would be more "demanding" examples.
Frank
On Thu, Jul 17, 2014 at 10:24 AM, Frank Loeffler knarf@cct.lsu.edu wrote:
- Some of the commits creating tags also introduce changes to the tree
(files). These commits were automatically created by the cvs2svn script.
Why is that a problem? Does the conversion choke if commits do multiple things at once?
The problem is that tags are not commits, they are supposed to be permanent pointers to a specific commit. They are never supposed to change and they cannot introduce changes to the tree. This is conceptually the same in svn, but not strictly enforced (since tags are really just copies of the code at another point in the svn directory tree).
The problem happens when multiple thorns each have tags which also contain changes to the tree. A tag is just a pointer to a commit and can't point to two different commits at the same time.
The solution I've used in instances where this happens is to create a new branch and merge all of the commits into that branch.
- Some branches/tags (e.g. STABLE, LATEST) were not created at the same
time across different repositories. None of the ones that I encountered
had
what I would useful content (e.g. having a STABLE tag pointing to some point long in the past is not particularly useful).
I agree. We would very likely be better off without them.
That makes things easier. I have a full list of tags/branches that have been omitted from the merged repositories so that we're sure we're not missing something. Right now that list is (not all of these are present in all arrangements/thorns):
Branches: start El-Kharma dp
Tags: LATEST STABLE v1 v_1 r1 V1 JTHORN_INIT JT_2002_08_18 jthorn_20050318 gr_qc LOCALINTERP_INIT Rel-0-1
I have now finished converting all of the repositories listed in the Version Control page of the wiki < https://docs.einsteintoolkit.org/et-docs/Version_control%3E. The results are available at: https://bitbucket.org/barrywardell/cactustest https://bitbucket.org/barrywardell/cactuspugh https://bitbucket.org/barrywardell/cactusnumerical https://bitbucket.org/barrywardell/pittnullcode https://bitbucket.org/barrywardell/cactusbase
A couple of minor things came up in the conversion process:
* I created a merged CactusNumerical as a more difficult test than CactusBase before noticing that it wasn't listed on the wiki page. It may be that we don't need this arrangement merged. * I included both CactusPUGH and CactusPUGHIO thorns (IOHDF5 and IOHDF5Util) in the same arrangement. It may be that they should be kept separate.
Barry
It seems we're trying to achieve two separate and -- apparently -- inconsistent things during our conversion to git:
(1) Create a git repository that can be used to go backwards in time, even to time where we used svn and cvs instead of git (2) Faithfully record the history of the previous svn and cvs repositories in a git repository
I would choose (1) over (2) at any time. We can simply keep the original svn and cvs repositories around -- even as tarball of the server database if necessary -- for those rare times where the original history is relevant. For most other times, slight changes to the history are fine.
For example, I would not mind creating additional commits to ensure tags are consistent. Similarly, having "strange" branches / tags around should not matter; we can simply create a subdirectory "history" for them, and then manually move a few (interesting) branches or tags out of this subdirectory (e.g. the previous official releases, or currently active feature branches).
-erik
On Jul 18, 2014, at 11:11 , Barry Wardell barry.wardell@gmail.com wrote:
On Thu, Jul 17, 2014 at 10:24 AM, Frank Loeffler knarf@cct.lsu.edu wrote:
- Some of the commits creating tags also introduce changes to the tree
(files). These commits were automatically created by the cvs2svn script.
Why is that a problem? Does the conversion choke if commits do multiple things at once?
The problem is that tags are not commits, they are supposed to be permanent pointers to a specific commit. They are never supposed to change and they cannot introduce changes to the tree. This is conceptually the same in svn, but not strictly enforced (since tags are really just copies of the code at another point in the svn directory tree).
The problem happens when multiple thorns each have tags which also contain changes to the tree. A tag is just a pointer to a commit and can't point to two different commits at the same time.
The solution I've used in instances where this happens is to create a new branch and merge all of the commits into that branch.
- Some branches/tags (e.g. STABLE, LATEST) were not created at the same
time across different repositories. None of the ones that I encountered had what I would useful content (e.g. having a STABLE tag pointing to some point long in the past is not particularly useful).
I agree. We would very likely be better off without them.
That makes things easier. I have a full list of tags/branches that have been omitted from the merged repositories so that we're sure we're not missing something. Right now that list is (not all of these are present in all arrangements/thorns):
Branches: start El-Kharma dp
Tags: LATEST STABLE v1 v_1 r1 V1 JTHORN_INIT JT_2002_08_18 jthorn_20050318 gr_qc LOCALINTERP_INIT Rel-0-1
I have now finished converting all of the repositories listed in the Version Control page of the wiki https://docs.einsteintoolkit.org/et-docs/Version_control. The results are available at: https://bitbucket.org/barrywardell/cactustest https://bitbucket.org/barrywardell/cactuspugh https://bitbucket.org/barrywardell/cactusnumerical https://bitbucket.org/barrywardell/pittnullcode https://bitbucket.org/barrywardell/cactusbase
A couple of minor things came up in the conversion process:
- I created a merged CactusNumerical as a more difficult test than CactusBase before noticing that it wasn't listed on the wiki page. It may be that we don't need this arrangement merged.
- I included both CactusPUGH and CactusPUGHIO thorns (IOHDF5 and IOHDF5Util) in the same arrangement. It may be that they should be kept separate.
Barry _______________________________________________ Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
They look good to me. Should we distribute a commit-msg hook for the client to enforce the policy "Thorn:" in the commit messages? and on top of that set up the server to reject unformatted messages?
In any case, I vote to move these repos to git asap.
Cheers, Bruno.
On 07/17/2014 02:10 AM, Barry Wardell wrote:
On Mon, Jul 14, 2014 at 11:27 AM, Frank Loeffler knarf@cct.lsu.edu wrote:
Barry prepared a test conversion of CactusBase, including 'trunk/master' and ET_2014_05 so far. A few minor issues were noted:
- empty one-line logs: will be fixed
- empty authors: ok (from cvs2svn)
- thorn-prefixes to be changed from "[thorn] " to "thorn: "
- all branches will be included in next test
- assumption: branch creation among thorns at "same time" -> probably ok, and if not conversion scripts will complain
I have now finished the conversion for two of the arrangements, CactusBase and CactusNumerical. The results can be seen at: https://bitbucket.org/barrywardell/cactusbase https://bitbucket.org/barrywardell/cactusnumerical
One minor issue which appeared during the conversion is that there were a few branches and tags which appear to be a result of a less-than-perfect CVS->SVN conversion. This does not affect any of what I could consider the "important" branches and tags, i.e. for ET and Cactus releases. Except in a couple of cases where these branches are clearly useful, I have omitted them from the merged repository.
The conversion is mostly scripted, although there are necessarily a couple manual cleanup steps at the end. This manual cleanup is a somewhat time-consuming process, so if the new repository layouts look good to everyone it would be nice to transition to them soon-ish, before too much development happens in the thorn svn repositories.
Barry
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
Hi,
On Thu, Jul 17, 2014 at 12:21:46PM +0200, Bruno Coutinho Mundim wrote:
They look good to me. Should we distribute a commit-msg hook for the client to enforce the policy "Thorn:" in the commit messages?
We could provide one. We cannot enforce people installing it.
and on top of that set up the server to reject unformatted messages?
That is probably the better option. Although I would only see it as help to "not forget about it", not an enforcement really (although technically it is the same). We cannot disallow anything else than thorn names before the ":" (we might have commit touching multiple thorns), so we cannot technically prevent something like "somewhere: changed something". But we don't need to technically enforce everything anyway.
Frank
On Thu, Jul 17, 2014 at 10:19 AM, Frank Loeffler knarf@cct.lsu.edu wrote:
We could provide one. We cannot enforce people installing it.
and on top of that set up the server to reject unformatted messages?
That is probably the better option. Although I would only see it as help to "not forget about it", not an enforcement really (although technically it is the same). We cannot disallow anything else than thorn names before the ":" (we might have commit touching multiple thorns), so we cannot technically prevent something like "somewhere: changed something". But we don't need to technically enforce everything anyway.
This is a good point. While it seems like a good general guideline to have the thorn name as a prefix in any commit message, I'm not convinced it is a good idea to strictly enforce it. For example, what about commits that modify several thorns at once?
Carpet has a policy like this; in general commit messages are prefixed by the thorn name, but occasionally there will be a message which changes many thorns at once and doesn't adhere to this convention.
On 07/17/2014 04:35 PM, Barry Wardell wrote:
On Thu, Jul 17, 2014 at 10:19 AM, Frank Loeffler knarf@cct.lsu.edu wrote:
We could provide one. We cannot enforce people installing it.
and on top of that set up the server to reject unformatted messages?
That is probably the better option. Although I would only see it as help to "not forget about it", not an enforcement really (although technically it is the same). We cannot disallow anything else than thorn names before the ":" (we might have commit touching multiple thorns), so we cannot technically prevent something like "somewhere: changed something". But we don't need to technically enforce everything anyway.
This is a good point. While it seems like a good general guideline to have the thorn name as a prefix in any commit message, I'm not convinced it is a good idea to strictly enforce it. For example, what about commits that modify several thorns at once?
Then we could prefix with "Arrangement:". In any case I don't have strong feelings about it. It was just a suggestion to make the commit messages neater and motivate people to apply localized, atomic commits instead.
Cheers, Bruno.
Carpet has a policy like this; in general commit messages are prefixed by the thorn name, but occasionally there will be a message which changes many thorns at once and doesn't adhere to this convention.
I don't believe in automated mechanisms.
Carpet has been using this policy for a long time. Many people use it without being told. Others don't -- they either don't care, or they can't be bothered because they have other things in mind when creating a commit, or they simply don't believe in reading commit messages.
And then, there is the more important issue of knowing how to write a good commit message. Some people document their changes in commit messages (because they didn't write comments), others simply describe the changes in detail (as opposed to giving a high-level overview). Some use commit messages as forum to announce new features, or to explain how to use a new feature.
If we truly want to change this, then we should - have a discussion on how we would like commit message to read - write this up on a brief, simple wiki page - refuse patches if the commit message is far below our standards (e.g. is offensive, or "forgets" to mention a major issue)
To make this work, we need patches that are submitted together with submit messages. That is, people would need to publish their commits (e.g. in a Bitbucket clone), and a maintainer pulls them.
-erik
On Jul 17, 2014, at 15:31 , Bruno Coutinho Mundim bcmsma@astro.rit.edu wrote:
On 07/17/2014 04:35 PM, Barry Wardell wrote:
On Thu, Jul 17, 2014 at 10:19 AM, Frank Loeffler knarf@cct.lsu.edu wrote:
We could provide one. We cannot enforce people installing it.
and on top of that set up the server to reject unformatted messages?
That is probably the better option. Although I would only see it as help to "not forget about it", not an enforcement really (although technically it is the same). We cannot disallow anything else than thorn names before the ":" (we might have commit touching multiple thorns), so we cannot technically prevent something like "somewhere: changed something". But we don't need to technically enforce everything anyway.
This is a good point. While it seems like a good general guideline to have the thorn name as a prefix in any commit message, I'm not convinced it is a good idea to strictly enforce it. For example, what about commits that modify several thorns at once?
Then we could prefix with "Arrangement:". In any case I don't have strong feelings about it. It was just a suggestion to make the commit messages neater and motivate people to apply localized, atomic commits instead.
Cheers, Bruno.
Carpet has a policy like this; in general commit messages are prefixed by the thorn name, but occasionally there will be a message which changes many thorns at once and doesn't adhere to this convention.
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
On 17 Jul 2014, at 16:19, Frank Loeffler knarf@cct.lsu.edu wrote:
Hi,
On Thu, Jul 17, 2014 at 12:21:46PM +0200, Bruno Coutinho Mundim wrote:
They look good to me. Should we distribute a commit-msg hook for the client to enforce the policy "Thorn:" in the commit messages?
We could provide one. We cannot enforce people installing it.
and on top of that set up the server to reject unformatted messages?
That is probably the better option. Although I would only see it as help to "not forget about it", not an enforcement really (although technically it is the same). We cannot disallow anything else than thorn names before the ":" (we might have commit touching multiple thorns), so we cannot technically prevent something like "somewhere: changed something". But we don't need to technically enforce everything anyway.
The reason for needing the "thorn:" prefix on the merged repositories is that the original commit message would have been written under the assumption that the reader knew which thorn was being modified, since there was just that thorn in the repository. With a merged repository, a such a message would not have that context, and would therefore convey less information. Hence we add the extra information for these messages.
For the future, people should just write a commit message which makes sense in the context of the arrangement repository. If the commit just touches a single thorn, it's logical to use such a prefix, so that the reader gets some context for the change. I don't think it's necessary to enforce or even check this; it's just a useful convention.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Present were: Erik, Barry, Roland, Yosef, Josh
Git transition:
* need testers for new arrangements * convert remaining repositories on https://docs.einsteintoolkit.org/et-docs/Version_control including the "undecided" ones in the "Miscellaneous repositories" section
Stalls on stampede: * not much news, Yosef can avoid the stalls using 20 nodes instead of 16 * check if created "tmp" files are valid hdf5 files or not
Roland
users@lists.einsteintoolkit.org