From: Joseph M. <JMc...@es...> - 2013-04-18 23:43:30
|
Hi VXL list, I am attempting to build and use VXL on a 64-bit windows 8 machine. The specs are: Windows 8 Enterprise Intel Xeon CPU E5-2643 3.30 GHz processor 16.0 GB RAM 64 bit operating system, x64-based Processor VXL build 36870 I am looking to use the BOXM2 projects to construct a probabilistic model from imagery using my GPU. The specs for my GPU are below: Found 1 GPUs PLatform number; 0 Using the following gpu device: Device Description: Device ID : 52827728 Device Name : Quadro 6000 Device Vendor: NVIDIA Corporation Device Platform: NVIDIA CUDA Device Platform Version: OpenCL 1.1 CUDA 4.2.1 Device Driver Version: 311.50 Device Type: CL_DEVICE_TYPE_GPU Number of compute units: 14 Maximum clock frequency: 1.147 GHz Total global memory: 6 GBytes Total local memory: 48 KBytes Maximum mem object size: 1.5 GBytes Maximum param size : 4.05312e-006 GBytes Device Address Bits: 32 bits Maximum work group size: 128 Maximum work item sizes: (128,128,8) Preferred short vector length: 1 Preferred float vector length: 1 image support 1 Max 2D image dim: (32768,32768) Max 3D image dim: (2048,2048,2048) Device extensions: cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing c l_nv_d3d9_sharing cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing c l_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_khr_g lobal_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32 _base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 NVIDIA Specific Device Properties: CL_DEVICE_COMPUTE_CAPABILITY_NV: 2.0 NUMBER OF MULTIPROCESSORS: 14 CL_DEVICE_REGISTERS_PER_BLOCK_NV: 32768 CL_DEVICE_WARP_SIZE_NV: 32 CL_DEVICE_GPU_OVERLAP_NV: CL_TRUE CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV: CL_TRUE CL_DEVICE_INTEGRATED_MEMORY_NV: CL_FALSE When I run the (from the pyscripts) update method boxm2_scene_adaptor.boxm2_scene_adaptor.update(camera,image), I see the following on my console window: boxm2_batch GPU update Update MBs in cache: 0 === boxm2_ocl_update_process::compiling kernels on device Quadro 600052827728 -D MOG_TYPE_8=== Compiling kernel [update::seg_len] on an NVIDIA device Compiling kernel [update::pre_inf] on an NVIDIA device Compiling kernel [update::proc_norm_image] on an NVIDIA device Compiling kernel [update::bayes_main] on an NVIDIA device Compiling kernel [update::update_main] on an NVIDIA device ERROR: boxm2_opencl_cache::lru_remove_last() : LRU is empty ERROR: lru empty. unable to alloc buffer of requested size. I looked into the error messages, and found them to be within the boxm2_opencl_cache.cxx and bstm_opencl_cache.cxx files, respectively. When checking the build from Visual Studio 2012, the error report lists several (6) projects that did not compile, all related to the BSTM project. The errors previous to 276 come from syntax errors in vnl_math.h, which could be related or could not. Does anyone have any insight on this and if it is something perhaps specific to Windows 8, VS2012, or this build number? Cheers, Joe McGlinchy Error 276 error LNK2005: "public: __cdecl bstm_time_block::bstm_time_block(class bstm_block_id,class bstm_block_metadata,unsigned int)" (??0bstm_time_block@@QEAA@Vbstm_block_id@@Vbstm_block_metadata@@I@Z<mailto:??0bstm_time_block@@QEAA@Vbstm_block_id@@Vbstm_block_metadata@@I@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 277 error LNK2005: "public: __cdecl bstm_time_block::bstm_time_block(class bstm_block_id,class bstm_block_metadata,char *,unsigned __int64)" (??0bstm_time_block@@QEAA@Vbstm_block_id@@Vbstm_block_metadata@@PEAD_K@Z<mailto:??0bstm_time_block@@QEAA@Vbstm_block_id@@Vbstm_block_metadata@@PEAD_K@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 278 error LNK2005: "public: __cdecl bstm_time_block::bstm_time_block(class bstm_block_metadata)" (??0bstm_time_block@@QEAA@Vbstm_block_metadata@@@Z<mailto:??0bstm_time_block@@QEAA@Vbstm_block_metadata@@@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 279 error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class bstm_time_block &)" (??6@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV01@AEAVbstm_time_block@@@Z<mailto:??6@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV01@AEAVbstm_time_block@@@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 280 error LNK2005: "private: long __cdecl bstm_time_block::calc_byte_count(class bstm_block_metadata &)" (?calc_byte_count@bstm_time_block@@AEAAJAEAVbstm_block_metadata@@@Z<mailto:?calc_byte_count@bstm_time_block@@AEAAJAEAVbstm_block_metadata@@@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 281 error LNK2005: "public: struct boxm2_array_1d<class vnl_vector_fixed<unsigned char,8> > __cdecl bstm_time_block::get_cell_all_tt(int)" (?get_cell_all_tt@bstm_time_block@@QEAA?AU?$boxm2_array_1d@V?$vnl_vector_fixed@E$07@@@@H@Z<mailto:?get_cell_all_tt@bstm_time_block@@QEAA?AU?$boxm2_array_1d@V?$vnl_vector_fixed@E$07@@@@H@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 282 error LNK2005: "public: class vnl_vector_fixed<unsigned char,8> & __cdecl bstm_time_block::get_cell_tt(int,double)" (?get_cell_tt@bstm_time_block@@QEAAAEAV?$vnl_vector_fixed@E$07@@HN@Z<mailto:?get_cell_tt@bstm_time_block@@QEAAAEAV?$vnl_vector_fixed@E$07@@HN@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 283 error LNK2005: "private: bool __cdecl bstm_time_block::init_empty_block(void)" (?init_empty_block@bstm_time_block@@AEAA_NXZ<mailto:?init_empty_block@bstm_time_block@@AEAA_NXZ>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 284 error LNK2005: "void __cdecl octree_num_cell_calc(class bstm_block_metadata &,long &)" (?octree_num_cell_calc@@YAXAEAVbstm_block_metadata@@AEAJ@Z<mailto:?octree_num_cell_calc@@YAXAEAVbstm_block_metadata@@AEAJ@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 285 error LNK2005: "public: void __cdecl bstm_time_block::set_cell_all_tt(int,struct boxm2_array_1d<class vnl_vector_fixed<unsigned char,8> > const &)" (?set_cell_all_tt@bstm_time_block@@QEAAXHAEBU?$boxm2_array_1d@V?$vnl_vector_fixed@E$07@@@@@Z<mailto:?set_cell_all_tt@bstm_time_block@@QEAAXHAEBU?$boxm2_array_1d@V?$vnl_vector_fixed@E$07@@@@@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 286 error LNK2005: "public: void __cdecl bstm_time_block::set_cell_tt(int,class vnl_vector_fixed<unsigned char,8> const &,double)" (?set_cell_tt@bstm_time_block@@QEAAXHAEBV?$vnl_vector_fixed@E$07@@N@Z<mailto:?set_cell_tt@bstm_time_block@@QEAAXHAEBV?$vnl_vector_fixed@E$07@@N@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 287 error LNK2005: "public: unsigned int __cdecl bstm_time_block::tree_index(double)" (?tree_index@bstm_time_block@@QEAAIN@Z<mailto:?tree_index@bstm_time_block@@QEAAIN@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 288 error LNK2005: "void __cdecl vsl_b_read(class vsl_b_istream &,class vbl_smart_ptr<class bstm_time_block> &)" (?vsl_b_read@@YAXAEAVvsl_b_istream@@AEAV?$vbl_smart_ptr@Vbstm_time_block@@@@@Z<mailto:?vsl_b_read@@YAXAEAVvsl_b_istream@@AEAV?$vbl_smart_ptr@Vbstm_time_block@@@@@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 289 error LNK2005: "void __cdecl vsl_b_read(class vsl_b_istream &,class vbl_smart_ptr<class bstm_time_block> const &)" (?vsl_b_read@@YAXAEAVvsl_b_istream@@AEBV?$vbl_smart_ptr@Vbstm_time_block@@@@@Z<mailto:?vsl_b_read@@YAXAEAVvsl_b_istream@@AEBV?$vbl_smart_ptr@Vbstm_time_block@@@@@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 290 error LNK2005: "void __cdecl vsl_b_write(class vsl_b_ostream &,class vbl_smart_ptr<class bstm_time_block> const &)" (?vsl_b_write@@YAXAEAVvsl_b_ostream@@AEBV?$vbl_smart_ptr@Vbstm_time_block@@@@@Z<mailto:?vsl_b_write@@YAXAEAVvsl_b_ostream@@AEBV?$vbl_smart_ptr@Vbstm_time_block@@@@@Z>) already defined in bstm.lib(bstm_time_block.obj) C:\VXLCode\bin\contrib\brl\bseg\bstm_batch\bstm.lib(bstm_data_base.obj) Error 291 error LNK1169: one or more multiply defined symbols found C:\VXLCode\bin\lib\Release\bstm_batch.pyd |