{"action":"created","issue":{"url":"https://api.github.com/repos/etmc/tmLQCD/issues/349","repository_url":"https://api.github.com/repos/etmc/tmLQCD","labels_url":"https://api.github.com/repos/etmc/tmLQCD/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/etmc/tmLQCD/issues/349/comments","events_url":"https://api.github.com/repos/etmc/tmLQCD/issues/349/events","html_url":"https://github.com/etmc/tmLQCD/pull/349","id":197327652,"node_id":"MDExOlB1bGxSZXF1ZXN0OTkyMTI2MTE=","number":349,"title":"Reweighting branch merge","user":{"login":"gbergner","id":19404194,"node_id":"MDQ6VXNlcjE5NDA0MTk0","avatar_url":"https://avatars2.githubusercontent.com/u/19404194?v=4","gravatar_id":"","url":"https://api.github.com/users/gbergner","html_url":"https://github.com/gbergner","followers_url":"https://api.github.com/users/gbergner/followers","following_url":"https://api.github.com/users/gbergner/following{/other_user}","gists_url":"https://api.github.com/users/gbergner/gists{/gist_id}","starred_url":"https://api.github.com/users/gbergner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbergner/subscriptions","organizations_url":"https://api.github.com/users/gbergner/orgs","repos_url":"https://api.github.com/users/gbergner/repos","events_url":"https://api.github.com/users/gbergner/events{/privacy}","received_events_url":"https://api.github.com/users/gbergner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-12-23T08:01:53Z","updated_at":"2018-11-20T13:05:55Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/etmc/tmLQCD/pulls/349","html_url":"https://github.com/etmc/tmLQCD/pull/349","diff_url":"https://github.com/etmc/tmLQCD/pull/349.diff","patch_url":"https://github.com/etmc/tmLQCD/pull/349.patch"},"body":"Currently implemented additions:\r\n- measurement reweighting factors with DDalphaAMG support\r\n- improved reweighting monomial for alternative computation (CG)\r\n- alternative computation of reweighting factors without inversions\r\n- so far not working: eigenvalue estimation for clover operators"},"comment":{"url":"https://api.github.com/repos/etmc/tmLQCD/issues/comments/440266519","html_url":"https://github.com/etmc/tmLQCD/pull/349#issuecomment-440266519","issue_url":"https://api.github.com/repos/etmc/tmLQCD/issues/349","id":440266519,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDI2NjUxOQ==","user":{"login":"gbergner","id":19404194,"node_id":"MDQ6VXNlcjE5NDA0MTk0","avatar_url":"https://avatars2.githubusercontent.com/u/19404194?v=4","gravatar_id":"","url":"https://api.github.com/users/gbergner","html_url":"https://github.com/gbergner","followers_url":"https://api.github.com/users/gbergner/followers","following_url":"https://api.github.com/users/gbergner/following{/other_user}","gists_url":"https://api.github.com/users/gbergner/gists{/gist_id}","starred_url":"https://api.github.com/users/gbergner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbergner/subscriptions","organizations_url":"https://api.github.com/users/gbergner/orgs","repos_url":"https://api.github.com/users/gbergner/repos","events_url":"https://api.github.com/users/gbergner/events{/privacy}","received_events_url":"https://api.github.com/users/gbergner/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T13:05:55Z","updated_at":"2018-11-20T13:05:55Z","author_association":"NONE","body":"Probably you mean this kind of solution:\r\n {SPC}*MGNumberOfVectors{EQL}{FLTLIST} {\r\n    char paramname[100];\r\n    char error_message[200];\r\n    int list_end = 0;\r\n    int level = 0;\r\n\r\n    fltlist_tokenize(yytext, paramname, 100);\r\n    int n_vec = (int)fltlist_next_token(&list_end);\r\n    while( list_end != 1 ){\r\n      if( level >= (QUDA_MAX_MG_LEVEL-1) ){\r\n        snprintf(error_message, 200, \"Exceeded maximum number of levels (%d-1) parsing %s!\\n\", QUDA_MAX_MG_LEVEL, paramname);\r\n        yy_fatal_error(error_message);\r\n      }\r\n      \r\n      quda_input.mg_n_vec[level] = n_vec;\r\n      if(myverbose){ \r\n        printf(\"  %s, level %d set to %d line %d\\n\", paramname,\r\n                level, quda_input.mg_n_vec[level], line_of_file);\r\n      }\r\n      level++;\r\n      n_vec = fltlist_next_token(&list_end);\r\n    }\r\n  }\r\nMay be this is nicer .... I will think about it."}}
{"actor":{"display_login":"gbergner"}}