{"action":"closed","issue":{"url":"https://api.github.com/repos/cwsmith/phastaChef/issues/11","labels_url":"https://api.github.com/repos/cwsmith/phastaChef/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/cwsmith/phastaChef/issues/11/comments","events_url":"https://api.github.com/repos/cwsmith/phastaChef/issues/11/events","html_url":"https://github.com/cwsmith/phastaChef/issues/11","id":95218743,"number":11,"title":"Resolve read and write function call logic differences","user":{"login":"cwsmith","id":1024438,"avatar_url":"https://avatars.githubusercontent.com/u/1024438?v=3","gravatar_id":"","url":"https://api.github.com/users/cwsmith","html_url":"https://github.com/cwsmith","followers_url":"https://api.github.com/users/cwsmith/followers","following_url":"https://api.github.com/users/cwsmith/following{/other_user}","gists_url":"https://api.github.com/users/cwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwsmith/subscriptions","organizations_url":"https://api.github.com/users/cwsmith/orgs","repos_url":"https://api.github.com/users/cwsmith/repos","events_url":"https://api.github.com/users/cwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cwsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cwsmith/phastaChef/milestones/2","html_url":"https://github.com/cwsmith/phastaChef/milestones/phIO%20supports%20both%20posix%20and%20sync%20IO","labels_url":"https://api.github.com/repos/cwsmith/phastaChef/milestones/2/labels","id":1209523,"number":2,"title":"phIO supports both posix and sync IO","description":"Currently phIO, the wrapper layer between phSolver and phastaIO, only supports sync IO.  \r\n\r\nphIO will be extended to support posix IO.\r\n\r\n0. Create mechanism to switch between posix and sync io.  In the long term we would want to register appropriate functions to satisfy the phIO interface.  Given that the current phastaIO should support both sync and posix this may not be a ideal approach; we would register the same functions for both modes.\r\n1. Implement string handling for posix and sync.  File and field names are slightly different; e.g. `geombc-dat` vs `geombc.dat`,  `connectivity interior1` vs `connectivity interior linear tetrahedron` .\r\n2. Call the appropriate sequence of phastaIO fns to support posix in the phIO fns.  \r\n  - `phio_closefile_[read|write]` syncio needs `finalizephmpiio` called after `closefile`\r\n  - `phio_openfile_read` syncio needs `queryphmpiio` and `initializephmpiio` called before `openfile`\r\n  - `phio_openfile_write` syncio needs `initializephmpiio` called before `openfile`\r\n3. Resolve read and write function call logic differences in `readnblk` and elsewhere.","creator":{"login":"cwsmith","id":1024438,"avatar_url":"https://avatars.githubusercontent.com/u/1024438?v=3","gravatar_id":"","url":"https://api.github.com/users/cwsmith","html_url":"https://github.com/cwsmith","followers_url":"https://api.github.com/users/cwsmith/followers","following_url":"https://api.github.com/users/cwsmith/following{/other_user}","gists_url":"https://api.github.com/users/cwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwsmith/subscriptions","organizations_url":"https://api.github.com/users/cwsmith/orgs","repos_url":"https://api.github.com/users/cwsmith/repos","events_url":"https://api.github.com/users/cwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cwsmith/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"open","created_at":"2015-07-15T14:52:44Z","updated_at":"2015-07-23T16:22:42Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-15T15:08:09Z","updated_at":"2015-07-23T16:22:42Z","closed_at":"2015-07-23T16:22:42Z","body":"`readnblk.f` is supposed to have differences.  Others are not known offhand.  "}}