{"action":"created","issue":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/662","repository_url":"https://api.github.com/repos/ofi-cray/libfabric-cray","labels_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/662/labels{/name}","comments_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/662/comments","events_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/662/events","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/662","id":132014296,"number":662,"title":"Implemented fi direct","user":{"login":"e-harvey","id":7410674,"avatar_url":"https://avatars.githubusercontent.com/u/7410674?v=3","gravatar_id":"","url":"https://api.github.com/users/e-harvey","html_url":"https://github.com/e-harvey","followers_url":"https://api.github.com/users/e-harvey/followers","following_url":"https://api.github.com/users/e-harvey/following{/other_user}","gists_url":"https://api.github.com/users/e-harvey/gists{/gist_id}","starred_url":"https://api.github.com/users/e-harvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-harvey/subscriptions","organizations_url":"https://api.github.com/users/e-harvey/orgs","repos_url":"https://api.github.com/users/e-harvey/repos","events_url":"https://api.github.com/users/e-harvey/events{/privacy}","received_events_url":"https://api.github.com/users/e-harvey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-07T21:23:31Z","updated_at":"2016-02-09T23:08:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/pulls/662","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/662","diff_url":"https://github.com/ofi-cray/libfabric-cray/pull/662.diff","patch_url":"https://github.com/ofi-cray/libfabric-cray/pull/662.patch"},"body":"The following changes bind all the gni API functions globally when compiling with fi direct enabled. This allows applications to see the gni API function references and compile with fabric direct enabled.  The gni API functions that have not been implemented return -FI_ENOSYS and have the appropriate macros before their declarations so that applications can compile with fi direct enabled.  These macros were defined in fi_prov.h in the hope that if other providers support fi direct they will use them as well.\r\n\r\n- Updated fi_provider.m4 to modify CFLAGS in order to change the visibility of the gni API functions.\r\n\r\n- Updated fi_prov.h to change visibility of gni API functions when configuring with --enable-direct=gni.\r\n\r\n- Added gni API function names to the global section of libfabric.map.\r\n\r\n- Implemented direct headers.\r\n\r\n- Updated gnix*.c and gnix*.h to refelect the changes.\r\n\r\n- Updated copyright headers.\r\n\r\n- Removed fi_gni_api.h\r\n\r\n- Reduced runtime of buddy allocator tests.\r\n\r\nNote:\r\nWhen configuring the GNI provider for fi direct, configure with the following options: `--enable-direct=gni --disable-sockets --disable-udp`.\r\nBefore compiling fabtests for fi direct run: `export CFLAGS=\"-DFABRIC_DIRECT\"`\r\n\r\n@hppritcha @sungeunchoi @jswaro @jshimek @ztiffany @chuckfossen \r\n\r\nFixes #600 "},"comment":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/comments/182127310","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/662#issuecomment-182127310","issue_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/662","id":182127310,"user":{"login":"hppritcha","id":7818666,"avatar_url":"https://avatars.githubusercontent.com/u/7818666?v=3","gravatar_id":"","url":"https://api.github.com/users/hppritcha","html_url":"https://github.com/hppritcha","followers_url":"https://api.github.com/users/hppritcha/followers","following_url":"https://api.github.com/users/hppritcha/following{/other_user}","gists_url":"https://api.github.com/users/hppritcha/gists{/gist_id}","starred_url":"https://api.github.com/users/hppritcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hppritcha/subscriptions","organizations_url":"https://api.github.com/users/hppritcha/orgs","repos_url":"https://api.github.com/users/hppritcha/repos","events_url":"https://api.github.com/users/hppritcha/events{/privacy}","received_events_url":"https://api.github.com/users/hppritcha/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T23:08:15Z","updated_at":"2016-02-09T23:08:15Z","body":"@e-harvey \r\nhttps://github.com/hppritcha/libfabric/commits/issue600\r\nhas a fix in sha 728d6a413e8f53d16e56f3a30c2a2c75bd3b6b21 \r\nfor the lanl jenkins problem\r\n"}}