{"action":"created","issue":{"url":"https://api.github.com/repos/Atizar/RapidCFD-dev/issues/34","repository_url":"https://api.github.com/repos/Atizar/RapidCFD-dev","labels_url":"https://api.github.com/repos/Atizar/RapidCFD-dev/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Atizar/RapidCFD-dev/issues/34/comments","events_url":"https://api.github.com/repos/Atizar/RapidCFD-dev/issues/34/events","html_url":"https://github.com/Atizar/RapidCFD-dev/issues/34","id":256768645,"number":34,"title":"Compilation error Ubuntu 16.04","user":{"login":"Samos2b","id":20857808,"avatar_url":"https://avatars3.githubusercontent.com/u/20857808?v=4","gravatar_id":"","url":"https://api.github.com/users/Samos2b","html_url":"https://github.com/Samos2b","followers_url":"https://api.github.com/users/Samos2b/followers","following_url":"https://api.github.com/users/Samos2b/following{/other_user}","gists_url":"https://api.github.com/users/Samos2b/gists{/gist_id}","starred_url":"https://api.github.com/users/Samos2b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samos2b/subscriptions","organizations_url":"https://api.github.com/users/Samos2b/orgs","repos_url":"https://api.github.com/users/Samos2b/repos","events_url":"https://api.github.com/users/Samos2b/events{/privacy}","received_events_url":"https://api.github.com/users/Samos2b/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-09-11T16:41:00Z","updated_at":"2018-04-07T15:04:27Z","closed_at":null,"author_association":"NONE","body":"Hello everyone,\r\n\r\nI would like to compile RCFD on Ubuntu 16.04 with CUDA 8.0 and gcc 5.4.0 but I'm facing the following error when running ./Allwmake :\r\n\r\n/usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:\r\n/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope\r\n   return (char *) memcpy (__dest, __src, __n) + __n;\r\n\r\nDoes anyone was facing this error before?\r\n\r\nRegards.\r\n\r\nAnthony."},"comment":{"url":"https://api.github.com/repos/Atizar/RapidCFD-dev/issues/comments/379475828","html_url":"https://github.com/Atizar/RapidCFD-dev/issues/34#issuecomment-379475828","issue_url":"https://api.github.com/repos/Atizar/RapidCFD-dev/issues/34","id":379475828,"user":{"login":"Samos2b","id":20857808,"avatar_url":"https://avatars3.githubusercontent.com/u/20857808?v=4","gravatar_id":"","url":"https://api.github.com/users/Samos2b","html_url":"https://github.com/Samos2b","followers_url":"https://api.github.com/users/Samos2b/followers","following_url":"https://api.github.com/users/Samos2b/following{/other_user}","gists_url":"https://api.github.com/users/Samos2b/gists{/gist_id}","starred_url":"https://api.github.com/users/Samos2b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samos2b/subscriptions","organizations_url":"https://api.github.com/users/Samos2b/orgs","repos_url":"https://api.github.com/users/Samos2b/repos","events_url":"https://api.github.com/users/Samos2b/events{/privacy}","received_events_url":"https://api.github.com/users/Samos2b/received_events","type":"User","site_admin":false},"created_at":"2018-04-07T15:04:27Z","updated_at":"2018-04-07T15:04:27Z","author_association":"NONE","body":"I tried to run cuda-memcheck on icoFoam solver to look in what file the problem appear. \r\n\r\nHere the first result the program returns :\r\n========= Invalid __global__ read of size 8\r\n=========     at 0x00000308 in /usr/local/cuda-8.0/bin/../targets/x86_64-linux/include/sm_32_intrinsics.hpp:137:void thrust::system::cuda::detail::bulk_::detail::launch_by_value<unsigned int=0, thrust::system::cuda::detail::bulk_::detail::cuda_task<thrust::system::cuda::detail::bulk_::parallel_group<thrust::system::cuda::detail::bulk_::concurrent_group<thrust::system::cuda::detail::bulk_::agent<unsigned long=1>, unsigned long=0>, unsigned long=0>, thrust::system::cuda::detail::bulk_::detail::closure<thrust::system::cuda::detail::for_each_n_detail::for_each_kernel, thrust::tuple<thrust::system::cuda::detail::bulk_::detail::cursor<unsigned int=0>, thrust::zip_iterator<thrust::tuple<thrust::counting_iterator<int, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::detail::normal_iterator<thrust::device_ptr<double>>, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>>, thrust::detail::wrapped_function<thrust::detail::unary_\r\n=========     by thread (398,0,0) in block (0,0,0)\r\n=========     Address 0x00000c78 is out of bounds\r\n=========     Saved host backtrace up to driver entry point at kernel launch time\r\n=========     Host Frame:/usr/lib/x86_64-linux-gnu/libcuda.so.1 (cuLaunchKernel + 0x2cd) [0x23ce3d]\r\n=========     Host Frame:/usr/local/cuda-8.0/lib64/libcudart.so.8.0 [0xd23d]\r\n=========     Host Frame:/usr/local/cuda-8.0/lib64/libcudart.so.8.0 (cudaLaunch + 0x143) [0x33783]\r\n=========     Host Frame:/opt/RapidCFD/RapidCFD-dev/platforms/linux64NvccDPOpt/lib/libOpenFOAM.so (_ZN6thrust6system4cuda6detail5bulk_6detail13cuda_launcherINS3_14parallel_groupINS3_16concurrent_groupINS3_5agentILm1EEELm0EEELm0EEENS4_7closureINS2_17for_each_n_detail15for_each_kernelENS_5tupleINS4_6cursorILj0EEENS_12zip_iteratorINSF_INS_17counting_iteratorIiNS_11use_defaultESK_SK_EENS_6detail15normal_iteratorINS_10device_ptrIdEEEENS_9null_typeESR_SR_SR_SR_SR_SR_SR_EEEENSM_16wrapped_functionINSM_23unary_transform_functorIN4Foam21matrixMultiplyFunctorILb1ELi3EEEEEvEEjSR_SR_SR_SR_SR_SR_EEEEE6launchESB_S12_P11CUstream_st + 0x4e8) [0x56a678]\r\n=========     Host Frame:/opt/RapidCFD/RapidCFD-dev/platforms/linux64NvccDPOpt/lib/libOpenFOAM.so (_ZN4Foam12callMultiplyILb1EEEvRNS_8gpuFieldIdEERKS2_RKNS_7gpuListIiEES9_S9_S9_S9_S5_S5_S5_ + 0x5ad) [0x56b18d]\r\n=========     Host Frame:/opt/RapidCFD/RapidCFD-dev/platforms/linux64NvccDPOpt/lib/libOpenFOAM.so (_ZNK4Foam9lduMatrix4AmulERNS_8gpuFieldIdEERKNS_3tmpIS2_EERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEh + 0x13c) [0x560fec]\r\n=========     Host Frame:/opt/RapidCFD/RapidCFD-dev/platforms/linux64NvccDPOpt/lib/libOpenFOAM.so (_ZNK4Foam5PBiCG5solveERNS_8gpuFieldIdEERKS2_h + 0x3f2) [0x580522]\r\n=========     Host Frame:icoFoam [0x904e8]\r\n=========     Host Frame:icoFoam [0xa67f1]\r\n=========     Host Frame:icoFoam [0xa6a6b]\r\n=========     Host Frame:icoFoam [0x41122]\r\n=========     Host Frame:/lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main + 0xf0) [0x20830]\r\n=========     Host Frame:icoFoam [0x440b9]\r\n\r\nI know it's difficult to read but I found something weird that maybe can help.\r\n\r\nI'm really not an expert in general programing or CUDA, sorry for that.\r\n\r\nRegards."}}
{"actor":{"display_login":"Samos2b"}}