{"action":"created","issue":{"url":"https://api.github.com/repos/pyne/pyne/issues/848","repository_url":"https://api.github.com/repos/pyne/pyne","labels_url":"https://api.github.com/repos/pyne/pyne/issues/848/labels{/name}","comments_url":"https://api.github.com/repos/pyne/pyne/issues/848/comments","events_url":"https://api.github.com/repos/pyne/pyne/issues/848/events","html_url":"https://github.com/pyne/pyne/issues/848","id":156780784,"number":848,"title":"PyNE cannot write material objects to arbitrary locations","user":{"login":"makeclean","id":2439754,"avatar_url":"https://avatars.githubusercontent.com/u/2439754?v=3","gravatar_id":"","url":"https://api.github.com/users/makeclean","html_url":"https://github.com/makeclean","followers_url":"https://api.github.com/users/makeclean/followers","following_url":"https://api.github.com/users/makeclean/following{/other_user}","gists_url":"https://api.github.com/users/makeclean/gists{/gist_id}","starred_url":"https://api.github.com/users/makeclean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makeclean/subscriptions","organizations_url":"https://api.github.com/users/makeclean/orgs","repos_url":"https://api.github.com/users/makeclean/repos","events_url":"https://api.github.com/users/makeclean/events{/privacy}","received_events_url":"https://api.github.com/users/makeclean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyne/pyne/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/pyne/pyne/labels/test","name":"test","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-25T15:32:43Z","updated_at":"2016-05-26T13:16:07Z","closed_at":null,"body":"It seems weird that we've had materials for so long and this hasn't come up, maybe I'm doing something dumb and someone will correct me.\r\n\r\nCreate a new material\r\n\r\n      mat = Material({'H-1':1,'Fe-56':1},density = 1.0)\r\n      mat.write_hdf5(\"my_file.h5\",nucpath=\"/this/is/a/long/path/materials\",nucid='/this/is/a/long/path/nucid')\r\n\r\nCreates a new file, but there are no hdf5 dataspaces.\r\n\r\n      /                        Group\r\n\r\nThe following works\r\n\r\n      mat = Material({'H-1':1,'Fe-56':1},density = 1.0)\r\n      mat.write_hdf5(\"my_file.h5\")\r\n\r\nWorks, giving \r\n\r\n      /                        Group\r\n      /materials               Dataset {1/Inf}\r\n      /materials_metadata      Dataset {1/Inf}\r\n      /nucid                   Dataset {2}\r\n\r\nThe following doesnt\r\n\r\n      mat = Material({'H-1':1,'Fe-56':1},density = 1.0)\r\n      mat.write_hdf5(\"my_file.h5\",nucpath=\"/zuper/materials\",nucid='/zuper/nucid')\r\n\r\n      /                        Group\r\n\r\nBut, this does work\r\n\r\n      mat = Material({'H-1':1,'Fe-56':1},density = 1.0)\r\n      mat.write_hdf5(\"my_file.h5\",nucpath=\"/materials\",nucid='/nucid')\r\n\r\nGiving\r\n\r\n      /                        Group\r\n      /materials               Dataset {1/Inf}\r\n      /materials_metadata      Dataset {1/Inf}\r\n      /nucid                   Dataset {2}\r\n\r\nAm I doing something stupid, or should these all work?\r\n"},"comment":{"url":"https://api.github.com/repos/pyne/pyne/issues/comments/221867296","html_url":"https://github.com/pyne/pyne/issues/848#issuecomment-221867296","issue_url":"https://api.github.com/repos/pyne/pyne/issues/848","id":221867296,"user":{"login":"makeclean","id":2439754,"avatar_url":"https://avatars.githubusercontent.com/u/2439754?v=3","gravatar_id":"","url":"https://api.github.com/users/makeclean","html_url":"https://github.com/makeclean","followers_url":"https://api.github.com/users/makeclean/followers","following_url":"https://api.github.com/users/makeclean/following{/other_user}","gists_url":"https://api.github.com/users/makeclean/gists{/gist_id}","starred_url":"https://api.github.com/users/makeclean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makeclean/subscriptions","organizations_url":"https://api.github.com/users/makeclean/orgs","repos_url":"https://api.github.com/users/makeclean/repos","events_url":"https://api.github.com/users/makeclean/events{/privacy}","received_events_url":"https://api.github.com/users/makeclean/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T13:16:07Z","updated_at":"2016-05-26T13:16:07Z","body":"This  might be a g++ thing, with GCC5 they appear to have broken the ABI https://gcc.gnu.org/gcc-5/changes.html#libstdcxx, which is incompatible with libraries compiled with pre v5 libraries. Im currently installing g++4.9 to test this hypothesis. "}}
{"actor":{"display_login":"makeclean"}}