{"action":"created","comment":{"url":"https://api.github.com/repos/open-mpi/ompi/pulls/comments/47766371","id":47766371,"diff_hunk":"@@ -14,7 +16,7 @@\n if OMPI_WANT_JAVA_BINDINGS\n \n # Get the include files that were generated from the .java source files\n-AM_CPPFLAGS = -I$(top_builddir)/ompi/mpi/java/java $(OPAL_JDK_CPPFLAGS) -DOPAL_DYN_LIB_SUFFIX=\\\"$(OPAL_DYN_LIB_SUFFIX)\\\"\n+AM_CPPFLAGS = -I$(top_builddir)/ompi/mpi/java/java $(OPAL_JDK_CPPFLAGS) -DOPAL_DYN_LIB_SUFFIX=\\\"$(OPAL_DYN_LIB_SUFFIX)\\\" -DOMPI_LIBDIR=\\\"$(OMPI_WRAPPER_LIBDIR)\\\"","path":"ompi/mpi/java/c/Makefile.am","position":18,"original_position":18,"commit_id":"1630de64d5760d38f7f315d11ca7bc2f5e1717a1","original_commit_id":"1630de64d5760d38f7f315d11ca7bc2f5e1717a1","user":{"login":"ggouaillardet","id":7233259,"avatar_url":"https://avatars.githubusercontent.com/u/7233259?v=3","gravatar_id":"","url":"https://api.github.com/users/ggouaillardet","html_url":"https://github.com/ggouaillardet","followers_url":"https://api.github.com/users/ggouaillardet/followers","following_url":"https://api.github.com/users/ggouaillardet/following{/other_user}","gists_url":"https://api.github.com/users/ggouaillardet/gists{/gist_id}","starred_url":"https://api.github.com/users/ggouaillardet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggouaillardet/subscriptions","organizations_url":"https://api.github.com/users/ggouaillardet/orgs","repos_url":"https://api.github.com/users/ggouaillardet/repos","events_url":"https://api.github.com/users/ggouaillardet/events{/privacy}","received_events_url":"https://api.github.com/users/ggouaillardet/received_events","type":"User","site_admin":false},"body":"me too...\r\n\r\nbtw, is there any reason why libmpijava is not linked with libmpi ?\r\nthat should make things trivial (thought not relocatable), at least when ompi is configure'd with --enable-mpirun-prefix-by-default.\r\nI can also try to dlopen $OPAL_PREFIX/lib64/libmpi, then $OPAL_PREFIX/lib/libmpi before trying to dlopen the hard coded path. that would make things a bit better on el capitan","created_at":"2015-12-16T11:47:48Z","updated_at":"2015-12-16T11:47:48Z","html_url":"https://github.com/open-mpi/ompi/pull/1227#discussion_r47766371","pull_request_url":"https://api.github.com/repos/open-mpi/ompi/pulls/1227","_links":{"self":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/comments/47766371"},"html":{"href":"https://github.com/open-mpi/ompi/pull/1227#discussion_r47766371"},"pull_request":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/1227"}}},"pull_request":{"url":"https://api.github.com/repos/open-mpi/ompi/pulls/1227","id":53804882,"html_url":"https://github.com/open-mpi/ompi/pull/1227","diff_url":"https://github.com/open-mpi/ompi/pull/1227.diff","patch_url":"https://github.com/open-mpi/ompi/pull/1227.patch","issue_url":"https://api.github.com/repos/open-mpi/ompi/issues/1227","number":1227,"state":"open","locked":false,"title":"java: try do dlopen libmpi with the full path","user":{"login":"ggouaillardet","id":7233259,"avatar_url":"https://avatars.githubusercontent.com/u/7233259?v=3","gravatar_id":"","url":"https://api.github.com/users/ggouaillardet","html_url":"https://github.com/ggouaillardet","followers_url":"https://api.github.com/users/ggouaillardet/followers","following_url":"https://api.github.com/users/ggouaillardet/following{/other_user}","gists_url":"https://api.github.com/users/ggouaillardet/gists{/gist_id}","starred_url":"https://api.github.com/users/ggouaillardet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggouaillardet/subscriptions","organizations_url":"https://api.github.com/users/ggouaillardet/orgs","repos_url":"https://api.github.com/users/ggouaillardet/repos","events_url":"https://api.github.com/users/ggouaillardet/events{/privacy}","received_events_url":"https://api.github.com/users/ggouaillardet/received_events","type":"User","site_admin":false},"body":"Since OS X 10.11 (aka El Capitan) DYLD_LIBRARY_PATH is no more\r\npropagated to children, so try to dlopen libmpi with the full path\r\n(set at configure time)\r\n\r\nFixes open-mpi/ompi#1220\r\n\r\nThanks Alexander Daryin for reporting this","created_at":"2015-12-16T06:44:16Z","updated_at":"2015-12-16T11:47:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6bb7fd7dc37f90bf3a35cfa413a5e74929c4153","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/open-mpi/ompi/pulls/1227/commits","review_comments_url":"https://api.github.com/repos/open-mpi/ompi/pulls/1227/comments","review_comment_url":"https://api.github.com/repos/open-mpi/ompi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-mpi/ompi/issues/1227/comments","statuses_url":"https://api.github.com/repos/open-mpi/ompi/statuses/1630de64d5760d38f7f315d11ca7bc2f5e1717a1","head":{"label":"ggouaillardet:poc/java_full_libmpi_path","ref":"poc/java_full_libmpi_path","sha":"1630de64d5760d38f7f315d11ca7bc2f5e1717a1","user":{"login":"ggouaillardet","id":7233259,"avatar_url":"https://avatars.githubusercontent.com/u/7233259?v=3","gravatar_id":"","url":"https://api.github.com/users/ggouaillardet","html_url":"https://github.com/ggouaillardet","followers_url":"https://api.github.com/users/ggouaillardet/followers","following_url":"https://api.github.com/users/ggouaillardet/following{/other_user}","gists_url":"https://api.github.com/users/ggouaillardet/gists{/gist_id}","starred_url":"https://api.github.com/users/ggouaillardet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggouaillardet/subscriptions","organizations_url":"https://api.github.com/users/ggouaillardet/orgs","repos_url":"https://api.github.com/users/ggouaillardet/repos","events_url":"https://api.github.com/users/ggouaillardet/events{/privacy}","received_events_url":"https://api.github.com/users/ggouaillardet/received_events","type":"User","site_admin":false},"repo":{"id":24743931,"name":"ompi","full_name":"ggouaillardet/ompi","owner":{"login":"ggouaillardet","id":7233259,"avatar_url":"https://avatars.githubusercontent.com/u/7233259?v=3","gravatar_id":"","url":"https://api.github.com/users/ggouaillardet","html_url":"https://github.com/ggouaillardet","followers_url":"https://api.github.com/users/ggouaillardet/followers","following_url":"https://api.github.com/users/ggouaillardet/following{/other_user}","gists_url":"https://api.github.com/users/ggouaillardet/gists{/gist_id}","starred_url":"https://api.github.com/users/ggouaillardet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggouaillardet/subscriptions","organizations_url":"https://api.github.com/users/ggouaillardet/orgs","repos_url":"https://api.github.com/users/ggouaillardet/repos","events_url":"https://api.github.com/users/ggouaillardet/events{/privacy}","received_events_url":"https://api.github.com/users/ggouaillardet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggouaillardet/ompi","description":"Open MPI main development repository","fork":true,"url":"https://api.github.com/repos/ggouaillardet/ompi","forks_url":"https://api.github.com/repos/ggouaillardet/ompi/forks","keys_url":"https://api.github.com/repos/ggouaillardet/ompi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggouaillardet/ompi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggouaillardet/ompi/teams","hooks_url":"https://api.github.com/repos/ggouaillardet/ompi/hooks","issue_events_url":"https://api.github.com/repos/ggouaillardet/ompi/issues/events{/number}","events_url":"https://api.github.com/repos/ggouaillardet/ompi/events","assignees_url":"https://api.github.com/repos/ggouaillardet/ompi/assignees{/user}","branches_url":"https://api.github.com/repos/ggouaillardet/ompi/branches{/branch}","tags_url":"https://api.github.com/repos/ggouaillardet/ompi/tags","blobs_url":"https://api.github.com/repos/ggouaillardet/ompi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggouaillardet/ompi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggouaillardet/ompi/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggouaillardet/ompi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggouaillardet/ompi/statuses/{sha}","languages_url":"https://api.github.com/repos/ggouaillardet/ompi/languages","stargazers_url":"https://api.github.com/repos/ggouaillardet/ompi/stargazers","contributors_url":"https://api.github.com/repos/ggouaillardet/ompi/contributors","subscribers_url":"https://api.github.com/repos/ggouaillardet/ompi/subscribers","subscription_url":"https://api.github.com/repos/ggouaillardet/ompi/subscription","commits_url":"https://api.github.com/repos/ggouaillardet/ompi/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggouaillardet/ompi/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggouaillardet/ompi/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggouaillardet/ompi/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggouaillardet/ompi/contents/{+path}","compare_url":"https://api.github.com/repos/ggouaillardet/ompi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggouaillardet/ompi/merges","archive_url":"https://api.github.com/repos/ggouaillardet/ompi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggouaillardet/ompi/downloads","issues_url":"https://api.github.com/repos/ggouaillardet/ompi/issues{/number}","pulls_url":"https://api.github.com/repos/ggouaillardet/ompi/pulls{/number}","milestones_url":"https://api.github.com/repos/ggouaillardet/ompi/milestones{/number}","notifications_url":"https://api.github.com/repos/ggouaillardet/ompi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggouaillardet/ompi/labels{/name}","releases_url":"https://api.github.com/repos/ggouaillardet/ompi/releases{/id}","created_at":"2014-10-03T02:05:35Z","updated_at":"2014-10-06T10:38:18Z","pushed_at":"2015-12-16T06:42:55Z","git_url":"git://github.com/ggouaillardet/ompi.git","ssh_url":"git@github.com:ggouaillardet/ompi.git","clone_url":"https://github.com/ggouaillardet/ompi.git","svn_url":"https://github.com/ggouaillardet/ompi","homepage":null,"size":120001,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"open-mpi:master","ref":"master","sha":"2b9341a38a7e103edbcb04fc4147ad49ae5f6e12","user":{"login":"open-mpi","id":2165682,"avatar_url":"https://avatars.githubusercontent.com/u/2165682?v=3","gravatar_id":"","url":"https://api.github.com/users/open-mpi","html_url":"https://github.com/open-mpi","followers_url":"https://api.github.com/users/open-mpi/followers","following_url":"https://api.github.com/users/open-mpi/following{/other_user}","gists_url":"https://api.github.com/users/open-mpi/gists{/gist_id}","starred_url":"https://api.github.com/users/open-mpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-mpi/subscriptions","organizations_url":"https://api.github.com/users/open-mpi/orgs","repos_url":"https://api.github.com/users/open-mpi/repos","events_url":"https://api.github.com/users/open-mpi/events{/privacy}","received_events_url":"https://api.github.com/users/open-mpi/received_events","type":"Organization","site_admin":false},"repo":{"id":24107001,"name":"ompi","full_name":"open-mpi/ompi","owner":{"login":"open-mpi","id":2165682,"avatar_url":"https://avatars.githubusercontent.com/u/2165682?v=3","gravatar_id":"","url":"https://api.github.com/users/open-mpi","html_url":"https://github.com/open-mpi","followers_url":"https://api.github.com/users/open-mpi/followers","following_url":"https://api.github.com/users/open-mpi/following{/other_user}","gists_url":"https://api.github.com/users/open-mpi/gists{/gist_id}","starred_url":"https://api.github.com/users/open-mpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-mpi/subscriptions","organizations_url":"https://api.github.com/users/open-mpi/orgs","repos_url":"https://api.github.com/users/open-mpi/repos","events_url":"https://api.github.com/users/open-mpi/events{/privacy}","received_events_url":"https://api.github.com/users/open-mpi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-mpi/ompi","description":"Open MPI main development repository","fork":false,"url":"https://api.github.com/repos/open-mpi/ompi","forks_url":"https://api.github.com/repos/open-mpi/ompi/forks","keys_url":"https://api.github.com/repos/open-mpi/ompi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-mpi/ompi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-mpi/ompi/teams","hooks_url":"https://api.github.com/repos/open-mpi/ompi/hooks","issue_events_url":"https://api.github.com/repos/open-mpi/ompi/issues/events{/number}","events_url":"https://api.github.com/repos/open-mpi/ompi/events","assignees_url":"https://api.github.com/repos/open-mpi/ompi/assignees{/user}","branches_url":"https://api.github.com/repos/open-mpi/ompi/branches{/branch}","tags_url":"https://api.github.com/repos/open-mpi/ompi/tags","blobs_url":"https://api.github.com/repos/open-mpi/ompi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-mpi/ompi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-mpi/ompi/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-mpi/ompi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-mpi/ompi/statuses/{sha}","languages_url":"https://api.github.com/repos/open-mpi/ompi/languages","stargazers_url":"https://api.github.com/repos/open-mpi/ompi/stargazers","contributors_url":"https://api.github.com/repos/open-mpi/ompi/contributors","subscribers_url":"https://api.github.com/repos/open-mpi/ompi/subscribers","subscription_url":"https://api.github.com/repos/open-mpi/ompi/subscription","commits_url":"https://api.github.com/repos/open-mpi/ompi/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-mpi/ompi/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-mpi/ompi/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-mpi/ompi/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-mpi/ompi/contents/{+path}","compare_url":"https://api.github.com/repos/open-mpi/ompi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-mpi/ompi/merges","archive_url":"https://api.github.com/repos/open-mpi/ompi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-mpi/ompi/downloads","issues_url":"https://api.github.com/repos/open-mpi/ompi/issues{/number}","pulls_url":"https://api.github.com/repos/open-mpi/ompi/pulls{/number}","milestones_url":"https://api.github.com/repos/open-mpi/ompi/milestones{/number}","notifications_url":"https://api.github.com/repos/open-mpi/ompi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-mpi/ompi/labels{/name}","releases_url":"https://api.github.com/repos/open-mpi/ompi/releases{/id}","created_at":"2014-09-16T16:08:30Z","updated_at":"2015-12-15T14:52:06Z","pushed_at":"2015-12-16T11:03:11Z","git_url":"git://github.com/open-mpi/ompi.git","ssh_url":"git@github.com:open-mpi/ompi.git","clone_url":"https://github.com/open-mpi/ompi.git","svn_url":"https://github.com/open-mpi/ompi","homepage":null,"size":89679,"stargazers_count":132,"watchers_count":132,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":236,"forks":109,"open_issues":236,"watchers":132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/1227"},"html":{"href":"https://github.com/open-mpi/ompi/pull/1227"},"issue":{"href":"https://api.github.com/repos/open-mpi/ompi/issues/1227"},"comments":{"href":"https://api.github.com/repos/open-mpi/ompi/issues/1227/comments"},"review_comments":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/1227/comments"},"review_comment":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/1227/commits"},"statuses":{"href":"https://api.github.com/repos/open-mpi/ompi/statuses/1630de64d5760d38f7f315d11ca7bc2f5e1717a1"}}}}