{"action":"created","issue":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1121","repository_url":"https://api.github.com/repos/raffenet/mpich-migrate-test","labels_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1121/labels{/name}","comments_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1121/comments","events_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1121/events","html_url":"https://github.com/raffenet/mpich-migrate-test/issues/1121","id":168466602,"number":1121,"title":"cross compile bug of MPI_OFFSET in top-level configure","user":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"assignees":[{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/milestones/11","html_url":"https://github.com/raffenet/mpich-migrate-test/milestones/mpich2-1.3.1","labels_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/milestones/11/labels","id":1911841,"number":11,"title":"mpich2-1.3.1","description":"","creator":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":19,"state":"closed","created_at":"2016-07-29T14:57:29Z","updated_at":"2016-07-30T13:06:53Z","due_on":"2010-11-15T06:00:00Z","closed_at":"2016-07-29T14:57:29Z"},"comments":5,"created_at":"2016-07-30T13:06:51Z","updated_at":"2016-07-30T13:06:53Z","closed_at":"2016-07-30T13:06:53Z","body":"**Originally by _chan_ on 2010-10-18 14:54:54 -0500**\n\n___\nhttp://lists.mcs.anl.gov/pipermail/mpich2-dev/2010-October/000768.html\nhttp://lists.mcs.anl.gov/pipermail/mpich2-dev/2010-October/000769.html\n\nTop-level configure uses a runtime test to determine sizoeof($MPI_OFFSET_TYPE) where MPI_OFFSET_TYPE is determined by ROMIO. The runtime test does not check if it is cross compiling before carrying out the test.  Given AC_CHECK_SIZEOF needs literal argument, i.e. no $MPI_OFFSET_TYPE, AC_COMPUTE_INT should be used instead.\n"},"comment":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/comments/236364272","html_url":"https://github.com/raffenet/mpich-migrate-test/issues/1121#issuecomment-236364272","issue_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1121","id":236364272,"user":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T13:06:53Z","updated_at":"2016-07-30T13:06:53Z","body":"**Originally by _chan_ on 2010-10-19 12:10:08 -0500**\n\n___\nReplying to maxgreg13625@…:\n\n> Sorry, I still have no idea.\n> \n> Could you let me know how you rewrite configure specifically.\n\nLook at your <mpich2_build_dir>/src/mpi/romio/localdefs\n\nwhich should have the following lines:\n\n#! /bin/sh\nLIBS=\"$LIBS  -lrt \"\nMPI_OFFSET_TYPE=\"long long\"\nFORTRAN_MPI_OFFSET=\"integer*8\"\n\nhere, MPI_OFFSET_TYPE is set to \"long long\" but it could be \"long\" or \"int\" on your\ntarget platform. Then you could determine the sizeof($MPI_OFFSET_TYPE) by write a simple program and run it on your arm platform.  For typical intel linux box,\nsizeof(long long)=8.   So add MPI_SIZEOF_OFFSET=8 as part of configure command.\nNow rerun your configure ...\n\n$/home/sn/mpich2/libraries/mpich2-1.2.1p1/configure --disable-f77\n--disable-f90 --disable-cxx --disable-sharedlibs\n--prefix=/home/sn/mpich2/mpich2-install --build=i686-pc-linux-gnu\n--host=arm-none-linux-gnueabi  MPI_SIZEOF_OFFSET=8 2>&1 | tee c.txt\n\n(you still need to set environment variables like CC).\n\n"}}
{"actor":{"display_login":"raffenet"}}