{"action":"created","issue":{"url":"https://api.github.com/repos/areaDetector/ADCore/issues/203","repository_url":"https://api.github.com/repos/areaDetector/ADCore","labels_url":"https://api.github.com/repos/areaDetector/ADCore/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/areaDetector/ADCore/issues/203/comments","events_url":"https://api.github.com/repos/areaDetector/ADCore/issues/203/events","html_url":"https://github.com/areaDetector/ADCore/issues/203","id":181916114,"number":203,"title":"Cannot write files with SWMRMode=On on Linux","user":{"login":"MarkRivers","id":6115534,"avatar_url":"https://avatars.githubusercontent.com/u/6115534?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkRivers","html_url":"https://github.com/MarkRivers","followers_url":"https://api.github.com/users/MarkRivers/followers","following_url":"https://api.github.com/users/MarkRivers/following{/other_user}","gists_url":"https://api.github.com/users/MarkRivers/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkRivers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkRivers/subscriptions","organizations_url":"https://api.github.com/users/MarkRivers/orgs","repos_url":"https://api.github.com/users/MarkRivers/repos","events_url":"https://api.github.com/users/MarkRivers/events{/privacy}","received_events_url":"https://api.github.com/users/MarkRivers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-09T22:26:41Z","updated_at":"2016-10-10T13:14:51Z","closed_at":null,"body":"I am trying to test SWMR mode on Linux.  I am writing to a local file system.\r\n\r\nI have modified the NDFileHDF5.adl medm screen to display the new SWMR PVs.\r\n\r\nIt shows SWMRSupported_RBV=Supported\r\n\r\nIf I set SWMRMode=Off then I can save HDF5 files fine.  However, if I set SWMRMode=On then I see SWMRActive_RBV=Off and when I try to save a file I get the following errors:\r\n\r\n    epics> HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 139877571647232:\r\n    #000: ../H5F.c line 1722 in H5Fstart_swmr_write(): can't refresh-close object\r\n    major: Object atom\r\n    minor: Close failed\r\n    #001: ../H5Oflush.c line 394 in H5O_refresh_metadata_reopen(): unable to open dataset\r\n    major: Dataset\r\n    minor: Can't open object\r\n    #002: ../H5Dint.c line 1539 in H5D_open(): not found\r\n    major: Dataset\r\n    minor: Object not found\r\n    #003: ../H5Dint.c line 1841 in H5D__open_oid(): unable to set up SWMR access for dataset\r\n    major: Dataset\r\n    minor: Unable to initialize object\r\n    #004: ../H5Dint.c line 846 in H5D__swmr_setup(): dataspace chunk index must be 0 for SWMR access, chunkno = 1\r\n    major: Dataset\r\n    minor: Bad value\r\n    2016/10/09 17:23:03.717 NDFileHDF5::startSWMR unable start SWMR write operation. ERRORCODE=-1\r\n    2016/10/09 17:23:03.717 NDFileHDF5::openFile ERROR Failed to start SWMR mode\r\n    2016/10/09 17:23:03.717 NDPluginFile:openFileBase Error opening file /home/epics/scratch/my_test_043.h5, status=3\r\n\r\nWhat am I doing wrong?\r\n\r\nThanks,\r\nMark\r\n"},"comment":{"url":"https://api.github.com/repos/areaDetector/ADCore/issues/comments/252614821","html_url":"https://github.com/areaDetector/ADCore/issues/203#issuecomment-252614821","issue_url":"https://api.github.com/repos/areaDetector/ADCore/issues/203","id":252614821,"user":{"login":"ulrikpedersen","id":6115544,"avatar_url":"https://avatars.githubusercontent.com/u/6115544?v=3","gravatar_id":"","url":"https://api.github.com/users/ulrikpedersen","html_url":"https://github.com/ulrikpedersen","followers_url":"https://api.github.com/users/ulrikpedersen/followers","following_url":"https://api.github.com/users/ulrikpedersen/following{/other_user}","gists_url":"https://api.github.com/users/ulrikpedersen/gists{/gist_id}","starred_url":"https://api.github.com/users/ulrikpedersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulrikpedersen/subscriptions","organizations_url":"https://api.github.com/users/ulrikpedersen/orgs","repos_url":"https://api.github.com/users/ulrikpedersen/repos","events_url":"https://api.github.com/users/ulrikpedersen/events{/privacy}","received_events_url":"https://api.github.com/users/ulrikpedersen/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T13:14:50Z","updated_at":"2016-10-10T13:14:50Z","body":"I've had a phone discussion with @ajgdls about this one and it has us a bit stumped to be honest... Alan is back in the office on Wednesday so we will spend some time to work on it then - he has a more up-to-date knowledge than I do and an appropriate test-setup in the lab.\r\n\r\nMeanwhile, can you send us a few more diagnostic details, please? It would help with:\r\n\r\n* Type of file system - you mention a local Linux one so EXT3,4?\r\n* Screenshot of the HDF5 plugin MEDM or EDM screen to see all settings.\r\n * LazyOpen enabled? What are the chunk settings?\r\n* HDF5 layout definition XML (or using the standard, i.e. no XML loaded)\r\n* List of NDAttributes that the HDF5 plugin see on incoming frames.\r\n\r\n"}}
{"actor":{"display_login":"ulrikpedersen"}}