{"action":"created","issue":{"url":"https://api.github.com/repos/SixTrack/SixTrack/issues/77","repository_url":"https://api.github.com/repos/SixTrack/SixTrack","labels_url":"https://api.github.com/repos/SixTrack/SixTrack/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/SixTrack/SixTrack/issues/77/comments","events_url":"https://api.github.com/repos/SixTrack/SixTrack/issues/77/events","html_url":"https://github.com/SixTrack/SixTrack/issues/77","id":158917217,"number":77,"title":"Number of particles per tracking limited to 64","user":{"login":"kyrsjo","id":1011920,"avatar_url":"https://avatars.githubusercontent.com/u/1011920?v=3","gravatar_id":"","url":"https://api.github.com/users/kyrsjo","html_url":"https://github.com/kyrsjo","followers_url":"https://api.github.com/users/kyrsjo/followers","following_url":"https://api.github.com/users/kyrsjo/following{/other_user}","gists_url":"https://api.github.com/users/kyrsjo/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrsjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrsjo/subscriptions","organizations_url":"https://api.github.com/users/kyrsjo/orgs","repos_url":"https://api.github.com/users/kyrsjo/repos","events_url":"https://api.github.com/users/kyrsjo/events{/privacy}","received_events_url":"https://api.github.com/users/kyrsjo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"vikasnt","id":14842531,"avatar_url":"https://avatars.githubusercontent.com/u/14842531?v=3","gravatar_id":"","url":"https://api.github.com/users/vikasnt","html_url":"https://github.com/vikasnt","followers_url":"https://api.github.com/users/vikasnt/followers","following_url":"https://api.github.com/users/vikasnt/following{/other_user}","gists_url":"https://api.github.com/users/vikasnt/gists{/gist_id}","starred_url":"https://api.github.com/users/vikasnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikasnt/subscriptions","organizations_url":"https://api.github.com/users/vikasnt/orgs","repos_url":"https://api.github.com/users/vikasnt/repos","events_url":"https://api.github.com/users/vikasnt/events{/privacy}","received_events_url":"https://api.github.com/users/vikasnt/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-06-07T13:02:12Z","updated_at":"2016-06-15T12:19:28Z","closed_at":null,"body":"The number of particles per tracking round is currently limited to 64 particles only.\r\n\r\nProblems:\r\n * Output files fort.91-i, where i=1..32\r\n * Big matrices `al`, `as`, `hv`, and `bl1v`\r\n\r\nThe first issue to tackle, then merge, is the binary output files. These are written in `program maincr` and `subroutine writebin`. They are read in `subroutine join`, `subroutine crcheck`, and `subroutine postpr`. Additionally, they are used in the external program SUSSIX."},"comment":{"url":"https://api.github.com/repos/SixTrack/SixTrack/issues/comments/226170494","html_url":"https://github.com/SixTrack/SixTrack/issues/77#issuecomment-226170494","issue_url":"https://api.github.com/repos/SixTrack/SixTrack/issues/77","id":226170494,"user":{"login":"kyrsjo","id":1011920,"avatar_url":"https://avatars.githubusercontent.com/u/1011920?v=3","gravatar_id":"","url":"https://api.github.com/users/kyrsjo","html_url":"https://github.com/kyrsjo","followers_url":"https://api.github.com/users/kyrsjo/followers","following_url":"https://api.github.com/users/kyrsjo/following{/other_user}","gists_url":"https://api.github.com/users/kyrsjo/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrsjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrsjo/subscriptions","organizations_url":"https://api.github.com/users/kyrsjo/orgs","repos_url":"https://api.github.com/users/kyrsjo/repos","events_url":"https://api.github.com/users/kyrsjo/events{/privacy}","received_events_url":"https://api.github.com/users/kyrsjo/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T12:19:28Z","updated_at":"2016-06-15T12:19:28Z","body":"For the output files: In order to not break compatibility for already-existing postprocessing routines, let's make the new output an optional feature, and leave the old code alone. For this, the cleanest way is probably to have an astuce flag \"singlefiles\".\r\n\r\nPlan:\r\n* New `make` / `make_six` / `astuce` flag \"`singletrackfile`\"\r\n  -> Wrap the old code in `+if .not.singletrackfile / +ei` and the new in `+if singletrackfile / +ei`\r\n* For the new output, use unit 90, since we know this is now free...\r\n* For the new output, call the file \"`trackout.bin`\" to avoid collision with old output in checks etc.\r\n\r\nThen, once we have input/output and postprocessing working with both the new and old way, we need to build a converter (a standalone program) which takes `trackout.bin`, reads the first 64 particles, and writes `fort.(90..90-31)`. This is vital for testing the new code using the `check_90`.\r\n\r\nOnce this is done, we can add another check script `check_trackout` that works in much the same way as `check_90`: Reads `trackout.bin.runName` and comparing it to `trackout.bin.canonical` while ignoring not-important metadata such as time/date etc.\r\n\r\nOnce this is done, tested, and merged, we can move on with actually increasing the particle limit.\r\n\r\nFor the header of the new file, we must check if the headers of the old files can ever be different - they contain the arrays with the tunes (`qwcs`), 6d closed orbit (`clo6v` / `clop6v`), dispersion vector (`di0xs` etc.), transfer map (`tas`), and seed - and these all depend on the particle number `ia`. But they may all be identical? If they are, we can essentially keep the same format as before. If not, we should write the header once per pair in essentially the same format as before, then write the particle outputs, again in essentially the same format as before. One thing to consider is to open the file as a \"stream\", since this will produce a file that is compiler-independent and thus easier to handle with external tools."}}
{"actor":{"display_login":"kyrsjo"}}