{"action":"created","issue":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1900","repository_url":"https://api.github.com/repos/raffenet/mpich-migrate-test","labels_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1900/labels{/name}","comments_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1900/comments","events_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1900/events","html_url":"https://github.com/raffenet/mpich-migrate-test/issues/1900","id":169248652,"number":1900,"title":"critical section macro initialization is incorrect","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":"open","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/18","html_url":"https://github.com/raffenet/mpich-migrate-test/milestones/mpich-3.1","labels_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/milestones/18/labels","id":1911848,"number":18,"title":"mpich-3.1","description":"mpich-3.1 is a feature release, with several large new features planned for it.  Below is a wish-list of features that are being considered.  Some of these might not make it into the release, and will be pushed to a later release.\r\n\r\n'''Major Features:'''\r\n  - ~~Improved support for Intel MIC (contribution from Intel) [complete]~~\r\n  - ~~MPICH-PAMI Integration (contribution from IBM) [complete]~~\r\n  - ~~MPI-3 compatible Fault Tolerance [complete]~~\r\n  - ~~RMA performance improvements [complete]~~\r\n  - ~~MPI Tools Interface Improvements [complete]~~\r\n  - ~~MPICH 3.1 ABI updates [complete]~~\r\n  - ~~MPI large count 64-bit safety [complete]~~\r\n ","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":1,"closed_issues":78,"state":"closed","created_at":"2016-07-29T14:57:30Z","updated_at":"2016-08-03T22:22:08Z","due_on":"2014-02-12T06:00:00Z","closed_at":"2016-07-29T14:57:30Z"},"comments":41,"created_at":"2016-08-03T22:22:07Z","updated_at":"2016-08-03T22:27:23Z","closed_at":null,"body":"**Originally by _robl@mcs.anl.gov_ on 2013-07-15 08:56:03 -0500**\n\n___\nBuilding stock MPICH with memory debugging results in a seg fault\n\nSteps to reproduce:\n- pull from git (i am testing with '[fde7836]'\n- configure with --enable-g=all\n- run the ROMIO \"coll_perf\" test with 4 processors:\n\n```\n qsub -t 15 -n 8 -A SSSPP --env=BG_COREDUMPBINARY=0 ./coll_perf -fname blah\n```\n\nProgram will fail with signal 11 and provide the following backtrace:\n\n```\nProgram terminated with signal 11, Segmentation fault.\n#0  __l2_load_op (str=0x1481460 \"MPI_THREAD_SINGLE\", lineno=726,\n    fname=0x14ab180 \"/home/robl/src/mpich/src/util/param/param_vals.c\")\n    at /bgsys/drivers/V1R2M0/ppc64/spi/include/l2/atomic.h:109\n109         return *__l2_op_ptr(ptr, op);\n(gdb) up\n#1  L2_AtomicLoadIncrementBounded (str=0x1481460 \"MPI_THREAD_SINGLE\",\nlineno=726,\n    fname=0x14ab180 \"/home/robl/src/mpich/src/util/param/param_vals.c\")\n    at /bgsys/drivers/V1R2M0/ppc64/spi/include/l2/atomic.h:186\n186         return __l2_load_op(ptr,\nL2_ATOMIC_OPCODE_LOAD_INCREMENT_BOUNDED);\n(gdb) up\n#2  MPIDI_Mutex_acquire (str=0x1481460 \"MPI_THREAD_SINGLE\", lineno=726,\n    fname=0x14ab180 \"/home/robl/src/mpich/src/util/param/param_vals.c\")\n    at /home/robl/src/mpich/src/mpid/pamid/include/mpidi_mutex.h:112\n112         rc = L2_AtomicLoadIncrementBounded(&mutex->counter);\n(gdb) up\n#3  MPIU_trstrdup (str=0x1481460 \"MPI_THREAD_SINGLE\", lineno=726,\n    fname=0x14ab180 \"/home/robl/src/mpich/src/util/param/param_vals.c\")\n    at /home/robl/src/mpich/src/util/mem/trmem.c:99\n99          MPIU_THREAD_CS_ENTER(MEMALLOC,);\n(gdb) up\n#4  0x0000000001036b1c in MPIR_Param_init_params ()\n    at /home/robl/src/mpich/src/util/param/param_vals.c:726\n726             MPIR_PARAM_DEFAULT_THREAD_LEVEL = MPIU_Strdup(tmp_str);\n(gdb) up\n#5  0x0000000001010494 in PMPI_Init (argc=0x1dbfffbad0, argv=0x1dbfffbad8)\n    at /home/robl/src/mpich/src/mpi/init/init.c:100\n100         mpi_errno = MPIR_Param_init_params();\n(gdb) up\n#6  0x0000000001000ac4 in main (argc=3, argv=0x1dbfffbec8)\n    at /home/robl/src/mpich/src/mpi/romio/test/coll_perf.c:33\n33          MPI_Init(&argc,&argv);\n\n```"},"comment":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/comments/237394729","html_url":"https://github.com/raffenet/mpich-migrate-test/issues/1900#issuecomment-237394729","issue_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1900","id":237394729,"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-08-03T22:27:22Z","updated_at":"2016-08-03T22:27:22Z","body":"**Originally by _balaji@mcs.anl.gov_ on 2014-01-08 22:04:34 -0600**\n\n___\nHmm..  Weird.\n\nI configured it this way:\n\n```\n../mpich/configure --host=powerpc64-bgq-linux --with-device=pamid \\\n    --with-file-system=bg+bglockless --disable-wrapper-rpath \\\n    --enable-thread-cs=per-object --with-atomic-primitives \\\n    --enable-handle-allocation=tls --enable-refcount=lock-free \\\n    --disable-predefined-refcount \\\n    --prefix=/home/balaji/software/mpich/build/install --enable-g=all\n```\n\nAnd ran it this way:\n\n```\nqsub -t 15 -n 8 --env=BG_COREDUMPBINARY=0 ./coll_perf -fname blah\n```\n\nThe output file had some stuff:\n\n```\nleaked context IDs detected: mask=0x166b440 mask[0]=0xfffffffc\nleaked context IDs detected: mask=0x166b440 mask[0]=0xfffffffc\nleaked context IDs detected: mask=0x166b440 mask[0]=0xfffffffc\nleaked context IDs detected: mask=0x166b440 mask[0]=0xfffffffc\nleaked context IDs detected: mask=0x166b440 mask[0]=0xfffffffc\nleaked context IDs detected: mask=0x166b440 mask[0]=0xfffffffc\nleaked context IDs detected: mask=0x166b440 mask[0]=0xfffffffc\nleaked context IDs detected: mask=0x166b440 mask[0]=0xfffffffc\nIn direct memory block for handle type REQUEST, 128 handles are still allocated\nIn direct memory block for handle type REQUEST, 128 handles are still allocated\nIn direct memory block for handle type REQUEST, 128 handles are still allocated\nIn direct memory block for handle type REQUEST, 128 handles are still allocated\nIn direct memory block for handle type REQUEST, 128 handles are still allocated\nIn direct memory block for handle type REQUEST, 128 handles are still allocated\nIn direct memory block for handle type REQUEST, 128 handles are still allocated\nIn direct memory block for handle type REQUEST, 128 handles are still allocated\n```\n\nThe error file had some stuff:\n\n```\n[...snipped...]\nGlobal array size 128 x 128 x 128 integers\nCollective write time # 0.017283 sec, Collective write bandwidth462.889197 Mbytes/sec\nCollective read time # 0.023002 sec, Collective read bandwidth347.789777 Mbytes/sec\n[0] 504 at [0x00000019c583e858], [1] 504 at [0x00000019c583e858], [3] 504 at [0x00000019c583e858], [6] 504 at [0x00000019c583e858], [7] 504 at [0x00000019c583e858], [2] 504 at [0x00000019c583e858], ../mpich/src/mpi/comm/commutil.c[281]\n[4] 504 at [0x00000019c583e858], ../mpich/src/mpi/comm/commutil.c[281]\n[5] 504 at [0x00000019c583e858], ../mpich/src/mpi/comm/commutil.c[281]\n[...snipped...]\n```\n\nSeems to be as expected (except the bandwidth output going into the error file part).\n\nWhat am I missing?"}}
{"actor":{"display_login":"raffenet"}}