{"action":"created","issue":{"url":"https://api.github.com/repos/ospray/OSPRay/issues/65","repository_url":"https://api.github.com/repos/ospray/OSPRay","labels_url":"https://api.github.com/repos/ospray/OSPRay/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/ospray/OSPRay/issues/65/comments","events_url":"https://api.github.com/repos/ospray/OSPRay/issues/65/events","html_url":"https://github.com/ospray/OSPRay/issues/65","id":164060527,"number":65,"title":"error: 'loadu' is not a member of 'embree::vint8","user":{"login":"dkoerner","id":1905404,"avatar_url":"https://avatars.githubusercontent.com/u/1905404?v=3","gravatar_id":"","url":"https://api.github.com/users/dkoerner","html_url":"https://github.com/dkoerner","followers_url":"https://api.github.com/users/dkoerner/followers","following_url":"https://api.github.com/users/dkoerner/following{/other_user}","gists_url":"https://api.github.com/users/dkoerner/gists{/gist_id}","starred_url":"https://api.github.com/users/dkoerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkoerner/subscriptions","organizations_url":"https://api.github.com/users/dkoerner/orgs","repos_url":"https://api.github.com/users/dkoerner/repos","events_url":"https://api.github.com/users/dkoerner/events{/privacy}","received_events_url":"https://api.github.com/users/dkoerner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-06T12:05:20Z","updated_at":"2016-07-06T19:18:45Z","closed_at":null,"body":"Hi,\r\n\r\nSome internal embree avx2 headers ([vint8_avx2.h](https://github.com/ospray/OSPRay/blob/master/ospray/embree-v2.7.1/common/simd/vint8_avx2.h))  seem wrong/outdated which causes build errors when `__AVX2__` is defined by the compiler. In particular the method loadu is missing (there currently appears to be a uload function). The current version of this header file in embree seems to have this fixed: [embree:vint8_avx2.h](https://github.com/embree/embree/blob/master/common/simd/vint8_avx2.h#L77)\r\n\r\nBest,\r\nDavid\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ospray/OSPRay/issues/comments/230875994","html_url":"https://github.com/ospray/OSPRay/issues/65#issuecomment-230875994","issue_url":"https://api.github.com/repos/ospray/OSPRay/issues/65","id":230875994,"user":{"login":"ingowald","id":1841589,"avatar_url":"https://avatars.githubusercontent.com/u/1841589?v=3","gravatar_id":"","url":"https://api.github.com/users/ingowald","html_url":"https://github.com/ingowald","followers_url":"https://api.github.com/users/ingowald/followers","following_url":"https://api.github.com/users/ingowald/following{/other_user}","gists_url":"https://api.github.com/users/ingowald/gists{/gist_id}","starred_url":"https://api.github.com/users/ingowald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingowald/subscriptions","organizations_url":"https://api.github.com/users/ingowald/orgs","repos_url":"https://api.github.com/users/ingowald/repos","events_url":"https://api.github.com/users/ingowald/events{/privacy}","received_events_url":"https://api.github.com/users/ingowald/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T19:18:45Z","updated_at":"2016-07-06T19:18:45Z","body":"David,\n\nFirst question: Do you by chance have a version of the intel compiler \n(and intel mpi) on that cray system? I know we are sometimes using a \ncray/aries based system at TACC, so I know it's possible to compile it \n(even including MPI); ... but using icc might be easier than dealing \nwith possibly many different versions of gcc (we could then hunt down \nthe gcc issue at our leisure, while you already have something that works.)\n\nOn a related note: would you be interested in a little offline email \nchat re what exactly you're trying to do w/ ospray? You're one of our \nfirst external users that I know of that uses a cray system, and I'd be \ncurious to learn more re what exactly you want to do, and what you're \ngetting out of it. If you're interested, my email is \ningo.wald(at)intel.com...\n\nCheers,\n\nIngo\n\n\n\n\n\n\nOn 7/6/16 11:25 AM, David Koerner wrote:\n>\n> Hi Jeff,\n>\n> short answer:\n> I use gnu compiler wrapper provided by cray on version 4.9.3. I also \n> tried 5.3 and got the same problem.\n>\n> long answer:\n> I am trying to build ospray on crayxc40 using the gnu wrapper provided \n> by cray:\n>\n>     eslogin007:~/ospr/ospray-build> /opt/cray/craype/2.5.5/bin/CC\n>     --version\n>     g++ (GCC) 4.9.3 20150626 (Cray Inc.)\n>     ...\n>\n> when forcing the native gnu compiler using CMAKE_CXX_COMPILER=g++ the \n> error disappears:\n>\n>     eslogin007:~/ospr/ospray-build> /opt/gcc/4.9.3/bin/g++ --version\n>     g++ (GCC) 4.9.3 20150626 (Cray Inc.)\n>     ...\n>\n> The reason for that is that the wrapper provided by cray actually has \n> |__AVX2__| defined while the native g++ version hasn't. This causes \n> different branches in avx.h \n> <https://github.com/ospray/OSPRay/blob/master/ospray/embree-v2.7.1/common/simd/avx.h>.\n>\n> However, I need to be able to use the cray wrapper in order to get \n> cmake detect MPI. This means that when forcing native g++ and setting \n> OSPRAY_BUILD_MPI_DEVICE=ON, cmake will not find MPI and error out. \n> Please let me know if you happen to have an answer to that...\n>\n> Best,\n> David\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub \n> <https://github.com/ospray/OSPRay/issues/65#issuecomment-230844132>, \n> or mute the thread \n> <https://github.com/notifications/unsubscribe/ABwZtVBGkd2pBDrQYNabtz1HPsb26cqcks5qS-UJgaJpZM4JGA2s>.\n>\n\n"}}
{"actor":{"display_login":"ingowald"}}