{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/18692","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/18692/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/18692/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/18692/events","html_url":"https://github.com/JuliaLang/julia/issues/18692","id":179416085,"number":18692,"title":"unknown machine / CPUID related OpenBLAS issue","user":{"login":"floswald","id":1021558,"avatar_url":"https://avatars.githubusercontent.com/u/1021558?v=3","gravatar_id":"","url":"https://api.github.com/users/floswald","html_url":"https://github.com/floswald","followers_url":"https://api.github.com/users/floswald/followers","following_url":"https://api.github.com/users/floswald/following{/other_user}","gists_url":"https://api.github.com/users/floswald/gists{/gist_id}","starred_url":"https://api.github.com/users/floswald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floswald/subscriptions","organizations_url":"https://api.github.com/users/floswald/orgs","repos_url":"https://api.github.com/users/floswald/repos","events_url":"https://api.github.com/users/floswald/events{/privacy}","received_events_url":"https://api.github.com/users/floswald/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/needs%20more%20info","name":"needs more info","color":"e0d5f0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-27T07:25:55Z","updated_at":"2016-09-27T15:45:05Z","closed_at":null,"body":"I'm still wrestling with julia running up against a virtual memory limit imposed by a SGE scheduler. I built julia-0.5 with the fix suggested in [this issue comment](https://github.com/JuliaLang/julia/issues/18477#issuecomment-246807488). I requested 16GB of virtual and 16GB of total memory from the scheduler. From looking at `top` previously, I know that this job consumes 2GB of RES and 6482MB of VIRT memory on this machine, so should fit comfortably within those limits?\r\n\r\n```\r\nsignal (4): Illegal instruction\r\nwhile loading no file, in expression starting on line 0\r\ndgemm_oncopy at /share/apps/econ/acapp/git/julia/usr/bin/../lib/libopenblas64_.so (unknown line)\r\nAllocations: 24608392 (Pool: 24606549; Big: 1843); GC: 50\r\nIllegal instruction\r\n```\r\n\r\nWhat does this mean? \r\n\r\n- is setting `#define REGION_PG_COUNT 8*4096` in `src/gc-pages.c` too restrictive now? \r\n- What is the recommended solution for cases like this now? \r\n- Is there anything I could tell my sysadmin to do so that this problem becomes less likely? Is it possible for julia to use swapfiles (I'm just forwarding this as a suggestion from my sysadmin, I know nothing about it)?\r\n\r\nI now ran the unit tests and get the same behaviour.\r\n\r\n```bash\r\n[uctpfos@lum-7-14 julia]$ make test\r\n    JULIA test/all\r\n\r\nsignal (4): Illegal instruction\r\nwhile loading /share/apps/econ/acapp/git/julia/test/linalg/dense.jl, in expression starting on line 7\r\ndgemm_oncopy at /share/apps/econ/acapp/git/julia/usr/bin/../lib/libopenblas64_.so (unknown line)\r\nAllocations: 3522101 (Pool: 3521101; Big: 1000); GC: 4\r\n        From worker 4:       * linalg/dense         Worker 4 terminated.\r\nERROR (unhandled task failure): EOFError: read end of file\r\n\r\nsignal (4): Illegal instruction\r\nwhile loading /share/apps/econ/acapp/git/julia/test/linalg/bunchkaufman.jl, in expression starting on line 23\r\nsgemm_oncopy at /share/apps/econ/acapp/git/julia/usr/bin/../lib/libopenblas64_.so (unknown line)\r\nAllocations: 6470298 (Pool: 6469304; Big: 994); GC: 9\r\n        From worker 9:       * linalg/bunchkaufman  Worker 9 terminated.\r\nERROR (unhandled task failure): EOFError: read end of file\r\nERROR: connect: connection refused (ECONNREFUSED)\r\n in yieldto(::Task, ::ANY) at ./event.jl:136\r\n in wait() at ./event.jl:169\r\n in wait(::Condition) at ./event.jl:27\r\n in stream_wait(::TCPSocket, ::Condition, ::Vararg{Condition,N}) at ./stream.jl:44\r\n in wait_connected(::TCPSocket) at ./stream.jl:265\r\n in connect at ./stream.jl:960 [inlined]\r\n in connect_to_worker(::String, ::Int16) at ./managers.jl:483\r\n in connect_w2w(::Int64, ::WorkerConfig) at ./managers.jl:446\r\n in connect(::Base.DefaultClusterManager, ::Int64, ::WorkerConfig) at ./managers.jl:380\r\n in connect_to_peer(::Base.DefaultClusterManager, ::Int64, ::WorkerConfig) at ./multi.jl:1479\r\n in (::Base.##637#639)() at ./task.jl:360\r\nError [connect: connection refused (ECONNREFUSED)] on 10 while connecting to peer 9. Exiting.\r\nWorker 10 terminated.\r\nERROR (unhandled task failure): Version read failed. Connection closed by peer.\r\n in process_hdr(::TCPSocket, ::Bool) at ./multi.jl:1410\r\n in message_handler_loop(::TCPSocket, ::TCPSocket, ::Bool) at ./multi.jl:1299\r\n in process_tcp_streams(::TCPSocket, ::TCPSocket, ::Bool) at ./multi.jl:1276\r\n in (::Base.##618#619{TCPSocket,TCPSocket,Bool})() at ./event.jl:68\r\n\r\nsignal (4): Illegal instruction\r\nwhile loading /share/apps/econ/acapp/git/julia/test/linalg/eigen.jl, in expression starting on line 19\r\nsgemm_oncopy at /share/apps/econ/acapp/git/julia/usr/bin/../lib/libopenblas64_.so (unknown line)\r\nAllocations: 7954392 (Pool: 7953282; Big: 1110); GC: 12\r\n        From worker 8:       * linalg/eigen         Worker 8 terminated.\r\nERROR (unhandled task failure): EOFError: read end of file\r\n\r\nsignal (4): Illegal instruction\r\nwhile loading /share/apps/econ/acapp/git/julia/test/linalg/special.jl, in expression starting on line 120\r\ndgemm_oncopy at /share/apps/econ/acapp/git/julia/usr/bin/../lib/libopenblas64_.so (unknown line)\r\nAllocations: 6878561 (Pool: 6877145; Big: 1416); GC: 10\r\n        From worker 7:       * linalg/special       Worker 7 terminated.\r\nERROR (unhandled task failure): EOFError: read end of file\r\n\r\nsignal (4): Illegal instruction\r\nwhile loading /share/apps/econ/acapp/git/julia/test/linalg/schur.jl, in expression starting on line 19\r\nsgemm_oncopy at /share/apps/econ/acapp/git/julia/usr/bin/../lib/libopenblas64_.so (unknown line)\r\nAllocations: 10374574 (Pool: 10373418; Big: 1156); GC: 16\r\n        From worker 6:       * linalg/schur         Worker 6 terminated.\r\nERROR (unhandled task failure): EOFError: read end of file\r\n\r\nsignal (4): Illegal instruction\r\nwhile loading /share/apps/econ/acapp/git/julia/test/linalg/qr.jl, in expression starting on line 23\r\nsgemm_oncopy at /share/apps/econ/acapp/git/julia/usr/bin/../lib/libopenblas64_.so (unknown line)\r\nAllocations: 11909644 (Pool: 11908372; Big: 1272); GC: 19\r\n        From worker 3:       * linalg/qr            Worker 3 terminated.\r\nERROR (unhandled task failure): EOFError: read end of file\r\n\r\nsignal (4): Illegal instruction\r\nwhile loading /share/apps/econ/acapp/git/julia/test/linalg/triangular.jl, in expression starting on line 17\r\ndgemm_oncopy at /share/apps/econ/acapp/git/julia/usr/bin/../lib/libopenblas64_.so (unknown line)\r\nAllocations: 10104476 (Pool: 10101115; Big: 3361); GC: 16\r\n        From worker 2:       * linalg/triangular    Worker 2 terminated.\r\nERROR (unhandled task failure): EOFError: read end of file\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/249905858","html_url":"https://github.com/JuliaLang/julia/issues/18692#issuecomment-249905858","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/18692","id":249905858,"user":{"login":"floswald","id":1021558,"avatar_url":"https://avatars.githubusercontent.com/u/1021558?v=3","gravatar_id":"","url":"https://api.github.com/users/floswald","html_url":"https://github.com/floswald","followers_url":"https://api.github.com/users/floswald/followers","following_url":"https://api.github.com/users/floswald/following{/other_user}","gists_url":"https://api.github.com/users/floswald/gists{/gist_id}","starred_url":"https://api.github.com/users/floswald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floswald/subscriptions","organizations_url":"https://api.github.com/users/floswald/orgs","repos_url":"https://api.github.com/users/floswald/repos","events_url":"https://api.github.com/users/floswald/events{/privacy}","received_events_url":"https://api.github.com/users/floswald/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T15:45:05Z","updated_at":"2016-09-27T15:45:05Z","body":"This is not a virtual machine. it's a compute cluster running Centos 5.5, with Rocks cluster management. So, I was under the impression this is a memory issue? \r\nI did compile it with `make MARCH=x86-64`, after I applied the patch suggested above.\r\nI get similar errors `signal (4): Illegal instruction` if I install the current release pre-compiled binary and run `Base.runtests()`."}}
{"actor":{"display_login":"floswald"}}